Re: createPrototypeCache NullPointerException

2013-08-01 Thread Henrique Prange
Hi Martin, Looks like your REST initialization is occurring before EOF is completely initialized. Some things to check: 1) Does your Application constructor call super()? (I remember we talked about this at WOWODC) 2) Does your application manipulate EOF in the main method or before the REST

RE: createPrototypeCache NullPointerException

2013-07-30 Thread Martin B
don't need and see if it changes anything. Martin Subject: Re: createPrototypeCache NullPointerException From: lists.fab...@e-lumo.com Date: Mon, 29 Jul 2013 22:00:55 +0200 CC: syrinx2...@msn.com To: webobjects-dev@lists.apple.com Hi Martin, Have you compared the classpath files of the ant

NullPointerException while using ERPersistentSessionStorage

2013-07-29 Thread Christoph Wick
Hi List, I was trying to use ERPersistentSessionStorage (looks otherwise very promising, thx Ramsey). I'm getting a silly NullPointerException (stacktrace below) in an application that was working perfectly before without using ERPersistantSessionStorage. I have no idea how to debug

Re: NullPointerException while using ERPersistentSessionStorage

2013-07-29 Thread Ramsey Gurley
NullPointerException (stacktrace below) in an application that was working perfectly before without using ERPersistantSessionStorage. I have no idea how to debug this to get more information. The problem may come from storing an EO object called PMSUser in the session (basically a user object with name

Re: NullPointerException while using ERPersistentSessionStorage

2013-07-29 Thread Christoph Wick
www.i4innovation.de Geschäftsführer: Thomas Heep, Christoph Wick Sitz der Gesellschaft: Bonn | Amtsgericht Bonn HRB 18548 | USt-IdNr.: DE276502600 Jul 29 20:06:16 PMS[65432] WARN er.persistentsessionstorage.model.ERSessionInfo - Failed to deserialize session NullPointerException

createPrototypeCache NullPointerException

2013-07-29 Thread Martin B
Hi everybody, I have a few Wonder applications that were deployed with Maven recently which seem to be crashing randomly. Some are of these applications are completely new, but others have been running for years (deployed with ANT) without such problem. The stacktrace looks like this: 21951

Re: createPrototypeCache NullPointerException

2013-07-29 Thread Fabian Peters
Hi Martin, Have you compared the classpath files of the ant- vs maven-built apps? If you're deploying on unix: YourApp.woa/Contents/UNIX/UNIXClassPath.txt Fabian Am 29.07.2013 um 21:20 schrieb Martin B: Hi everybody, I have a few Wonder applications that were deployed with Maven recently

NullPointerException on non-null attribute

2012-11-14 Thread Maik Musall
Hi, occasionally I get a NullPointerException on an attribute of a fetched EO that is * set to not nullable in EOModel * guarded to be not null by a NOT NULL constraint in the database * and actually has a value there. This happens with both simple values like BigDecimals, as well

Re: NullPointerException on non-null attribute

2012-11-14 Thread Jesse Tayler
you got some backtrace on that funky action? On Nov 14, 2012, at 10:54 AM, Maik Musall m...@selbstdenker.ag wrote: Hi, occasionally I get a NullPointerException on an attribute of a fetched EO that is * set to not nullable in EOModel * guarded to be not null by a NOT NULL constraint

Re: NullPointerException on non-null attribute

2012-11-14 Thread Ramsey Gurley
On Nov 14, 2012, at 8:54 AM, Maik Musall wrote: Hi, occasionally I get a NullPointerException on an attribute of a fetched EO that is * set to not nullable in EOModel * guarded to be not null by a NOT NULL constraint in the database * and actually has a value there. This happens

Re: NullPointerException on non-null attribute

2012-11-14 Thread Chuck Hill
I get a NullPointerException on an attribute of a fetched EO that is * set to not nullable in EOModel * guarded to be not null by a NOT NULL constraint in the database * and actually has a value there. This happens with both simple values like BigDecimals, as well as with relationships

Re: NullPointerException on non-null attribute

2012-11-14 Thread Maik Musall
Am 14.11.2012 um 17:57 schrieb Jesse Tayler jtay...@oeinc.com: you got some backtrace on that funky action? Happens also when a method using that attribute is directly invoked by a wod binding, in a component using autolocking. Am 14.11.2012 um 18:21 schrieb Chuck Hill

Re: NullPointerException on non-null attribute

2012-11-14 Thread Chuck Hill
On 2012-11-14, at 11:49 AM, Maik Musall wrote: Am 14.11.2012 um 17:57 schrieb Jesse Tayler jtay...@oeinc.com: you got some backtrace on that funky action? Happens also when a method using that attribute is directly invoked by a wod binding, in a component using autolocking. Any chance

Re: NullPointerException in EODatabaseContext java

2012-06-04 Thread Cheong Hee (Gmail)
Subject: Re: NullPointerException in EODatabaseContext java Hi Cheong Hee, I am using the localEditingContext() method of GenericComponent class which internally creates the ERXEC.newEditingContext(). Please advise if this not the component-based ec. Regards, Raghu. On 01-Jun-2012

Re: NullPointerException in EODatabaseContext java

2012-06-01 Thread Cheong Hee (Gmail)
: NullPointerException in EODatabaseContext java Hi Team, I have created an enterprise object with one-to-many relationship objects associating. Then in the search page searched for these enterprise objects (that has WODisplayGroup), I am able to view the newly created object, but when I try

Re: NullPointerException in EODatabaseContext java

2012-06-01 Thread Raghavender Bokka
: NullPointerException in EODatabaseContext java Hi Team, I have created an enterprise object with one-to-many relationship objects associating. Then in the search page searched for these enterprise objects (that has WODisplayGroup), I am able to view the newly created object, but when I try

Re: NullPointerException in EODatabaseContext java

2012-06-01 Thread Cheong Hee (Gmail)
- Original Message - From: Raghavender Bokka raghavender.bo...@prithvisolutions.com To: Cheong Hee (Gmail) chn...@gmail.com Cc: Development WebObjects webobjects-dev@lists.apple.com Sent: Friday, June 01, 2012 2:17 PM Subject: Re: NullPointerException in EODatabaseContext java Hi Cheong Hee, I

Re: NullPointerException in EODatabaseContext java

2012-06-01 Thread Raghavender Bokka
: Raghavender Bokka raghavender.bo...@prithvisolutions.com To: Cheong Hee (Gmail) chn...@gmail.com Cc: Development WebObjects webobjects-dev@lists.apple.com Sent: Friday, June 01, 2012 2:17 PM Subject: Re: NullPointerException in EODatabaseContext java Hi Cheong Hee, I tried invalidating

NullPointerException in EODatabaseContext java

2012-05-31 Thread Raghavender Bokka
Hi Team, I have created an enterprise object with one-to-many relationship objects associating. Then in the search page searched for these enterprise objects (that has WODisplayGroup), I am able to view the newly created object, but when I try to select that object to view the details it is

Re: NullPointerException in EODatabaseContext java

2012-05-31 Thread Chuck Hill
Something is wrong with your model or how you are creating this new object. Are you setting the relationship both ways? On 2012-05-31, at 6:04 AM, Raghavender Bokka wrote: Hi Team, I have created an enterprise object with one-to-many relationship objects associating. Then in the search

NullPointerException

2012-04-12 Thread Ken Anderson
Okay...another issue from a revision project. If you need any other information to make the situation clearer, let me know. I keep getting a NullPointerException in the following code. Keep in mind that me is an Address object and this block of code is contained in a method that is triggered

Re: NullPointerException

2012-04-12 Thread Chuck Hill
information to make the situation clearer, let me know. I keep getting a NullPointerException in the following code. Keep in mind that me is an Address object and this block of code is contained in a method that is triggered to give the exception. All of my System.out.println() efforts return

Re: NullPointerException

2012-04-12 Thread Ken Anderson
information to make the situation clearer, let me know. I keep getting a NullPointerException in the following code. Keep in mind that me is an Address object and this block of code is contained in a method that is triggered to give the exception. All of my System.out.println() efforts

Re: NullPointerException

2012-04-12 Thread Chuck Hill
the situation clearer, let me know. I keep getting a NullPointerException in the following code. Keep in mind that me is an Address object and this block of code is contained in a method that is triggered to give the exception. All of my System.out.println() efforts return positive results

Re: NullPointerException

2012-04-12 Thread Ken Anderson
in an valid editing context. On 2012-04-12, at 10:05 AM, Ken Anderson wrote: Okay...another issue from a revision project. If you need any other information to make the situation clearer, let me know. I keep getting a NullPointerException in the following code. Keep in mind that me

Re: NullPointerException

2012-04-12 Thread Chuck Hill
. On 2012-04-12, at 10:05 AM, Ken Anderson wrote: Okay...another issue from a revision project. If you need any other information to make the situation clearer, let me know. I keep getting a NullPointerException in the following code. Keep in mind that me is an Address object

Re: NullPointerException

2012-04-12 Thread Ken Anderson
issue from a revision project. If you need any other information to make the situation clearer, let me know. I keep getting a NullPointerException in the following code. Keep in mind that me is an Address object and this block of code is contained in a method that is triggered to give

Re: NullPointerException

2012-04-12 Thread Farrukh Ijaz
Hi Ken, Also we should not call toString() method on e.getCause() because it's not always necessary you get a cause if the exception is already at it's origin. Here is a sample code to test this: Farrukh public class ExceptionTest { public static void printCause(Throwable t) {

NullPointerException

2011-12-04 Thread Kevin Spake
Still working on the WebObjects, WOlips and Wonder tutorial, part 2... Getting a null pointer exception. I've spent hours trying to figure out the issue, but I just don't have the experience to properly trouble shoot it. The stack trace is below, and below that is the code for my DirectAction.

Re: NullPointerException

2011-12-04 Thread Philippe Rabier
Hi Kevin You have to use a operator when you test if your string is not null and length 0. ;-) Bad copy/paste I guess. Your code is clean. Philippe Sent from my iPhone On 4 déc. 2011, at 09:01, Kevin Spake sparky0...@yahoo.com wrote: Still working on the WebObjects, WOlips and Wonder

Re: NullPointerException

2011-12-04 Thread Paul D Yu
Kevin This is a java or may be even programming issue, NOT a WebObjects one. Because of the || or operator, the runtime has to evaluate the second portion of the condition. Since errorMessage is null, length() of errorMessage will throw the exception... Paul Sent from my iPad On Dec 4,

Re: NullPointerException

2011-12-04 Thread Kevin Spake
I was pretty sure it was something I was doing. Yes, I just did a copy and paste. Thanks again. Sent from my iPhone On Dec 4, 2011, at 2:48 AM, Paul D Yu p...@mac.com wrote: Kevin This is a java or may be even programming issue, NOT a WebObjects one. Because of the || or operator,

Re: Weird NullPointerException

2011-03-28 Thread Markus Ruggiero
( this, xmlGenerator ); } else { log.error( *** No xmlGeneratorClassName available ); } } Depending on the context I call this I get a NullPointerException or not. This is the NPE, context info follows below: Mar 25 11:13:49 ec_admin[13000

Weird NullPointerException

2011-03-25 Thread Markus Ruggiero
); } } Depending on the context I call this I get a NullPointerException or not. This is the NPE, context info follows below: Mar 25 11:13:49 ec_admin[13000] WARN NSLog - com.webobjects.appserver._private.WOComponentRequestHandler: Exception occurred while handling request: java.lang.NullPointerException

Re: Weird NullPointerException

2011-03-25 Thread Chuck Hill
( *** No xmlGeneratorClassName available ); } } Depending on the context I call this I get a NullPointerException or not. This is the NPE, context info follows below: Mar 25 11:13:49 ec_admin[13000] WARN NSLog - com.webobjects.appserver._private.WOComponentRequestHandler: Exception

NullPointerException in DerbyPlugIn$DerbyExpression.isLOBAttribute

2010-09-04 Thread Marvin
Hi,I am new to WebObjects and am working through the documentation and Apple's Movies tutorial found here: http://developer.apple.com/legacy/mac/library/documentation/DeveloperTools/Conceptual/WOTutorial/DatabaseApplication/DatabaseApplication.html.I am running on Mac OS 10.6.4.I was able to get

Re: NullPointerException in DerbyPlugIn$DerbyExpression.isLOBAttribute

2010-09-04 Thread Mike Schrag
I don't have source in front of me at the moment, but I seem to recall this is when you accidentally forget to fill in the external type of an attribute (the varchar part). Go back through the attributes in your model and give then a once-over. I should really add a check to entity modeler for

Re: NullPointerException in DerbyPlugIn$DerbyExpression.isLOBAttribute

2010-09-04 Thread Chuck Hill
Or the prototypes are not configured or not loading properly? On Sep 4, 2010, at 10:40 AM, Mike Schrag wrote: I don't have source in front of me at the moment, but I seem to recall this is when you accidentally forget to fill in the external type of an attribute (the varchar part). Go back

Re: NullPointerException in DerbyPlugIn$DerbyExpression.isLOBAttribute

2010-09-04 Thread Mike Schrag
No way apple's soca teach prototypes, right? I seem to recall those soca only teach bad practices. Sent from my iPhone On Sep 4, 2010, at 10:46 AM, Chuck Hill ch...@global-village.net wrote: Or the prototypes are not configured or not loading properly? On Sep 4, 2010, at 10:40 AM, Mike

Re: NullPointerException in DerbyPlugIn$DerbyExpression.isLOBAttribute

2010-09-04 Thread Mike Schrag
soca? Apparently the iPhone thought I wanted to say soca instead of docs. Sent from my iPhone On Sep 4, 2010, at 11:12 AM, Mike Schrag msch...@pobox.com wrote: No way apple's soca teach prototypes, right? I seem to recall those soca only teach bad practices. Sent from my iPhone On Sep

Re: NullPointerException in DerbyPlugIn$DerbyExpression.isLOBAttribute

2010-09-04 Thread Marvin Chase
Thanks Mike and Chuck. I did forget to enter values for the external types. I had been through the steps to set up the EOModel so many times trying to get it to work that I eventually convinced myself that the docs were wrong and those values weren't used for anything. Eventually I just

Re: NullPointerException in DerbyPlugIn$DerbyExpression.isLOBAttribute

2010-09-04 Thread Chuck Hill
On Sep 4, 2010, at 11:12 AM, Mike Schrag wrote: No way apple's soca teach prototypes, right? I seem to recall those soca only teach bad practices. Yeah, the apple soca fwe narki in places. er, whatever. Sent from my iPhone Apparently. :-P I missed the Apple reference, only the Wiki link

Re: WOXMLDecoder NullPointerException

2010-03-14 Thread Simon
my advice is to use a mapping file. no mapping file = debugging nightmare simon On 13 March 2010 11:45, Shravan Kumar. M mshravan_...@yahoo.com wrote: Hi Group, Following code to decode an xml file or xml string is resuting in NPE, could you any one please advise what's going wrong here:   

Re: WOXMLDecoder NullPointerException

2010-03-14 Thread Shravan Kumar. M
NullPointerException my advice is to use a mapping file. no mapping file = debugging nightmare simon On 13 March 2010 11:45, Shravan Kumar. M mshravan_...@yahoo.com wrote: Hi Group, Following code to decode an xml file or xml string is resuting in NPE, could you any one please advise what's going wrong here

WOXMLDecoder NullPointerException

2010-03-13 Thread Shravan Kumar. M
Hi Group, Following code to decode an xml file or xml string is resuting in NPE, could you any one please advise what's going wrong here: WOXMLDecoder xmlDecoder = WOXMLDecoder.decoder(); //InputStream is =

Fw: WOXMLDecoder NullPointerException

2010-03-13 Thread Shravan Kumar. M
Any suggestions please? Fw: WOXMLDecoder NullPointerException WOXMLDecoder NullPointerException Sat Mar 13 17:15:22 2010 From: Shravan Kumar. M mshravan_...@yahoo.com To: WO Dev Group webobjects-dev@lists.apple.com Hi Group, Following code to decode an xml file or xml string is resuting in NPE

Re: NullPointerException in many-many relationship cross two models

2009-12-15 Thread Kieran Kelleher
-village.net] Sent: Tuesday, 15 December 2009 4:42 p.m. To: Ran, Kevin Cc: webobjects-dev@lists.apple.com Subject: Re: NullPointerException in many-many relationship cross two models On Dec 14, 2009, at 7:37 PM, Ren, Kevin wrote: Hi, You are brilliant, guys. It's simple copy/past error in the URL

Re: NullPointerException in many-many relationship cross two models

2009-12-15 Thread David Avendasora
=UTF-8. Not sure which one is right? Kevin -Original Message- From: Chuck Hill [mailto:ch...@global-village.net] Sent: Tuesday, 15 December 2009 4:42 p.m. To: Ran, Kevin Cc: webobjects-dev@lists.apple.com Subject: Re: NullPointerException in many-many relationship cross two

NullPointerException in many-many relationship cross two models

2009-12-14 Thread Ren, Kevin
Hi, There is m-m relationship between A and B entities which are in different models, but in same database. I can create and platen this relationship in EOModler and got AB table as well. AB is in the same DB and only has compound PK like A_ID and B_ID. When I tried to do saveChanges got this

Re: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Chuck Hill
Both models need to have the exact (and I _do_ mean _exact_) same connection dictionary. The dictionaries must be equals(). This is most easily accomplished by setting the programatically when the app loads. Wonder, of course, does this. Chuck On Dec 14, 2009, at 3:30 PM, Ren, Kevin

RE: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Ren, Kevin
@lists.apple.com Subject: Re: NullPointerException in many-many relationship cross two models Both models need to have the exact (and I _do_ mean _exact_) same connection dictionary. The dictionaries must be equals(). This is most easily accomplished by setting the programatically when

Re: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Mike Schrag
4:18 p.m. To: Ren, Kevin Cc: webobjects-dev@lists.apple.com Subject: Re: NullPointerException in many-many relationship cross two models Both models need to have the exact (and I _do_ mean _exact_) same connection dictionary. The dictionaries must be equals(). This is most easily

Re: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Guido Neitzer
On 14. Dec. 2009, at 19:22 , Ren, Kevin wrote: I checked that, they are same connection dictionary, because this just moral test example. You need to check them programmatically. As Chuck said - equals() needs to return true. Guido -- http://www.event-s.net

RE: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Ren, Kevin
-Original Message- From: webobjects-dev-bounces+kevin.ren=anz@lists.apple.com [mailto:webobjects-dev-bounces+kevin.ren=anz@lists.apple.c om] On Behalf Of Mike Schrag Sent: Tuesday, 15 December 2009 4:25 p.m. To: Development WebObjects Subject: Re: NullPointerException in many-many

Re: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Chuck Hill
. To: Development WebObjects Subject: Re: NullPointerException in many-many relationship cross two models same connection dictionary like i think they're the same because the url is the same or same like i tested with .equals(..) at runtime and it returns true thereby proving they're the same (technically

RE: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Ren, Kevin
: Tuesday, 15 December 2009 4:42 p.m. To: Ran, Kevin Cc: webobjects-dev@lists.apple.com Subject: Re: NullPointerException in many-many relationship cross two models On Dec 14, 2009, at 7:37 PM, Ren, Kevin wrote: Hi, You are brilliant, guys. It's simple copy/past error in the URL

Re: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Chuck Hill
. Not sure which one is right? Kevin -Original Message- From: Chuck Hill [mailto:ch...@global-village.net] Sent: Tuesday, 15 December 2009 4:42 p.m. To: Ran, Kevin Cc: webobjects-dev@lists.apple.com Subject: Re: NullPointerException in many-many relationship cross two models On Dec 14

RE: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Ren, Kevin
Cool, thanks Kevin -Original Message- From: Chuck Hill [mailto:ch...@global-village.net] Sent: Tuesday, 15 December 2009 5:00 p.m. To: Ren, Kevin Cc: webobjects-dev@lists.apple.com Subject: Re: NullPointerException in many-many relationship cross two models For WebObjects

Re: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Cheong Hee (Gmail)
Hi Kevin Could you post your code over how object inserted and saved? Cheers Cheong Hee ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your

Re: NullPointerException in many-many relationship cross two models

2009-12-14 Thread Cheong Hee (Gmail)
Thought it is unsolved yet. Pls ignore. - Original Message - From: Cheong Hee (Gmail) chn...@gmail.com To: Ren, Kevin kevin@anz.com; webobjects-dev@lists.apple.com Sent: Tuesday, December 15, 2009 12:26 PM Subject: Re: NullPointerException in many-many relationship cross two

Re: NullPointerException in _popComponentFromContext

2009-06-26 Thread Ricardo J. Parada
On Jun 26, 2009, at 12:55 AM, Chuck Hill wrote: On Jun 25, 2009, at 8:49 PM, Ricardo J. Parada wrote: Let me correct something I said: the action method is getting called!!! –– I was just confused the first time I looked. Anyways, the action method gets called and then that action

Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]

2009-06-26 Thread Ricardo J. Parada
My theory is that the performParentAction() changes the context's current component with the intention to restore it afterwards. But an exception may be occurring in a section of the code in performParentAction() which is not properly wrapped with an exception handler and so we end up

Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]

2009-06-26 Thread Mike Schrag
My theory is that the performParentAction() changes the context's current component with the intention to restore it afterwards. But an exception may be occurring in a section of the code in performParentAction() which is not properly wrapped with an exception handler and so we end up

Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]

2009-06-26 Thread Ricardo J. Parada
On Jun 26, 2009, at 11:23 AM, Mike Schrag wrote: My theory is that the performParentAction() changes the context's current component with the intention to restore it afterwards. But an exception may be occurring in a section of the code in performParentAction() which is not properly

Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]

2009-06-26 Thread Mike Schrag
You are right... Good idea... but it may be challenging as the performParentAction() calls an action in a parent component and then that component also calls performParentAction()... and it's a long chain. So I need to look at all of them to find out... Hey, I did not write those

Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]

2009-06-26 Thread Ricardo J. Parada
On Jun 26, 2009, at 11:39 AM, Mike Schrag wrote: You are right... Good idea... but it may be challenging as the performParentAction() calls an action in a parent component and then that component also calls performParentAction()... and it's a long chain. So I need to look at all of them

Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]

