Results 1 to 4 of 4
Thread: Upgrading broke my project
- 03-17-2012, 06:37 PM #1
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!
- 03-17-2012, 07:35 PM #2
Re: Upgrading broke my project
Moved from New to Java
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 03-17-2012, 07:42 PM #3
Re: Upgrading broke my project
Check your project settings in respect of Sources and Build -> Packaging
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 03-17-2012, 08:42 PM #4
Re: Upgrading broke my project
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 09:33 PM.
Similar Threads
-
Blank window for the application ( after upgrading to java 1.6 )
By frintocf in forum New To JavaReplies: 1Last Post: 02-15-2012, 12:57 PM -
I broke my Java installation
By JohnPringle83 in forum New To JavaReplies: 2Last Post: 05-15-2011, 06:04 PM -
Problem in Upgrading the RFT version 8.1.1
By anandarora in forum EclipseReplies: 0Last Post: 07-26-2010, 10:16 PM -
upgrading each java upgrade?
By j2me64 in forum Forum LobbyReplies: 2Last Post: 02-27-2010, 02:38 PM -
Think I broke Eclipse trying to switch Java versions
By zacf in forum EclipseReplies: 4Last Post: 01-01-2009, 04:21 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks