Re: Strange Exception Continues
Re: Strange Exception Continues
- Subject: Re: Strange Exception Continues
- From: Art Isbell <email@hidden>
- Date: Sat, 19 Mar 2005 11:34:04 -1000
On Mar 19, 2005, at 4:41 AM, Andrew Kinnie wrote:
About a week ago, I sent an email to the list about a completely useless exception I have been getting:
Application:
MyApp
Error:
java.lang.NullPointerException
Reason:
Stack trace:
File
Line#
Method
Package
NA : Non applicable, JIT activated
This gives me virtually no information, and I have no idea what to do about it.
A similar exception was thrown this week in an app I am developing when I ran the app from within Xcode. When I then ran the same executable under the Java debugger from Xcode, I got a backtrace that led me to the problem which was a message to a null receiver in my code.
I did add a column to one of the tables in the EOModel, and I reflected this on the deployment machine by adding a column directly on the database, and filling it in appropriately. (The development tools are not on the deployment machine) This new column affects one of the other components, which works (in addition to the one that doesn't.
Hopefully, you also added appropriate setter/getter methods to the Java class associated with the entity with the new column and rebuilt the project.
Basically, the site is now useless, and I am being left with the possibility of again having to consider other application platforms, because I can't get this to work, or a complete reinstall of the OS, the database, WebObjects, etc.
I would be surprised if something this drastic is required.
If you are unable to reproduce this problem on your development system, maybe you could install the development version on your deployment system and attach a debugger to the running deployed process in hopes of trapping the exception and producing a backtrace. I've never done this, but I think you'll need to add a launch argument to allow attachment by a debugger. I'm sure someone in this forum knows the details.
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden