This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243919 - com.sun.tools.classfile.ConstantPool$InvalidEntry: unexpected tag at #1: 105
Summary: com.sun.tools.classfile.ConstantPool$InvalidEntry: unexpected tag at #1: 105
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-18 15:20 UTC by nickdick74
Modified: 2014-06-13 07:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209152


Attachments
stacktrace (3.37 KB, text/plain)
2014-04-18 15:20 UTC, nickdick74
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nickdick74 2014-04-18 15:20:55 UTC
This bug was originally marked as duplicate of bug 229629, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 (Build 201403101706)
VM: OpenJDK 64-Bit Server VM, 24.51-b03, OpenJDK Runtime Environment, 1.7.0_51-b31
OS: Linux

User Comments:
nickdick74: Opening an already existing PHP project (copied from pc to my laptop)




Stacktrace: 
com.sun.tools.classfile.ConstantPool$InvalidEntry: unexpected tag at #1: 105
   at com.sun.tools.classfile.ConstantPool.<init>(ConstantPool.java:231)
   at com.sun.tools.classfile.ClassFile.<init>(ClassFile.java:82)
   at com.sun.tools.classfile.ClassFile.read(ClassFile.java:69)
   at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:303)
   at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:270)
   at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1159)
Comment 1 nickdick74 2014-04-18 15:20:57 UTC
Created attachment 146825 [details]
stacktrace
Comment 2 Svata Dedic 2014-06-13 07:43:30 UTC
Please attach the classfile that causes the problem. According to the stacktrace, the .class file was somehow damaged - the report says it has tag of value of 105 in its constant pool, which is not a permitted value.