[
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388198#comment-16388198
]
Eirik Bakke commented on NETBEANS-430:
--------------------------------------
Here is the stack trace for the case where the error was seen during a "Run
Focused Test Method" action:
{noformat}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.418 sec <<<
FAILURE! - in com.somepackage.evaluator.QueryEvaluator1Test
testDeepJoin(com.somepackage.evaluator.QueryEvaluator1Test) Time elapsed: 0.132
sec <<< ERROR!
java.lang.ClassFormatError: Absent Code attribute in method that is not native
or abstract in class file com/somepackage/query/QueryPropertyTypes$1
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.somepackage.query.QProp.<clinit>(QProp.java:48)
at
com.somepackage.evaluator.EvaluatorTestBase.createView(EvaluatorTestBase.java:175)
at
com.somepackage.evaluator.QueryEvaluator1Test.testDeepJoin(QueryEvaluator1Test.java:1272){noformat}
> "Invalid or deleted file", "Absent Code attribute" exceptions during Java
> editing and app/test running
> ------------------------------------------------------------------------------------------------------
>
> Key: NETBEANS-430
> URL: https://issues.apache.org/jira/browse/NETBEANS-430
> Project: NetBeans
> Issue Type: Bug
> Components: guibuilder - Code, java - Classfile, java - Source,
> projects - Maven
> Affects Versions: 9.0
> Environment: Apache NetBeans IDE Dev (Build
> incubator-netbeans-release-205-on-20180202), OpenJDK 64-Bit Server VM
> 9.0.4.1+11, Mac OS X version 10.9.5
> Reporter: Eirik Bakke
> Priority: Major
> Attachments: parseerror.txt
>
>
> While editing Java sources in a maven-based multi-module NetBeans Platform
> application on NetBeans 9.0 beta, the following IDE exception happens at
> irregular intervals, while editing unrelated files in a different module:
> {noformat}
> ALL [null]: An error occurred during parsing of
> '/var/folders/38/g_r_gdts0wx49_kbz5sjfj300000gn/T/vcs-1518825448194/vcs-1519673427266/FilterPanel.java'.
> Please report a bug against java/source and attach dump file
> '/Users/ebakke/Library/Application
> Support/NetBeans/dev/var/log/FilterPanel_8.dump'.
> {noformat}
> See the attached text file for the complete log dump and stack trace (can't
> attach the ".dump" file as it contains source code). The source file in
> question, FilterPanel.java, is generated in part by the Matisse GUI builder
> (so there's also a FilterPanel.form file). I've also got maven
> Compile-on-Save enabled.
> At other times, occasionally when running the same NetBeans Platform-based
> application, the application itself throws the following exception,
> mentioning the same file:
> {noformat}
> java.lang.ClassFormatError: Absent Code attribute in method that is not
> native or abstract in class file com/somepackage/project/filter/FilterPanel$2
> {noformat}
> See again the attached text file for the complete log dump and stack trace.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists