java.lang.NoSuchMethodError: stub class initialization failed

chuidiang.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error RMI :sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

    chuidiang.com | 6 months ago
    java.lang.NoSuchMethodError: stub class initialization failed

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      stub class initialization failed

      at rmisumaio.ConcreteRepositoryImpl_Stub.<clinit>()
    2. rmisumaio
      ConcreteRepositoryImpl_Stub.<clinit>
      1. rmisumaio.ConcreteRepositoryImpl_Stub.<clinit>(Unknown Source)
      1 frame
    3. Java RT
      Naming.lookup
      1. sun.misc.Unsafe.ensureClassInitialized(Native Method)
      2. sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
      3. sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
      4. java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
      5. java.lang.reflect.Field.getFieldAccessor(Field.java:898)
      6. java.lang.reflect.Field.getLong(Field.java:527)
      7. java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1586)
      8. java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
      9. java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:408)
      10. java.security.AccessController.doPrivileged(Native Method)
      11. java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:400)
      12. java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
      13. java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:531)
      14. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
      15. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
      16. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
      17. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      18. java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      19. sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
      20. java.rmi.Naming.lookup(Naming.java:84)
      20 frames