-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta3
-
sparc
-
solaris_7
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2045417 | 1.4.0 | Everett Anderson | P2 | Closed | Won't Fix |
You may want to look at this, I get a Null pointer exception in PersistentServer
Example (Please look at stack trace from Debbie's mail). I have attached the tar
file, To run this example
1. Untar it
2. gnumake build
3. gnumake runorbd
4. gnumake register
5. gnumake runc
PersistentClient calls a method on Persistent Server every three seconds and
kills it. Wait for multiple iterations, it will fail after 'n' number of calls.
I have seen the failure sometimes after 3 calls and sometimes after 7 calls.
Thx,
\Hemanth
> X-Accept-Language: en
> MIME-Version: 1.0
> To: Hemanth Puttaswamy <###@###.###>
> Subject: PersistentClient
> Content-Transfer-Encoding: 7bit
>
> Hi, Hemanth,
>
> While you were here, I noticed this, but forgot to ask you about it.
> The client seems to run three times and then throw a
> NullPointerException - any ideas? (This copy of the command line output
> was on the screen when you left).
>
> Thanks again,
> Debbie
>
> debbiec:/home/dcarson1/samples/POAPersist 28 % gnumake runc
> /usr/local/java/jdk1.4/solsparc/bin/java
> -Dorg.omg.CORBA.ORBClass=com.sun.corba.ee.internal.POA.POAORB
> -Dorg.omg.CORBA.ORBInitialHost=localhost
> -Dorg.omg.CORBA.ORBInitialPort=1050 -classpath
>
/net/anybodys/export3/hemanth/rip-intjul9/build/rename/ee/build/sparc/release/..
/classes:/home/hemanth/PersistentServer
> PersistentClient
> Message From Persistent Server: Hello From Persistent Server...
> Message From Persistent Server: Hello From Persistent Server...
> Message From Persistent Server: Hello From Persistent Server...
> Exception in PersistentClient.java...java.lang.NullPointerException
> java.lang.NullPointerException
> at
>
com.sun.corba.ee.internal.iiop.CDRInputStream.performORBVersionSpecificInit(CDRI
nputStream.java:512)
> at
>
com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:
173)
> at
> org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:460)
> at Persistent._HelloStub.shutdown(_HelloStub.java:38)
> at PersistentClient.main(PersistentClient.java:40)
*******************************************************************************
###@###.### 2001-10-02
Fix verified OK
- with build: j2sdk-1_4_0-beta3-bin-b81-solsparc-27_sep_2001
- with test: Attached testcase (.PersistentServer)
*******************************************************************************
Example (Please look at stack trace from Debbie's mail). I have attached the tar
file, To run this example
1. Untar it
2. gnumake build
3. gnumake runorbd
4. gnumake register
5. gnumake runc
PersistentClient calls a method on Persistent Server every three seconds and
kills it. Wait for multiple iterations, it will fail after 'n' number of calls.
I have seen the failure sometimes after 3 calls and sometimes after 7 calls.
Thx,
\Hemanth
> X-Accept-Language: en
> MIME-Version: 1.0
> To: Hemanth Puttaswamy <###@###.###>
> Subject: PersistentClient
> Content-Transfer-Encoding: 7bit
>
> Hi, Hemanth,
>
> While you were here, I noticed this, but forgot to ask you about it.
> The client seems to run three times and then throw a
> NullPointerException - any ideas? (This copy of the command line output
> was on the screen when you left).
>
> Thanks again,
> Debbie
>
> debbiec:/home/dcarson1/samples/POAPersist 28 % gnumake runc
> /usr/local/java/jdk1.4/solsparc/bin/java
> -Dorg.omg.CORBA.ORBClass=com.sun.corba.ee.internal.POA.POAORB
> -Dorg.omg.CORBA.ORBInitialHost=localhost
> -Dorg.omg.CORBA.ORBInitialPort=1050 -classpath
>
/net/anybodys/export3/hemanth/rip-intjul9/build/rename/ee/build/sparc/release/..
/classes:/home/hemanth/PersistentServer
> PersistentClient
> Message From Persistent Server: Hello From Persistent Server...
> Message From Persistent Server: Hello From Persistent Server...
> Message From Persistent Server: Hello From Persistent Server...
> Exception in PersistentClient.java...java.lang.NullPointerException
> java.lang.NullPointerException
> at
>
com.sun.corba.ee.internal.iiop.CDRInputStream.performORBVersionSpecificInit(CDRI
nputStream.java:512)
> at
>
com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:
173)
> at
> org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:460)
> at Persistent._HelloStub.shutdown(_HelloStub.java:38)
> at PersistentClient.main(PersistentClient.java:40)
*******************************************************************************
###@###.### 2001-10-02
Fix verified OK
- with build: j2sdk-1_4_0-beta3-bin-b81-solsparc-27_sep_2001
- with test: Attached testcase (.PersistentServer)
*******************************************************************************
- backported by
-
JDK-2045417 Persistent Server Restart sometimes results in Null Pointer Exception
-
- Closed
-