[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2020-10-26 Thread Eirik Bakke (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220983#comment-17220983
 ] 

Eirik Bakke commented on NETBEANS-430:
--

Still encountered this error on NetBeans 12.1 with the IDE running on Java 
15.0.1 and a maven-based multi-module NetBeans Platform project compiling and 
running on JDK 11.0.9, with nbjavac installed and Compile-on-Save enabled.

{noformat}
java.lang.ClassFormatError: Absent Code attribute in method that is not native 
or abstract in class file com/ultorg/datamodel/proptypes/ViewPropertyTypes$2
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:287)
at 
org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:246)
at org.netbeans.ProxyClassLoader.doFindClass(ProxyClassLoader.java:174)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:125)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at com.ultorg.datamodel.view.CProp.(CProp.java:45)
at com.ultorg.datamodel.query.Queries.(Queries.java:69)
at 
com.ultorg.project.result.ViewResultProvider.(ViewResultProvider.java:93)
at 
com.ultorg.project.installer.Installer.performWarmupTasks(Installer.java:139)
at 
com.ultorg.project.installer.Installer.lambda$restored$3(Installer.java:121)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event$1AWTWorker.run(NbMutexEventProvider.java:133)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
[catch] at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

{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: Class Files causing Trouble.zip, 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_kbz5sjfj30gn/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 atta

[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-04-26 Thread Basti Kamp (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453652#comment-16453652
 ] 

Basti Kamp commented on NETBEANS-430:
-

Not sure if it is usefull, but I got this errors with NetBeans 8.2, too.

> "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: Class Files causing Trouble.zip, 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_kbz5sjfj30gn/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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-04-06 Thread Eirik Bakke (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16429098#comment-16429098
 ] 

Eirik Bakke commented on NETBEANS-430:
--

A similar error is reported at 
https://issues.apache.org/jira/browse/NETBEANS-564 , with confirmed steps to 
reproduce. In the latter case the file is in an Ant project as opposed to a 
Maven project.

> "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: Class Files causing Trouble.zip, 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_kbz5sjfj30gn/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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-03-28 Thread Eirik Bakke (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418229#comment-16418229
 ] 

Eirik Bakke commented on NETBEANS-430:
--

Also tried editing the file after the clean build to force a Compile-on-Save. 
The class file was regenerated, but the error does _not_ show up merely as a 
result of doing a save. So I'm still not quite sure how to reproduce it.

> "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: Class Files causing Trouble.zip, 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_kbz5sjfj30gn/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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-03-28 Thread Eirik Bakke (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418222#comment-16418222
 ] 

Eirik Bakke commented on NETBEANS-430:
--

The error occurred again today when I was starting my NetBeans Platform app: 
"java.lang.ClassFormatError: Absent Code attribute in method that is not native 
or abstract in class file com/sieuferd/datamodel/ViewPropertyTypes$3".

This is a Maven-based NetBeans platform application with Compile-on-Save 
enabled, so there are two different versions of the ViewPropertyTypes.class and 
ViewPropertyTypes$3.class files: one pair in the JAR file that was built on the 
last clean build (with last-modified-date March 21), and one pair in the 
"common-datamodel/target/classes/com/sieuferd/datamodel" directory that were 
generated by Compile-on-Save (with last-modified-date March 23).

Note that I have never edited the ViewPropertyTypes source since the last 
Compile-on-Save, but Compile-on-Save has regenerated it for some reason. If I 
do edit the source file, the class files are indeed regenerated with a 
last-modified-date of today. The error still occurs, until the next clean build.

The pairs of class files are attached, along with the console output.

> "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: Class Files causing Trouble.zip, 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_kbz5sjfj30gn/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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-03-28 Thread Eirik Bakke (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417353#comment-16417353
 ] 

Eirik Bakke commented on NETBEANS-430:
--

Will do. Thank you!

> "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_kbz5sjfj30gn/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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-03-28 Thread Dusan Balek (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417118#comment-16417118
 ] 

Dusan Balek commented on NETBEANS-430:
--

Could you please attach the affected class file to the issue the next time you 
encounter this error? Thanks

> "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_kbz5sjfj30gn/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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-03-07 Thread Eirik Bakke (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16390368#comment-16390368
 ] 

Eirik Bakke commented on NETBEANS-430:
--

Here is another variation of the "An error occurred during parsing" error that 
I'm getting. Not sure whether this is one or several unrelated bugs.

{noformat}
SEVERE [org.openide.util.Exceptions]
An error occurred during parsing of 
'/Users/ebakke/ZRoot/somepackage/Modules/server-evaluator/src/main/java/com/somepackage/evaluator/impl/QueryBlock.java'.
 Please report a bug against java/source and attach dump file 
'/Users/ebakke/Library/Application 
Support/NetBeans/dev/var/log/QueryBlock.dump'.
An error occurred during parsing of 
'/Users/ebakke/ZRoot/somepackage/Modules/server-evaluator/src/main/java/com/somepackage/evaluator/impl/QueryBlock.java'.
 Please report a bug against java/source and attach dump file 
'/Users/ebakke/Library/Application 
Support/NetBeans/dev/var/log/QueryBlock.dump'.
Caused: java.lang.ClassCastException: 
com.sun.tools.javac.tree.JCTree$JCConditional cannot be cast to 
com.sun.tools.javac.tree.JCTree$JCMethodInvocation
at 
com.sun.tools.javac.comp.ArgumentAttr$ResolvedMethodType.dup(ArgumentAttr.java:588)
at 
com.sun.tools.javac.comp.ArgumentAttr.processArg(ArgumentAttr.java:236)
at 
com.sun.tools.javac.comp.ArgumentAttr.processArg(ArgumentAttr.java:215)
at 
com.sun.tools.javac.comp.ArgumentAttr.visitConditional(ArgumentAttr.java:251)
at 
com.sun.tools.javac.tree.JCTree$JCConditional.accept(JCTree.java:1385)
at 
com.sun.tools.javac.comp.ArgumentAttr.attribArg(ArgumentAttr.java:193)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:656)
at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:767)
at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2156)
at 
org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1689)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:658)
at 
com.sun.tools.javac.comp.ArgumentAttr.visitNewClass(ArgumentAttr.java:316)
at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1689)
at 
com.sun.tools.javac.comp.ArgumentAttr.attribArg(ArgumentAttr.java:193)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:656)
at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:767)
at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1953)
at 
com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:658)
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:711)
at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1729)
at 
com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1452)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:658)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:734)
at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:758)
at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1245)
at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:69)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:658)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:734)
at com.sun.tools.javac.comp.Attr.visitForeachLoop(Attr.java:1311)
at 
com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1160)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:658)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:734)
at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:758)
at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1245)
at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:69)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:658)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:734)
at 
org.netbeans.modules.java.source.nbjavac.parsing.PartialReparserService.reattrMethodBody(PartialReparserService.java:178)
[catch] at 
org.netbeans.modules.java.source.nbjavac.parsing.PartialReparserImpl.reparseMethod(PartialReparserImpl.java:164)
at 
org.netbeans.modules.java.source.parsing.JavacParser.parseImpl(JavacParser.java:397)
at 
org.netbeans.modules.java.source.parsing.JavacParser.parse(JavacParser.java:330)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(Task

[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-03-06 Thread Eirik Bakke (JIRA)

[ 
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.(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_kbz5sjfj30gn/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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-430) "Invalid or deleted file", "Absent Code attribute" exceptions during Java editing and app/test running

2018-03-06 Thread Eirik Bakke (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388191#comment-16388191
 ] 

Eirik Bakke commented on NETBEANS-430:
--

I've gotten many more "Absent Code attribute" errors in various situations 
since first reporting this error, including for files not generated by the 
Matisse GUI builder. Current situations in which I got the "Absent Code 
attribute" error:

1) At irregular intervals when editing unrelated Java files, as initially 
reported above.

2) Sometimes while running a NetBeans Platform app, as also mentioned before.

3) When running a test method using the "Run Focused Test Method" action (got 
this error on two occasions so far). In this case the error again mentions 
another class file than the one containing the test. The error can be "fixed" 
by making some arbitrary change in the class mentioned by the error and saving 
it. I suspect the error might be related to Compile-on-Save functionality.

I never saw these errors in 8.2.

> "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_kbz5sjfj30gn/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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists