0 Replies Latest reply on Apr 29, 2003 12:51 AM by Pete Cox

    NetBeans weirdness

    Pete Cox Newbie

      JBoss 3.0.7 NetBeans 3.4.1

      I'm having a problem with running our client app. It runs fine on my two machines but when a co-developer launches it from within NetBeans (as opposed to a command line), a strange error message occurs while looking up a home interface.

      Something to do with being unable to get a home handle.
      A serialization issue perhaps?

      Stack trace(s) follow.


      java.lang.NoSuchMethodException: getHomeHandle
      at java.lang.Class.getMethod0(Class.java:1742)
      at java.lang.Class.getMethod(Class.java:951)
      at org.jboss.proxy.ejb.HomeInterceptor.(HomeInterceptor.java:88)
      at java.io.ObjectStreamClass.hasStaticInitializer(Native Method)
      at java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1487)
      at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:45)
      at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:169)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:166)
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:450)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:104)
      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1676)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1634)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1830)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1636)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:506)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:463)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)



      java.lang.ExceptionInInitializerError
      at org.jboss.proxy.ejb.HomeInterceptor.(HomeInterceptor.java:102)
      at java.io.ObjectStreamClass.hasStaticInitializer(Native Method)
      at java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1487)
      at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:45)
      at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:169)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:166)
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:450)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:104)
      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1676)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1634)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1830)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1636)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:506)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:463)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)