java.lang.IllegalStateException: Unexpected remainder on the operand stack: -1

Stack Overflow | esaar | 4 months ago
  1. 0

    Unexpected remainder on the operand stack: -1

    GitHub | 4 months ago | orange-buffalo
    java.lang.IllegalStateException: Unexpected remainder on the operand stack: -1
  2. 0

    Analyzing a small class with one method causes java.lang.IllegalStateException: At least 4 values were expected on the stack!

    Google Groups | 3 months ago | Unknown author
    org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : 'C:\ws\sonar-cli\Test\src\test\Test.java'
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Analyzing a small class with one method causes java.lang.IllegalStateException: At least 4 values were expected on the stack!

    Google Groups | 3 months ago | Unknown author
    org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : 'C:\ws\sonar-cli\Test\src\test\Test.java'
  5. 0

    Analyzing a small class with one method causes java.lang.IllegalStateException: At least 4 values were expected on the stack!

    Google Groups | 3 months ago | Unknown author
    org.sonar.squidbridge.api.AnalysisException: SonarQube is unable to analyze file : 'C:\ws\sonar-cli\Test\src\test\Test.java'
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.IllegalStateException

    Unexpected remainder on the operand stack: -1

    at net.bytebuddy.utility.StackAwareMethodVisitor.drainStack()
  2. Byte Buddy (with dependencies)
    ExceptionTableSensitiveMethodVisitor.visitInsn
    1. net.bytebuddy.utility.StackAwareMethodVisitor.drainStack(StackAwareMethodVisitor.java:120)
    2. net.bytebuddy.asm.Advice$AdviceVisitor$WithExitAdvice.onVisitInsn(Advice.java:1704)
    3. net.bytebuddy.utility.ExceptionTableSensitiveMethodVisitor.visitInsn(ExceptionTableSensitiveMethodVisitor.java:288)
    3 frames
  3. Felix iPOJO
    ClassReader.accept
    1. org.objectweb.asm.ClassReader.a(Unknown Source)
    2. org.objectweb.asm.ClassReader.b(Unknown Source)
    3. org.objectweb.asm.ClassReader.accept(Unknown Source)
    4. org.objectweb.asm.ClassReader.accept(Unknown Source)
    4 frames
  4. Byte Buddy (with dependencies)
    AgentBuilder$Default$ExecutingTransformer$LegacyVmDispatcher.run
    1. net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:3018)
    2. net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:1617)
    3. net.bytebuddy.dynamic.scaffold.inline.RedefinitionDynamicTypeBuilder.make(RedefinitionDynamicTypeBuilder.java:171)
    4. net.bytebuddy.agent.builder.AgentBuilder$Default$Transformation$Simple$Resolution.apply(AgentBuilder.java:5849)
    5. net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.transform(AgentBuilder.java:6242)
    6. net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.access$900(AgentBuilder.java:6067)
    7. net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer$LegacyVmDispatcher.run(AgentBuilder.java:6566)
    8. net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer$LegacyVmDispatcher.run(AgentBuilder.java:6516)
    8 frames
  5. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  6. Byte Buddy (with dependencies)
    AgentBuilder$Default$ExecutingTransformer.transform
    1. net.bytebuddy.agent.builder.AgentBuilder$Default$ExecutingTransformer.transform(AgentBuilder.java:6180)
    1 frame
  7. Java RT
    URLClassLoader.findClass
    1. sun.instrument.TransformerManager.transform(TransformerManager.java:188)
    2. sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
    3. java.lang.ClassLoader.defineClass1(Native Method)
    4. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    5. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    6. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    7. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    8. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    9. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    10. java.security.AccessController.doPrivileged(Native Method)
    11. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    11 frames
  8. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1191)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1669)
    3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
    3 frames