URGENT : weblogic error
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, July 19, 2002 06:21 AM

Hi, I am developing one application in EJB using weblogic server6.0.I am calling my CMP from session bean and calling session bean from client(ordinary java program) On the Server side the CMP method is executing and there it printing the results also Client(java program)--->Stateful--->CMP on the client side the below error was occured. Please suggest at the earliest weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can never be null ] at weblogic.rmi.cluster.EntityRemoteRef.readExternal(EntityRemoteRef.java:175) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212) at java.io.ObjectInputStream.readObject(ObjectInputStr   More>>

Hi,

I am developing one application in EJB using weblogic server6.0.I am calling my CMP from session bean and calling session bean from client(ordinary java program)

On the Server side the CMP method is executing and there it printing the results also

Client(java program)--->Stateful--->CMP

on the client side the below error was occured.

Please suggest at the earliest

weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can never be null ]
at weblogic.rmi.cluster.EntityRemoteRef.readExternal(EntityRemoteRef.java:175)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.util.ArrayList.readObject(ArrayList.java:531)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:107)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:115)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:230)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:134)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy2.getMemberTypes(Unknown Source)
at MemberClient.main(MemberClient.java:22)
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can never be null ]
at weblogic.rmi.cluster.EntityRemoteRef.readExternal(EntityRemoteRef.java:175)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2262)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.util.ArrayList.readObject(ArrayList.java:531)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:107)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:115)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:230)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:134)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy2.getMemberTypes(Unknown Source)
at MemberClient.main(MemberClient.java:22)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can never be null ]]
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:60)
at $Proxy2.getMemberTypes(Unknown Source)
at MemberClient.main(MemberClient.java:22)
The Error in MemberClient :weblogic.rmi.extensions.RemoteRuntimeException - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can never be null ]]

Best Regards
Murthy

   <<Less

Re: URGENT : weblogic error

Posted By:   rajesh_chandra  
Posted On:   Tuesday, July 23, 2002 05:14 AM

Hi Murthy
See that Class Path is set properly... Even i got this error ... Then i find out iam pointing to two different classes .....So check your Classpath ...
About | Sitemap | Contact