Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2011
    Location
    Florida
    Posts
    60
    Rep Power
    0

    Default Upgrading broke my project

    The problem, in a nut shell, is that I can run my project from within the netbeans 6.9.1 under OS X 10.7.3 (Lion) but not directly from the java file in the dist directory. When I try, I get null pointer errors on all my images I try to load. This project is several months old and I have not touched it in several month. The last time I worked on it, it was fine. Since then, I have upgraded my OS from Snow Leopard to Lion and upgraded my netbeans ide. I have not made any changes to the code. Just rebuilt and tried to run. As I said, it runs fine from within the IDE but I get null pointer errors on all the image files I tried to load when I try to run directly from the dist folder.
    Help!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: Upgrading broke my project

    Moved from New to Java

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: Upgrading broke my project

    Check your project settings in respect of Sources and Build -> Packaging

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    Join Date
    Feb 2011
    Location
    Florida
    Posts
    60
    Rep Power
    0

    Default Re: Upgrading broke my project

    Quote Originally Posted by DarrylBurke View Post
    Check your project settings in respect of Sources and Build -> Packaging

    db
    That hasn't changed in months. All my images are under src/images so for category Sources I have:
    src Source Packages
    src/images src/images

    And under Build->Packaging I have:
    JAR File: dist/LogicAssistant.jar
    Exclude From JAR File: **/*.jar,**/*.form

    I'm out of ideas.
    Last edited by madroadbiker; 03-17-2012 at 10:33 PM.

Similar Threads

  1. Replies: 1
    Last Post: 02-15-2012, 01:57 PM
  2. I broke my Java installation
    By JohnPringle83 in forum New To Java
    Replies: 2
    Last Post: 05-15-2011, 07:04 PM
  3. Problem in Upgrading the RFT version 8.1.1
    By anandarora in forum Eclipse
    Replies: 0
    Last Post: 07-26-2010, 11:16 PM
  4. upgrading each java upgrade?
    By j2me64 in forum Forum Lobby
    Replies: 2
    Last Post: 02-27-2010, 03:38 PM
  5. Replies: 4
    Last Post: 01-01-2009, 05:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •