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.
Build: NetBeans IDE Dev (Build 200807101204) VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27 OS: Linux, 2.6.24-19-generic, i386 User Comments: trying to use swing app framework inside of a maven2 module... :o
Created attachment 64673 [details] stacktrace
Build: NetBeans IDE Dev (Build 200807101204) VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27 OS: Linux, 2.6.24-19-generic, i386 User Comments: doing "fix imports" in a maven2 project with appframework.jar attached as a local artifact
Created attachment 64676 [details] stacktrace
working with maven2 projects: - created a local artifact containing swing app framework - created a project depending upon this local artifact - tried to create a class extending org.jdesktop.application.Application The exception attached is thrown whenever trying to use any swing-appframework-related classes in custom source code in this maven2 project, no matter whether doing "Fix Imports", manually importing classes and trying to save, ... . So far, even building a class "extending Application" is impossible so together with maven2 the swing-appframework is unusable at the moment.
I am sorry, I am not familiar neither with Maven nor with NetBeans Maven plug-in. Could you, please, provide more detailed steps to reproduce e.g. how to create the mentioned local artifact and how to create a project depending on it. Thank you in advance.
Hmmm, repeatedly failed to reproduce this after changing my project structure, it seems to break down on being an issue with the maven2 plugin and its module handling. Gonna evaluate and eventually file an issue against maven2. Thanks for your time, nevertheless.