Assignment Help - Again looking for clarification only

Hi All,
I'm again having some trouble with the second half of an assignment. I had it all working on my computer and it was working without any problems.
Now when I upload to the CSE servers and test I get some some weird errors that I cant track down.
Basically this assignment was to implement a tiny bank system with the ability to deposit, withdraw and transfer. These transactions were read from a file and processed concurrently.
I am having serious issues where it seems like threads just disappear and the stack trace never seems to go all the way down. Instead always throwing a java.lang.NullPointerException in different random Threads about halfway down where I would expect it.
Does anyone have any suggestions to what may be causing it??
As it is an assignment I cannot really post any code but any help would be greatly appreciated.
Cheers,
Chris

Does anyone have any suggestions to what may be causing it??There is only one reason for a null pointer exception - something is null.
The stack trace will tell you the exact line that the null pointer is showing up on.
As a wild guess you are using threading a sychronization and expecting something to occur or not occur without considering how threads actually run.

Similar Messages

  • I'm looking for an only WEBDB Forum.

    hi,
    I'm looking for an only oracle WEBDB Forum.
    Can anyone give me the http url ???
    Thanks
    null

    Bart (guest) wrote:
    : hi,
    : I'm looking for an only oracle WEBDB Forum.
    : Can anyone give me the http url ???
    : Thanks
    As soon as you get the url, please send it to me !!
    thanks in advance !
    Alessandro.
    null

  • Looking for OD only binding script

    Hello everyone,
    after several weeks of trying different solutions we are stuck with trusted binding / OD binding in Deploy Studio.
    We've added several workstations to our computers and they are renamed by a script this works fine.
    The problem is that we have to add those workstations to our Open Directory and then add those workstations via OD to several groups.
    The workstation is binded but it doesn't bind correctly.
    We can see the OD server in the "Users and Groups" as "connected". But it's only bound locally (can only be seen on the workstation)
    But it's not binded as we want it to be.
    Our goal is that the workstation needs access to the directory (System Preferences -> Accounts -> Login Options -> Network Account Server -> Open Directory Access… --> LDAPv3 ...)
    And then we have to use "Edit..."-> "bind" .After that the workstation is added to our OD and we can see it in our workgroup manager and add this workstation to the group.
    Is it possible to solve this issue with Deploy Studio?
    We've already tried to use "Enable trusted binding" but after imaging a workstation there is only the ouput "An error occured while trying to establish a trusted binding with the server "xxxxx",new attempt in 10 seconds..." and "Invalid credentials supplied for binding to the server"  in the finalize script and the workstation has to be bound to the OD manually.
    But the credentials are 100% correct.We are using the login of your OD-administrator account for the trusted binding.
    We've also tried to activate trusted binding without any login information in the fields for "Directory Admin", after that there is no error but the workstation has to be bound manually again.
    It would be great if there is anybody who has the same issue and maybe solved it or has any idea what to do here.
    Sorry if the english description for several "buttons" aren't exactly,we are using a german version of MAC OS X (10.8.2). I hope everything is easy to understand.
    Just tell me if you need any additional information about things.
    DPS Version: 1.0 RC 135 (121112)
    Kind regards
    This is my post in the official DPS forums but there wasn't any reply except one that we could use an own OD binding script.
    Is there anybody who has a working script?I found one but it has AD inside and I don't know if it's that easy to delete the AD parts from this script.
    It would be great if there is someone who could help with this issue.
    Kind regards

    We're still looking for a solution for this issue as it still doesn't work.
    We also tried to solve it with this script but it didn't work either:
    #!/bin/bash
    computerid=`scutil –get ComputerName`
    dsconfigldap -v -f -a OD_SERVER -n OD_SERVER -c $computerid -u ADMIN_USERNAME -p ‘ADMIN_PASSWORD’
    sleep 10
    dscl /Search -create / SearchPolicy CSPSearchPath
    dscl /Search -append / CSPSearchPath /LDAPv3/OD_SERVER
    sleep 10
    dscl /Search/Contacts -create / SearchPolicy CSPSearchPath
    dscl /Search/Contacts -append / CSPSearchPath /LDAPv3/OD_SERVEROD_SERVER= FQDN of our OpenDirectory
    ADMIN_USERNAME= account used for binding computers manually
    ADMIN_PASSWORD= password for ADMIN_USERNAME
    It would be great if there is somebody who could help us with this issue.
    Kind regards

  • Please help! Looking for script to insert current date on page.

    I currently use a Dreamweaver Extension that lets you insert
    current date and time on your web page.
    The problem is, I don't know Javascript and cannot edit the
    Javascript codes to "remove the time"
    I only need the current date that will change every day.
    Do you know where I can get this script, I goggled and got
    several but I'm looking for something authentic.
    Also is it possible to have your page validate when you use
    Javascript embedded in your HTML?
    Thanks everyone,
    Patrick

    quote:
    Originally posted by:
    Newsgroup User
    Webethics wrote:
    > The problem is, I don't know Javascript and cannot edit
    the Javascript codes
    > to "remove the time"
    > I only need the current date that will change every day.
    JavaScript generates the date by using the clock on the
    computer of each
    visitor to your site. If a visitor's clock has the wrong
    date, your site
    will also display the wrong date.
    > Do you know where I can get this script, I goggled and
    got several but I'm
    > looking for something authentic.
    I don't know what you mean by "authentic". Date generation in
    JavaScript
    is one of the most basic features of the language, so if it
    works, it's
    "authentic".
    > Also is it possible to have your page validate when you
    use Javascript
    > embedded in your HTML?
    Yes, but you shouldn't embed JavaScript in XHTML.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/
    So mr. Powers are there people that use Javascript Date in
    their page?
    Would you recommend it?
    I could use PHP but I don't know PHP,
    How do I come up with the string in this format, say,
    Wednesday, October 29th, 2008 that will change to a new day
    according to the server time and date.
    Thanks so much for your help and I have two of your books! I
    will be taking PHP classes in December.
    Patrick

  • Mail help! Looking for an additional Mail App for Exchange!

    I have been desperately looking for an additional (not the built in) app so I can read my corporate email on my iphone. Does anyone know of such an app?
    Thanks...

    With the general Mailbox I got 4 mailboxes. 3 that I always have to be alerted when mail comes in, the general one I have to check in only once in a while. I always have all mailboxes open, however if I have the darn general mailbox in there i loose control over what's important. So I use safari right now for that busy mailbox which is cumbersome.
    I just wanted a separate mailbox that doesn't alert me every 2 minutes of incoming mail, yet easy enough to check what's in it when I need it.
    I'll give ibismail a try. Thanks.

  • In Need of Serious Help. Looking for Trial Versions of Dreamweaver CS3

    Hello there,
    What I thought was going to be super easy is turning into a
    HUGE problem. I'm currently taking a Web Design course and we are
    using Dreamweaver CS3. I have two assignments due on Wednesday. To
    make a long story short, I'm desepartely looking for a 30 day trial
    os Dreamweaver CS3 but I can't find one. Apparently Dreamweaver CS4
    is coming out soon. Any ideas? I'm in a pickle.
    Thank you!
    Aly

    And then spend a week using malware removers to remove
    everything that you
    unwittingly installed when you installed the 'dodgy copy'? No
    thanks. And
    what about the zombies that malware removers don't find? NO
    THANKS.
    Go to the bookstore, and find a DW CS3 book that contains a
    demo on the CD
    included. At least then you won't be loading your computer
    with bad actors.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Dooza" <[email protected]> wrote in message
    news:gd1jvt$1k$[email protected]..
    > AlyCat25 wrote:
    >> Hello there,
    >> What I thought was going to be super easy is turning
    into a HUGE
    >> problem. I'm currently taking a Web Design course
    and we are using
    >> Dreamweaver CS3. I have two assignments due on
    Wednesday. To make a long
    >> story short, I'm desepartely looking for a 30 day
    trial os Dreamweaver
    >> CS3 but I can't find one. Apparently Dreamweaver CS4
    is coming out soon.
    >> Any ideas? I'm in a pickle.
    >
    > Hi Aly,
    > The CS4 trial will be out approx. 2 weeks after CS4
    ships, which is due
    > end of October. This means you are looking at mid
    November before the new
    > Trial is available. This does put you in a pickle. My
    only suggestion, as
    > daft as it may seem, would be to try to find a dodgy
    copy somewhere on the
    > internet. I don't know where this would be, sorry.
    >
    > Dooza
    >
    > --
    > Posting Guidelines
    >
    http://www.adobe.com/support/forums/guidelines.html
    > How To Ask Smart Questions
    >
    http://www.catb.org/esr/faqs/smart-questions.html

  • Regex question - looking for numbers only

    I'm getting a bit stuck with a simple regular expression.
    I want to find the records that consist of numbers only. From the example below, I'm looking for just the first record, which has '1234'.
    I tried looking for digits, but not alphabetic, but that doesn't work.
    Any ideas?
    Thanks.
    drop table test_regex;
    create table test_regex as (
    select '1234' col1 from dual
    union all
    select 'abcde' col1 from dual
    union all
    select 'a1b3c3' col1 from dual
    union all
    select '123c3' col1 from dual
    union all
    select 'a_*1' col1 from dual
    union all
    select '  9  ' col1 from dual
    union all
    select '    ' col1 from dual
    select *
    from test_regex
    where REGEXP_LIKE(col1, '[[:digit:]][^[:alpha:]]')
    /

    Something like this?
    WITH t AS (SELECT '1234' col1
                 FROM DUAL
                UNION ALL
               SELECT 'abcde' col1
                 FROM DUAL
                UNION ALL
               SELECT 'a1b3c3' col1
                 FROM DUAL
                UNION ALL
               SELECT '123c3' col1
                 FROM DUAL
                UNION ALL
               SELECT 'a_*1' col1
                 FROM DUAL
                UNION ALL
               SELECT '  9  ' col1
                 FROM DUAL
                UNION ALL
               SELECT '    ' col1
                 FROM DUAL)
    SELECT t.col1
      FROM t
    WHERE REGEXP_LIKE(t.col1, '^[[:digit:]]+$')
    ;You may want to take a look at something I wrote in this forum: Introduction to regular expressions ....
    C.
    Message was edited by:
    cd

  • Looking for online only classroom for my child.  What do you have?

      My child has processing disorders, and responds easier to computer  "class" time. I am looking for a way to participate via home study links with real time class room participation. Does any one have an idea how to find this elusive on-line class?     wolfgirluno.

    Read further. Apps, music and videos don't count towards the 5 gig. You can also choose just what is backed up. Also not all document programs work with I cloud.
    I have a 32 gig Touch and it's backup is 500 megs. Most of that is being taken up by photos and videos stored in my photo library.

  • Help Im looking for a laptop that will run these specs

    I am looking for a laptop to run AT LEAST the following OS: Windows XP SP2/ Windows Vista/Windows 7 (32 or 64-bit) CPU: Intel dual-core 1.8 GHz or AMD Athlon X2 + 3800 Memory: 1GB RAM or Better Video:ATI Radeon X1800 or NVIDIA GeForce 7950 or better Sound: DirectX 9.0c Compatible Soundcard DirectX: Version 9.0c or Higher HDD: 5GB Free Disk Space Network: Broadband Required I have a sattelite now and have had no probs with it. I just need an upgrade can you tell me what you have that fits into these parametors?

    Toshiba is NOT supplying XP drivers for any of it's laptops that ship with WIndows 7 so if XP is important to you then you'll need to look at some other manufacturer that does supply them or pick a Toshiba that comes with Vista and look on the Product Support Link at the top of this page to verify that it has XP drivers available for it. 
    If you don't post your COMPLETE model number it's very difficult to assist you. Please try to post in complete sentences with punctuation, capitals, and correct spelling. Toshiba does NOT provide any direct support in these forums. All support is User to User in their spare time.

  • Help! Looking for an iPad app that allows for efficiently filling in PDF forms we create. Know of any?

    I created a quote form for our sales guys to use in the field and we would like them to be able to have the capability to fill it in on their ipads. Is there an app that will let us do the following:
    Fill in a pripriotary form
    Click to next field
    Force character limits so the text does wrap and print poorly
    Edit text after moving on to another field
    Printable
    Send by email
    If an app like this doesn't existion, how much would it cost to commisison someone to create it?
    Any help would be appreciated.
    Thanks.

    Ah. I'm surprised, but there we go.
    Have a look here ...
    http://jam.hitsquad.com/vocal/about2136.html
    (courtesy of googling 'OSX free multitrack recording software')
    Didn't have time to do more than skim, but 'Ardour' looked promising. Protools is the only one I've used, the full product is one of the industry standards, but the free 'lite' version listed here seems to be limited to 2 in/out as well.
    Referring to your original post, I'd think trying to write or 'script' something would be a nightmare ... synchronisation of streams within something like Applescript would be a major issue, quite apart from anything else.
    G5 Dual 2.7, MacMini, iMac 700; P4/XP Desk & Lap.   Mac OS X (10.4.8)   mLan:01x/i88x; DP 5.1, Cubase SX3, NI Komplete, Melodyne.

  • Thanks for helping me look for an answer. HD Codec for Quick Time?

    Thanks everybody who sent me ideas on how to play a .mov Quick Time Movie Codec HDV 720p50, 1280x720. It's for playing on TV, as well as Mac and PC. Someone suggested H264, but I thought this is for the Internet, not for HD quality 1280x720?
    Could it be that the Mac and PC people who can't play it don't have a strong enough video card in their computer? I'm looking at various answers.
    I appreciate any help gratefully.
    PS: I didn't see Helpful above the window, only Yes question answered and No.

    if you can't play an HDV file on your computer, it most likely means you don't have the HDV codec on your computer.
    It's a free download - google it and you can find it. You will have to drop the codec into your Quicktime library - it's all explained in the download. I've installed it for several people and it solves that problem right away.
    pJ

  • Threaded Sudoku solver - Assignment question (NOT LOOKING FOR ANSWERS  )

    Hi All,
    I'm going to be upfront and point out this is an assignment that i'm currently working on and i'm not receiving much in the way of feedback from the class forums.
    This is currently a 4th year OO assignment for UNSW Australia.
    What I am having trouble doing is figuring out where my program is deadlocking or dying. There have been a number of requirements set out by the assignment, basically no synchronization, no locking. We are able to use volatile, atomic, immutable and thread-local objects. The task is to find all solution for a given N x N sudoku problem using X number of threads. I have successfully built the solver (X = 0) without too much trouble and I thought i had managed to modify the recursive algorithm to suit but unfortunately I think I have come unstuck.
    Any generalized tips would be appreciated when implementing threads that utilise checking flags to determine when the thread is finished processing.
    Kind Regards,
    Chris Gibbs

    Honestly, I think that recursion (as you stated) would be the easiest way to have solved this problem. But as you stated, threads must be used to solve this problem as a requirement of the project...
    You could easily launch a Thread each time instead of calling your recursive method... that could possibly result in a crap load of threads, but the idea would work.
    Definitely take a look at the SwingWorker class here if you're able to use J2SE 6: [http://java.sun.com/javase/6/docs/api/javax/swing/SwingWorker.html|http://java.sun.com/javase/6/docs/api/javax/swing/SwingWorker.html]
    I currently use it while gathering data from several websites at the same time. What I did was create and execute() X number of MySwingWorker objects to collect the data, while they are not complete (i.e. MySwingWorker.isDone() is false) I just Thread.sleep(...).
    Give it a try. It may suit your needs.

  • Help!  looking for internet camera compatible with Mac

    I need help! I purchased a Mac recently and so far I am very happy with it. However, we just had a baby and I'd like to see and hear my baby from my computer at work. At work we use PCs and at home we havea iBook G4. I bought a D-link wireless G internet camera, the DCS-950G, but I could not install it because it requires you to have a PC for initial installation. I've looked around the web but I've been unable to find an internet camera that works with the Mac. I am desperate and frustrated! Does aynone know of an wireless internet camera that works with the Mac? I'd greatly appreciate any help you can provide. Thanks.

    Hello B Real Brad
    You do not say which DV camcorder you have. The exact answers to your questions depend upon your camcorder's features and user guide instructions. If you experience problems when you try your camcorder, check your camcorder's users guide instructions. That having been said, here are the answers to your posted questions:> Do I need to have a firewire cable to successfully use it through iChat ...
    Firewire will be easiest. If you have a Firewire cable to download your DV Video to iMovie, that one will work fine.
    ... or can I use the normal usb cable?
    Depending upon your camcorder, that may work with additional software and or hardware, but, if your camcorder offers it, Firewire will me much easier.
    .. is the quality ... better using a DV camcorder ... ?
    Usually. This depends on which camcorder you compare with which webcam.
    Some people like the image quality of their camcorders better. See John Kennedy's "Cameras and Image Quality", the Sat - October 30, 2004, blog for a comparison. (John's is a very high quality camcorder.)
    See this link for my reasons for using a webcam when I do not need portability or highest possible quality. Some of the reasons may be of interest to you.For specifics on how to get going, see my recent response to Tony Keogh. Although Tony asks specifically about a particular Sony model, the specific suggestions I made there should apply to your camcorder, too.
    If the above do not get you going, I suggest that you start your own topic and give as many specifics as possible about your system, your problem, and what you have already tried. Your questions deserve the individual attention they will get in a separate topic.
    Here are a couple of other suggestions for your consideration:
    (1) I see from your other posts that you use Miglia TVMini. Be aware that some AV devices and third-party items can cause possible hardware or software conflicts with iChat.
    (2) Also, your system info shows that you are using 10.4.4. I suggest that you update to the latest available version of Tiger using the following method:- Repair permissions.
    - Then download and apply the Mac OS X 10.4.9 Combo Update (PPC).
    - Finish with another Permissions Repair.The latest Combo Update offers several additions and improvements over the older versions.
    Cheers,
    Jim
      Mac OS X (10.4.9)    G5 DP 1.8  External iSight

  • Font Issues, Looking for clarification

    Good Morning,
    I am trying to insert pages into a manual. The pages I am inserting are CAD drawings that were created with AutoCAD Civil 3D and printed to pdf.
    1) Drawing #1.pdf
    2) Drawing #2.pdf
    Sometimes when I add the drawings to a new pdf using the insert command, the fonts mess up and show little squares instead of a random letter, such as f or ".
    There are about 100 drawings to insert. Can anyone explain what is going on here? Or some settings to check? I thought PDF was supposed to be portable document format.
    I have tried a few things such as:
    #1 Embed font, #2 Non-embedded font, this makes squares.
    #1 Embed font, #2 Embed font, this does not make squares. (Font is the same, ArialMT)

    I was hoping to avoid having to reprint all the drawings, in the future I'm going to embed fonts in anything I do to prevent this from happening again. It is frustrating as you will be inserting drawings (from other users) and everything looks good. Then when you insert the 99th drawing, it messes up 30% of the previous drawings fonts.
    Anyway thanks for the input.
    -JK

  • Looking for clarification

    I am relatively new to the Mac environment. Thanks to many if you, I have completed my first FCEHD Project.
    I have a question about HandBrake and Streamclip. I hear these programs mentioned and am curious what they are, or in what instances would they be used? I know Handbrake is for ripping DVD, and Streamclip is for conversion? I have MactheRipper, is there a major difference between Handbrake and MTR?
    Any clarification would be helpful.

    You can use HandBrake to turn DVD files into mpeg4 that you can put straight into iMovie and possibly FCE. If it won't go straight into FCE, put it in iMovie and then export to FCE.
    mpeg4 files are possibly not as high quality as mpeg2.
    mpeg2 files can be produced by Streamclip and ffmpegX.
    However if you want to use Streamclip you will have to buy an item whose name I can't remember but costs around £15 ($20+).
    ffmpegX is complete. It is Shareware so you can test it out free of charge but if you intend to use it frequently they would like you to register it for around $15.
    I suggest you experiment with HandBrake first as it is the easiest to use and is completely free.
    A similar program is OpenShiiva which is very good and equally simple to use:-
    http://openshiiva.sourceforge.net/
    Hope this is of some use.
    Ian.
    PS If I remember correctly, the mpeg4s from HandBrake and OpenShiiva take a very long time to render in FCE before you can use them. I think they are a lot quicker in iMovie.

Maybe you are looking for