dcsimg
Assertion error
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Haider_Naqvi
Posted On:   Thursday, August 30, 2001 04:11 AM

i am getting this error while returning a reference of Remote interface of an entity bean from a method of a session bean E:petstoreshoppingcontroller uild>java -Djava.naming.factory.initial=weblogic .jndi.TengahInitialContextFactory -Djava.naming.provider.url=t3://localhost:7001 shoppingcontroller.ShoppingClientControllerClient weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can nev er be null ] at weblogic.rmi.cluster.EntityRemoteRef.readExternal(EntityRemoteRef.jav a:175) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.inputClassField   More>>

i am getting this error while returning a reference of Remote interface of an entity bean from a method of a session bean

E:petstoreshoppingcontroller uild>java -Djava.naming.factory.initial=weblogic
.jndi.TengahInitialContextFactory -Djava.naming.provider.url=t3://localhost:7001
shoppingcontroller.ShoppingClientControllerClient
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can nev
er be null ]
at weblogic.rmi.cluster.EntityRemoteRef.readExternal(EntityRemoteRef.jav
a:175)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226
3)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
9)
at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2
214)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
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:2
214)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:107)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:115)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
ava:230)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:254)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:220)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy2.getCatalog(Unknown Source)
at shoppingcontroller.ShoppingClientControllerClient.main(ShoppingClient
ControllerClient.java:39)
Finder Exception in Client:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can nev
er be null ]
at weblogic.rmi.cluster.EntityRemoteRef.readExternal(EntityRemoteRef.jav
a:175)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226
3)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
9)
at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2
214)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
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:2
214)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:107)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:115)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
ava:230)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:254)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:220)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy2.getCatalog(Unknown Source)
at shoppingcontroller.ShoppingClientControllerClient.main(ShoppingClient
ControllerClient.java:39)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment can ne
ver be null ]]
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:60)
at $Proxy2.getCatalog(Unknown Source)
at shoppingcontroller.ShoppingClientControllerClient.main(ShoppingClient
ControllerClient.java:39)

   <<Less
About | Sitemap | Contact