2009-06-26 Thread Ricardo J. Parada
Wow... I did a search through all our projects for places where we call performParentAction() and I found a whole bunch of component that are catching and swallowing like this: try { String s = (String) valueForBinding(parentAction); if (s != null) {

Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]

2009-06-26 Thread Ricardo J. Parada
Good news and bad news I guess. The good news is that I identified all the components that are wrapping the call to performParentAction() with a swallowing exception handler. I modified them all to extend my base component (MPVWOComponent). I added the performParentAction() to

NullPointerException in _popComponentFromContext

2009-06-25 Thread Ricardo J. Parada
Sigh... Does anybody see anything obvious in this stack trace? I used to have this exception ages ago and it was obscure. I don't recall what ended up fixing it exactly but now that I moved my application to Wonder I'm running into this again and haven't figured out yet why or how to fix

Re: NullPointerException in _popComponentFromContext

2009-06-25 Thread Chuck Hill
On Jun 25, 2009, at 6:49 PM, Ricardo J. Parada wrote: Sigh... Does anybody see anything obvious in this stack trace? I used to have this exception ages ago and it was obscure. I don't recall what ended up fixing it exactly but now that I moved my application to Wonder I'm running into

Re: NullPointerException in _popComponentFromContext

2009-06-25 Thread Ricardo J. Parada
On Jun 25, 2009, at 9:53 PM, Chuck Hill wrote: Sigh... Does anybody see anything obvious in this stack trace? I used to have this exception ages ago and it was obscure. I don't recall what ended up fixing it exactly but now that I moved my application to Wonder I'm running into this

Re: NullPointerException in _popComponentFromContext

2009-06-25 Thread Chuck Hill
On Jun 25, 2009, at 7:10 PM, Ricardo J. Parada wrote: On Jun 25, 2009, at 9:53 PM, Chuck Hill wrote: Sigh... Does anybody see anything obvious in this stack trace? I used to have this exception ages ago and it was obscure. I don't recall what ended up fixing it exactly but now that I

Re: NullPointerException in _popComponentFromContext

2009-06-25 Thread Ricardo J. Parada
Well here's what I'm seeing... my component determines that it is the one that should invoke the action and goes through this code: // Tell context that an action was performed. If this is // not done, the form's default action will be called also. 111:

Re: NullPointerException in _popComponentFromContext

2009-06-25 Thread Ricardo J. Parada
Let me correct something I said: the action method is getting called!!! –– I was just confused the first time I looked. Anyways, the action method gets called and then that action method is calling performParentAction as follows: return performParentAction(s); I did not write

Re: NullPointerException in _popComponentFromContext

2009-06-25 Thread Chuck Hill
On Jun 25, 2009, at 8:49 PM, Ricardo J. Parada wrote: Let me correct something I said: the action method is getting called!!! –– I was just confused the first time I looked. Anyways, the action method gets called and then that action method is calling performParentAction as follows:

Re: You crossed editing context boundaries...Fixzed, no NullPointerException, now fixing db

2008-10-15 Thread WebObjects
, and still Im getting the nullpointerexception java.lang.NullPointerException [2008-10-14 19:13:51 COT] WorkerThread0 java.lang.NullPointerException at com .webobjects .eoaccess .EODatabaseContext ._objectFaultWithSnapshotRelationshipEditingContext (EODatabaseContext.java:2356

Re: You crossed editing context boundaries...Fixzed, no NullPointerException, now fixing db

2008-10-15 Thread David Avendasora
one. My mind its kind of distracted... I made the changes, and still Im getting the nullpointerexception java.lang.NullPointerException [2008-10-14 19:13:51 COT] WorkerThread0 java.lang.NullPointerException at com .webobjects .eoaccess .EODatabaseContext

Re: You crossed editing context boundaries...Fixzed, now NullPointerException, now fixing db

2008-10-15 Thread WebObjects
().defaultEditingContext, and here at PaguinaUsuario I m using another one. My mind its kind of distracted... I made the changes, and still Im getting the nullpointerexception java.lang.NullPointerException [2008-10-14 19:13:51 COT] WorkerThread0 java.lang.NullPointerException at com .webobjects

Re: You crossed editing context boundaries...Fixzed, now NullPointerException, now fixing db

2008-10-15 Thread David LeBer
realize I had teh emp at login with the session().defaultEditingContext, and here at PaguinaUsuario I m using another one. My mind its kind of distracted... I made the changes, and still Im getting the nullpointerexception java.lang.NullPointerException [2008-10-14 19:13:51 COT] WorkerThread0

Re: You crossed editing context boundaries...Fixzed, now NullPointerException, now fixing db

2008-10-15 Thread David Avendasora
().defaultEditingContext, and here at PaguinaUsuario I m using another one. My mind its kind of distracted... I made the changes, and still Im getting the nullpointerexception java.lang.NullPointerException [2008-10-14 19:13:51 COT] WorkerThread0 java.lang.NullPointerException at com .webobjects

Re: NullPointerException

2008-10-01 Thread Chuck Hill
have a WOTextField bound to specific.specificType and a WOSubmitButton bound to saveChanges() all wrapped in a WOForm. When I run the component and click to save changes to the database, I get a NullPointerException. Have I instantiated the Specific entity and inserted it into an editing

Re: NullPointerException

2008-10-01 Thread Awbrey Hughlett
to saveChanges () all wrapped in a WOForm. When I run the component and click to save changes to the database, I get a NullPointerException. Have I instantiated the Specific entity and inserted it into an editing context correctly? Or do I have other problems? You have other problems, some of which you

Re: NullPointerException

2008-10-01 Thread Chuck Hill
a NullPointerException. Have I instantiated the Specific entity and inserted it into an editing context correctly? Or do I have other problems? You have other problems, some of which you probably don't know about. public class SpecificEntry extends WOComponent { private

Re: NullPointerException

2008-10-01 Thread Mike Schrag
Nothing about that looks familiar to me. You appear to be using Wonder which should fix any bug. How are you creating this page? By any chance did you not create it with pageWithName? ms ___ Do not post admin requests to the list. They will be

Re: NullPointerException

2008-10-01 Thread Awbrey Hughlett
I am using a WOHyperlink from main to the component with pageName bound to the component. Awbrey On Oct 1, 2008, at 2:26 PM, Mike Schrag wrote: Nothing about that looks familiar to me. You appear to be using Wonder which should fix any bug. How are you creating this page? By any chance

Re: NullPointerException

2008-10-01 Thread Mike Schrag
I am using a WOHyperlink from main to the component with pageName bound to the component. Is SpecificEntry component the actual page you're going to? Meaning form is the first tag on the page and there's no html, etc? I seem to recall there's an obscure bug where if you start a page level

Re: NullPointerException

2008-10-01 Thread Awbrey Hughlett
That worked. Thanks, Awbrey On Oct 1, 2008, at 3:03 PM, Mike Schrag wrote: I am using a WOHyperlink from main to the component with pageName bound to the component. Is SpecificEntry component the actual page you're going to? Meaning form is the first tag on the page and there's no html,

Re: NullPointerException

2008-10-01 Thread Steve Quirk
to saveChanges() all wrapped in a WOForm. When I run the component and click to save changes to the database, I get a NullPointerException. Have I instantiated the Specific entity and inserted it into an editing context correctly? Or do I have other problems? You have other problems, some

Re: NullPointerException

2008-10-01 Thread Chuck Hill
have a WOTextField bound to specific.specificType and a WOSubmitButton bound to saveChanges() all wrapped in a WOForm. When I run the component and click to save changes to the database, I get a NullPointerException. Have I instantiated the Specific entity and inserted it into an editing

Re: NullPointerException

2008-10-01 Thread Mike Schrag
Nothing about that looks familiar to me. You appear to be using Wonder which should fix any bug. __!!! Oh come on now. A little humility, please. :-) Steve Well, I did say should not does. :-P For the record, I actually DID fix this bug about 2 years ago, but removed

NullPointerException

2008-09-30 Thread Awbrey Hughlett
I have an entity named Specific and an attribute named specificType. I have a WOTextField bound to specific.specificType and a WOSubmitButton bound to saveChanges() all wrapped in a WOForm. When I run the component and click to save changes to the database, I get a NullPointerException

Re: NullPointerException

2008-09-30 Thread Chuck Hill
changes to the database, I get a NullPointerException. Have I instantiated the Specific entity and inserted it into an editing context correctly? Or do I have other problems? You have other problems, some of which you probably don't know about. public class SpecificEntry extends WOComponent

WOLips ( Entity Modeler ) MySQL JDBC NullPointerException

2008-05-22 Thread Francisc Simon
Hi @all, i've tried to connect to my mysql database and create the sql with Entity Modeler but it gives me the following error: Can somebody help me please ? THX :-) java.lang.RuntimeException: Failed to generate SQL. at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory $

Re: WOLips ( Entity Modeler ) MySQL JDBC NullPointerException

2008-05-22 Thread David Avendasora
If you are using WebObjects 5.4, the SQL generation is broken. It works just fine in 5.3. http://lists.apple.com/archives/webobjects-dev/2008/Apr/msg00585.html Dave On May 22, 2008, at 3:53 AM, Francisc Simon wrote: Hi @all, i've tried to connect to my mysql database and create the sql

NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Yung-Luen Lan
Hi all, I'm a newbie of both WebObjects and server programming who is responsible to maintain a WO project left by other guy several years ago. I've added some features and tested in Eclipse. However, during these year, I always encountered a problem when I want to update the

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Daniele Corti
2008/2/27, Yung-Luen Lan [EMAIL PROTECTED]: Hi all, I'm a newbie of both WebObjects and server programming who is responsible to maintain a WO project left by other guy several years ago. I've added some features and tested in Eclipse. However, during these year, I always encountered a

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Anjo Krank
ERXLogger has long since been gone. The frameworks are by no means a drag and drop replace and I can't figure why you would even want to do it? You need to actually build and deploy a new version of your apps. Cheers, Anjo Am 27.02.2008 um 13:11 schrieb Yung-Luen Lan: Hi all, I'm a

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Daniele Corti
2008/2/27 Yung-Luen Lan [EMAIL PROTECTED]: 2008/2/27 Daniele Corti [EMAIL PROTECTED]: 2008/2/27, Yung-Luen Lan [EMAIL PROTECTED] [EMAIL PROTECTED] An extra question: when you add some features to your wo project, how do you stop the current running wo server and start the new one? I

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Yung-Luen Lan
2008/2/27 Daniele Corti [EMAIL PROTECTED]: 2008/2/27, Yung-Luen Lan [EMAIL PROTECTED] [EMAIL PROTECTED] An extra question: when you add some features to your wo project, how do you stop the current running wo server and start the new one? I don't know how to do this so I run my server

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Lachlan Deck
On 27/02/2008, at 11:35 PM, Daniele Corti wrote: 2008/2/27, Yung-Luen Lan [EMAIL PROTECTED]: Hi all, I'm a newbie of both WebObjects and server programming who is responsible to maintain a WO project left by other guy several years ago. I've added some features and tested in Eclipse.

  1   2   >