java.lang.VerifyError: class msjava.msnet.MSNetTCPConnection overrides final method afterPropertiesSet.()V

SpringSource Issue Tracker | Andreas Nyberg | 5 years 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 Details -- Date: Tue Mar 20 16:34:21 GMT 2012 Message: Internal Error Severity: Error Product: Eclipse SDK 3.7.1.v201109091335 (org.eclipse.sdk.ide) Plugin: org.springframework.ide.eclipse.aop.core Session Data: eclipse.buildId=M20110909-1335 java.version=1.6.0_27 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -refresh -plugincustomization C:\MSDE\andreasn\tools\eclipseide\3.7prod.2\eclipse\configuration\msde-global-eclipse-prefs.ini -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -clean -refresh -plugincustomization C:\MSDE\andreasn\tools\eclipseide\3.7prod.2\eclipse\configuration\msde-global-eclipse-prefs.ini -showlocation Exception Stack Trace: java.lang.VerifyError: class msjava.msnet.MSNetTCPConnection overrides final method afterPropertiesSet.()V at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethods(Class.java:1791) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:451) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AspectDefinitionMatcher.internalMatches(AspectDefinitionMatcher.java:272) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AspectDefinitionMatcher.matches(AspectDefinitionMatcher.java:92) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob$1.doWithActiveProjectClassLoader(AopReferenceModelBuilderJob.java:251) at org.springframework.ide.eclipse.core.java.JdtUtils$DefaultProjectClassLoaderSupport.executeCallback(JdtUtils.java:889) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBean(AopReferenceModelBuilderJob.java:207) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBeans(AopReferenceModelBuilderJob.java:279) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBeansConfig(AopReferenceModelBuilderJob.java:302) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesFromBeansConfigSets(AopReferenceModelBuilderJob.java:401) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForFile(AopReferenceModelBuilderJob.java:359) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopModel(AopReferenceModelBuilderJob.java:453) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.run(AopReferenceModelBuilderJob.java:159) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 5 years ago | Andreas Nyberg
    java.lang.VerifyError: class msjava.msnet.MSNetTCPConnection overrides final method afterPropertiesSet.()V
  2. 0

    -- Error Details -- Date: Tue Mar 20 16:34:21 GMT 2012 Message: Internal Error Severity: Error Product: Eclipse SDK 3.7.1.v201109091335 (org.eclipse.sdk.ide) Plugin: org.springframework.ide.eclipse.aop.core Session Data: eclipse.buildId=M20110909-1335 java.version=1.6.0_27 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -refresh -plugincustomization C:\MSDE\andreasn\tools\eclipseide\3.7prod.2\eclipse\configuration\msde-global-eclipse-prefs.ini -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -clean -refresh -plugincustomization C:\MSDE\andreasn\tools\eclipseide\3.7prod.2\eclipse\configuration\msde-global-eclipse-prefs.ini -showlocation Exception Stack Trace: java.lang.VerifyError: class msjava.msnet.MSNetTCPConnection overrides final method afterPropertiesSet.()V at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethods(Class.java:1791) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:451) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AspectDefinitionMatcher.internalMatches(AspectDefinitionMatcher.java:272) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AspectDefinitionMatcher.matches(AspectDefinitionMatcher.java:92) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob$1.doWithActiveProjectClassLoader(AopReferenceModelBuilderJob.java:251) at org.springframework.ide.eclipse.core.java.JdtUtils$DefaultProjectClassLoaderSupport.executeCallback(JdtUtils.java:889) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBean(AopReferenceModelBuilderJob.java:207) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBeans(AopReferenceModelBuilderJob.java:279) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBeansConfig(AopReferenceModelBuilderJob.java:302) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesFromBeansConfigSets(AopReferenceModelBuilderJob.java:401) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForFile(AopReferenceModelBuilderJob.java:359) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopModel(AopReferenceModelBuilderJob.java:453) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.run(AopReferenceModelBuilderJob.java:159) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 5 years ago | Andreas Nyberg
    java.lang.VerifyError: class msjava.msnet.MSNetTCPConnection overrides final method afterPropertiesSet.()V
  3. 0

    Bug 353467 – VerifyError: Expecting a stackmap frame

    eclipse.org | 1 year ago
    java.lang.VerifyError: Expecting a stackmap frame at branch target 151 in method org.lds.keystone.view.ProjectController.getLinks(Ljavax/servlet/http/HttpServletRequest;)Ljava/util/List; at offset 43
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    VerifyError on JBoss 6

    Stack Overflow | 2 years ago | Augusto
    java.lang.VerifyError: (class: br/com/re/lojas/bo/nfe/ServicosNfeBOBean, method: consultarNotaFiscal signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Map;) Incompatible object argument for function call
  6. 0

    java.lang.VerifyError after running the DataNucleus Enhancer

    Stack Overflow | 6 years ago | joecks
    java.lang.VerifyError: (class: de/suur/wr/generated/FlagType$FlagTypeRemoveFlagsItem, method: setItem signature: (Ljava/lang/Object;)V) Incompatible argument to function </code></pre> <p>The original declaration of the method is: </p> <pre><code> public void setItem(String value) { this.item = value; } </code></pre> <p>I figured out that java adds some synthetic bridge methods to the bytecode, which would indeed match the error (see below). But usually this methods can coexist peacefully. Maybe the error is not related to the enhancer at all, but however I have no other intuition I thought it is related. What could be the reasons? </p> <pre><code> // Method descriptor #53 (Ljava/lang/Object;)V // Stack: 2, Locals: 2 public bridge synthetic void setItem(java.lang.Object arg0); 0 aload_0 [this] 1 aload_1 [arg0] 2 checkcast java.lang.String [54] 5 invokevirtual de.suur.wr.generated.FlagType$FlagTypeRemoveFlagsItem.setItem(java.lang.String) : void [56] 8 return Line numbers: [pc: 0, line: 1] </code></pre> <p>and the original method:</p> <pre><code> // Method descriptor #36 (Ljava/lang/String;)V // Stack: 2, Locals: 2 public void setItem(java.lang.String value); 0 aload_0 [this] 1 aload_1 [value] 2 putfield de.suur.wr.generated.FlagType$FlagTypeRemoveFlagsItem.item : java.lang.String [33] 5 return Line numbers: [pc: 0, line: 314] [pc: 5, line: 315] Local variable table: [pc: 0, pc: 6] local: this index: 0 type: de.suur.wr.generated.FlagType.FlagTypeRemoveFlagsItem [pc: 0, pc: 6] local: value index: 1 type: java.lang.String </code></pre> <p>I'm used the datanucleus(DN) and the datanucleus maven plugin(DNM2) in servile combinations: (DN,DNM2) 1.1.4 , 2.0.0 and 2.1.1, 2.1.1 . The stacktrace is </p> <pre><code> at java.lang.Class.getDeclaredMethods0(Native Method)

  1. iferca 1 times, last 1 month ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.VerifyError

    class msjava.msnet.MSNetTCPConnection overrides final method afterPropertiesSet.()V

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    Class.getDeclaredMethods
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    5. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    6. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    12. java.lang.Class.getDeclaredMethods0(Native Method)
    13. java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    14. java.lang.Class.getDeclaredMethods(Class.java:1791)
    14 frames
  3. Spring Core
    ReflectionUtils.doWithMethods
    1. org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467)
    2. org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:451)
    2 frames
  4. org.springframework.ide
    AopReferenceModelBuilderJob.run
    1. org.springframework.ide.eclipse.aop.core.internal.model.builder.AspectDefinitionMatcher.internalMatches(AspectDefinitionMatcher.java:272)
    2. org.springframework.ide.eclipse.aop.core.internal.model.builder.AspectDefinitionMatcher.matches(AspectDefinitionMatcher.java:92)
    3. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob$1.doWithActiveProjectClassLoader(AopReferenceModelBuilderJob.java:251)
    4. org.springframework.ide.eclipse.core.java.JdtUtils$DefaultProjectClassLoaderSupport.executeCallback(JdtUtils.java:889)
    5. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBean(AopReferenceModelBuilderJob.java:207)
    6. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBeans(AopReferenceModelBuilderJob.java:279)
    7. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForBeansConfig(AopReferenceModelBuilderJob.java:302)
    8. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesFromBeansConfigSets(AopReferenceModelBuilderJob.java:401)
    9. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForFile(AopReferenceModelBuilderJob.java:359)
    10. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopModel(AopReferenceModelBuilderJob.java:453)
    11. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.run(AopReferenceModelBuilderJob.java:159)
    11 frames
  5. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame