Oh dear.
I'm afraid there's nothing in my post create - apart from the
system.out.println that I put in to find out what's going on. In short, its:
public void ejbPostCreate(int id, int state, String name, Address address,
String contactDetails, Address billAddress, int schedule, long start,
CurrencyAmount rate) {
System.out.println("ISP - post create called");
}
I think that whatever's going on may be in the container itself; although
I'm generally quick to suspect my own code when something goes wrong, the
fact that this bean works in PR3 but not in PR4 is evidence that points in
this direction as well.
The last jBoss class thats in the stack is the JRMPContainerInvoker_Stub.
What does this do exactly ???
Andy
-----Original Message-----
From: Aaron Mulder <[EMAIL PROTECTED]>
To: jBoss <[EMAIL PROTECTED]>
Date: Tuesday, September 05, 2000 10:38 AM
Subject: Re: [jBoss-User] Enity beans works in PR3 but fails in PR4!
> Generally the "null" on the console output indicates a
>NullPointerException of some sort - and this is supported by the first
>line in your stack trace below.. There may be a NullPointerException in
>your bean. Can you put try/catches in the ejbPostCreate and whatever else
>might get called after that and see? If it's not in your bean, it will of
>course be more painful to track down.
> Developers: Perhaps we could create an "ExceptionInterceptor" that
>would print a stack trace of any exception that occurs during a call? For
>use in debugging only, of course...
>
>Aaron
>
>On Tue, 5 Sep 2000, Andy Dwelly wrote:
>> We upgraded a little earlier today, and now a set of entity beans that
>> behave perfectly well in PR3 seem to be causing null pointer exceptions
in
>> PR4.
>>
>> I'm getting:
>>
>> java.lang.NullPointerException
>> at
>>
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
>> all.java:245)
>> at
>> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
>> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
>> at
>>
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
>> wn Source)
>> at
>>
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
>> at $Proxy0.create(Unknown Source)
>> at com.stamplets.test.ISPClient.<init>(ISPClient.java:63)
>> at com.stamplets.test.ISPClient.main(ISPClient.java:142)
>>
>> ...on my first attempt to create an EntityBean called ISP, and it seems
to
>> be happening after my ejbPostCreate(...) method is called. Revealingly,
the
>> main console output halts with the lines:
>>
>> [JAWS] Rows affected = 1
>> [ISP] post create called (this is a System.out.println in my
>> ejbPostCreateMethod)
>> [ISP]null
>>
>> Does anyone have any idea what could be going on ?
>>
>> Andy Dwelly
>>
>>
>>
>> Cedilla Software Services Ltd. - Java for the Internet and Finance
>> Industries.
>> Web: www.cedillasoft.com Email: [EMAIL PROTECTED] Tel: +44 1481-242785
>>
>>
>>
>> --
>> --------------------------------------------------------------
>> To subscribe: [EMAIL PROTECTED]
>> To unsubscribe: [EMAIL PROTECTED]
>> Problems?: [EMAIL PROTECTED]
>>
>
>
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]