-
Bug
-
Resolution: Fixed
-
Low
-
None
https://answers.atlassian.com/questions/309405/pluginparseexception
[INFO] [talledLocalContainer] Caused by: java.io.IOException: Error parsing class file
[INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.util.ClassBinaryScanner.scanClassBinary(ClassBinaryScanner.java:66) ~[atlassian-plugins-osgi-3.0.22.jar:na]
[INFO] [talledLocalContainer] ... 18 common frames omitted
[INFO] [talledLocalContainer] Caused by: java.lang.ArrayIndexOutOfBoundsException: 18
[INFO] [talledLocalContainer] at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:448) ~[bndlib-1.43.0-atlassian-1.jar:na]
[INFO] [talledLocalContainer] at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:369) ~[bndlib-1.43.0-atlassian-1.jar:na]
[INFO] [talledLocalContainer] at aQute.lib.osgi.Clazz.parseClassFileWithCollector(Clazz.java:359) ~[bndlib-1.43.0-atlassian-1.jar:na]
[INFO] [talledLocalContainer] ... 18 common frames omitted
After switching to compile with a java source level of 1.8 I couldn't run my plugin.
The plugin builds successfully, when I turn off code on java 1.8 and set plugin source level to 1.7