Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Invalid Stackmap Frame exception
// the error message
java.lang.VerifyError: Inconsistent stackmap frames at branch target 108 in method
mypackage.model.BlobFile.saveString(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)
Lcom/google/appengine/api/blobstore/BlobKey; at offset 155
at mypackage.model.GroupEntity.savePrjCsv
// the static method signature
public static BlobKey saveString( String name, String content, String mime ) throws IOException {
// the call
BlobKey newblob = BlobFile.saveString( (String)(this.name + ".csv") ,csvstr, "text/csv" );
// bytecode for that call
NEW java/lang/StringBuilder
DUP
ALOAD 0
GETFIELD mypackage/model/GroupEntity.name : Ljava/lang/String;
INVOKESTATIC java/lang/String.valueOf(Ljava/lang/Object;)Ljava/lang/String;
INVOKESPECIAL java/lang/StringBuilder.<init>(Ljava/lang/String;)V
LDC ".csv"
INVOKEVIRTUAL java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder;
INVOKEVIRTUAL java/lang/StringBuilder.toString()Ljava/lang/String;
ALOAD 3
LDC "text/csv"
INVOKESTATIC mypackage/model/BlobFile.saveString(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/appengine/api/blobstore/BlobKey;
ASTORE 5
// bytecode for the method
// Method descriptor #89 (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/appengine/api/blobstore/BlobKey;
// Stack: 5, Locals: 11
public static com.google.appengine.api.blobstore.BlobKey saveString(java.lang.String name, java.lang.String content, java.lang.String mime) throws java.io.IOException;
[pc: 105, pc: 108] local: blobKey index: 10 type: com.google.appengine.api.blobstore.BlobKey
Stack map table: number of frames 2
[pc: 58, full, stack: {}, locals: {java.lang.String, java.lang.String, java.lang.String, com.google.appengine.api.files.FileService, com.google.appengine.api.files.AppEngineFile, int, com.google.appengine.api.files.FileWriteChannel, java.io.BufferedInputStream, byte[], int}]
[pc: 75, chop 1 local(s)]
@ZiglioNZ
Owner

// Compiled from BlobKey.java (version 1.6 : 50.0, super bit)
// Signature: Ljava/lang/Object;Ljava/io/Serializable;Ljava/lang/Comparable;
public final class com.google.appengine.api.blobstore.BlobKey implements java.io.Serializable, java.lang.Comparable {

// Field descriptor #12 Ljava/lang/String;
private final java.lang.String blobKey;

// Method descriptor #14 (Ljava/lang/String;)V
// Stack: 3, Locals: 2
public BlobKey(java.lang.String blobKey);
0 aload_0 [this]
1 invokespecial java.lang.Object() [17]
4 aload_1 [blobKey]
5 ifnonnull 18
8 new java.lang.IllegalArgumentException [19]
11 dup
12 ldc [21]
14 invokespecial java.lang.IllegalArgumentException(java.lang.String) [23]
17 athrow
18 aload_0 [this]
19 aload_1 [blobKey]
20 putfield com.google.appengine.api.blobstore.BlobKey.blobKey : java.lang.String [27]
23 return
Line numbers:
[pc: 0, line: 21]
[pc: 4, line: 22]
[pc: 8, line: 23]
[pc: 18, line: 25]
[pc: 23, line: 26]
Local variable table:
[pc: 0, pc: 24] local: this index: 0 type: com.google.appengine.api.blobstore.BlobKey
[pc: 0, pc: 24] local: blobKey index: 1 type: java.lang.String
Stack map table: number of frames 1
[pc: 18, full, stack: {}, locals: {com.google.appengine.api.blobstore.BlobKey, java.lang.String}]

// Method descriptor #31 ()Ljava/lang/String;
// Stack: 1, Locals: 1
public java.lang.String getKeyString();
0 aload_0 [this]
1 getfield com.google.appengine.api.blobstore.BlobKey.blobKey : java.lang.String [27]
4 areturn
Line numbers:
[pc: 0, line: 32]
Local variable table:
[pc: 0, pc: 5] local: this index: 0 type: com.google.appengine.api.blobstore.BlobKey

// Method descriptor #33 ()I
// Stack: 1, Locals: 1
public int hashCode();
0 aload_0 [this]
1 getfield com.google.appengine.api.blobstore.BlobKey.blobKey : java.lang.String [27]
4 invokevirtual java.lang.String.hashCode() : int [35]
7 ireturn
Line numbers:
[pc: 0, line: 37]
Local variable table:
[pc: 0, pc: 8] local: this index: 0 type: com.google.appengine.api.blobstore.BlobKey

// Method descriptor #37 (Ljava/lang/Object;)Z
// Stack: 2, Locals: 3
public boolean equals(java.lang.Object object);
0 aload_1 [object]
1 instanceof com.google.appengine.api.blobstore.BlobKey [2]
4 ifeq 24
7 aload_1 [object]
8 checkcast com.google.appengine.api.blobstore.BlobKey [2]
11 astore_2 [key]
12 aload_2 [key]
13 getfield com.google.appengine.api.blobstore.BlobKey.blobKey : java.lang.String [27]
16 aload_0 [this]
17 getfield com.google.appengine.api.blobstore.BlobKey.blobKey : java.lang.String [27]
20 invokevirtual java.lang.String.equals(java.lang.Object) : boolean [39]
23 ireturn
24 iconst_0
25 ireturn
Line numbers:
[pc: 0, line: 46]
[pc: 7, line: 47]
[pc: 12, line: 48]
[pc: 24, line: 50]
Local variable table:
[pc: 12, pc: 24] local: key index: 2 type: com.google.appengine.api.blobstore.BlobKey
[pc: 0, pc: 26] local: this index: 0 type: com.google.appengine.api.blobstore.BlobKey
[pc: 0, pc: 26] local: object index: 1 type: java.lang.Object
Stack map table: number of frames 1
[pc: 24, same]

// Method descriptor #31 ()Ljava/lang/String;
// Stack: 2, Locals: 1
public java.lang.String toString();
0 new java.lang.StringBuilder [45]
3 dup
4 invokespecial java.lang.StringBuilder() [46]
7 ldc [48]
9 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [52]
12 aload_0 [this]
13 getfield com.google.appengine.api.blobstore.BlobKey.blobKey : java.lang.String [27]
16 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [52]
19 ldc "> [54]
21 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [52]
24 invokevirtual java.lang.StringBuilder.toString() : java.lang.String [56]
27 areturn
Line numbers:
[pc: 0, line: 55]
Local variable table:
[pc: 0, pc: 28] local: this index: 0 type: com.google.appengine.api.blobstore.BlobKey

// Method descriptor #58 (Lcom/google/appengine/api/blobstore/BlobKey;)I
// Stack: 2, Locals: 2
public int compareTo(com.google.appengine.api.blobstore.BlobKey o);
0 aload_0 [this]
1 getfield com.google.appengine.api.blobstore.BlobKey.blobKey : java.lang.String [27]
4 aload_1 [o]
5 getfield com.google.appengine.api.blobstore.BlobKey.blobKey : java.lang.String [27]
8 invokevirtual java.lang.String.compareTo(java.lang.String) : int [61]
11 ireturn
Line numbers:
[pc: 0, line: 60]
Local variable table:
[pc: 0, pc: 12] local: this index: 0 type: com.google.appengine.api.blobstore.BlobKey
[pc: 0, pc: 12] local: o index: 1 type: com.google.appengine.api.blobstore.BlobKey

// Method descriptor #63 (Ljava/lang/Object;)I
// Stack: 2, Locals: 2
public bridge synthetic int compareTo(java.lang.Object x0);
0 aload_0 [this]
1 aload_1 [x0]
2 checkcast com.google.appengine.api.blobstore.BlobKey [2]
5 invokevirtual com.google.appengine.api.blobstore.BlobKey.compareTo(com.google.appengine.api.blobstore.BlobKey) : int [65]
8 ireturn
Line numbers:
[pc: 0, line: 13]
Local variable table:
[pc: 0, pc: 9] local: this index: 0 type: com.google.appengine.api.blobstore.BlobKey
[pc: 0, pc: 9] local: x0 index: 1 type: java.lang.Object
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.