Menu

#84 VerifyError Unable to pop operand off an empty stack

closed-fixed
None
7
2005-06-21
2005-01-31
No

We have some code that uses the axis.jar (version 1.1)
from http://ws.apache.org/axis/

We are using JDK 1.5.0_01 and we get the error below:
With proguard 3.1 and 3.2 we get the error unless we
use the -dontoptimize option. With proguard 2.1 this
error does not occur.

Exception in thread "main" java.lang.VerifyError:
(class: org/apache/axis/encoding/ser/ArraySerializer,
method: serialize signature:
(Lkl;Lorg/xml/sax/Attributes;Ljava/lang/Object;LG;)V)
Unable to pop operand off an empty stack
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
org.apache.axis.encoding.ser.ArraySerializerFactory.class$(ArraySeria
lizerFactory.java:66)
at
org.apache.axis.encoding.ser.ArraySerializerFactory.<init>(ArraySeria
lizerFactory.java:66)
...

Related

Bugs: #627

Discussion

  • Eric Lafortune

    Eric Lafortune - 2005-01-31
    • priority: 5 --> 7
    • assigned_to: nobody --> lafortune
     
  • Eric Lafortune

    Eric Lafortune - 2005-01-31

    Logged In: YES
    user_id=555208

    Thanks for the report. I'll look into it.

     
  • Clemens eisserer

    Logged In: YES
    user_id=431708

    I also ran into this problem, I get the following error:

    java.lang.VerifyError: (class:
    HTTPClient/DefaultAuthHandler, method: digest_fixup
    signature:
    (LHTTPClient/AuthorizationInfo;LHTTPClient/Request;LHTTPClient/AuthorizationInfo;LHTTPClient/Response;)LHTTPClient/AuthorizationInfo;)
    Unable to pop operand off an empty stack
    at
    HTTPClient.AuthorizationInfo.<clinit>(AuthorizationInfo.java:100)
    at
    HTTPClient.AuthorizationModule.requestHandler(AuthorizationModule.java:114)
    at
    HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2622)
    at
    HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2507)
    at HTTPClient.HTTPConnection.Put(HTTPConnection.java:1167)
    at HTTPClient.HTTPConnection.Put(HTTPConnection.java:1148)
    at
    com.agosys.unicom.http.HttpClientJ2SE.createConnection(HttpClientJ2SE.java:60)
    at com.agosys.unicom.http.HttpClient.flush(HttpClient.java:113)
    at
    com.agosys.unicom.http.HttpClient.initConnection(HttpClient.java:72)
    at com.agosys.unicom.http.HttpClient.<init>(HttpClient.java:51)
    at
    com.agosys.unicom.http.HttpClientJ2SE.<init>(HttpClientJ2SE.java:23)
    at
    palme.communication.PalmeClientNetworkJ2SE.createClientNetwork(PalmeClientNetworkJ2SE.java:34)
    at
    palme.communication.PalmeClientNetwork.<init>(PalmeClientNetwork.java:15)
    at
    palme.communication.PalmeClientNetworkJ2SE.<init>(PalmeClientNetworkJ2SE.java:26)
    at palme.client.PalmeRoot.initPalmeClient(PalmeRoot.java:47)
    at
    palme.client.PalmeAppletContainer.start(PalmeAppletContainer.java:27)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    when optimizing the attached jar.

    If I obfuscate it I get an null-pointer-exception
    immediatly, but I dont know from where since I keep all
    needed methods and classes.

    Please have a look, and thanks for proguard its one of the
    best tools I know - its simply great!

    Btw. I use jre-1.4.2 and my code is compiled for 1.1.

     
  • Eric Lafortune

    Eric Lafortune - 2005-02-15

    Logged In: YES
    user_id=555208

    The optimization bug showing up with the Axis library has
    been fixed for the upcoming version 3.3. So far, I haven't
    tested the fix with the HTTPClient library.

     
  • Eric Lafortune

    Eric Lafortune - 2005-06-21
    • status: open --> closed-fixed
     

Log in to post a comment.