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.
Summary: | Exception in NetBeans output when using JavaEE project inside Composite App | ||
---|---|---|---|
Product: | soa | Reporter: | Edward Chou <edwardchou> |
Component: | Composite Application | Assignee: | Roderico Cruz <rcruz> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Edward Chou
2006-12-18 21:51:17 UTC
Here is another exception I see sometimes when I am adding a JavaEE module to CompApp project. java.lang.NullPointerException at org.netbeans.modules.compapp.projects.jbi.ui.customizer.VisualClassPathItem.equals(VisualClassPathItem.java:345) at java.util.ArrayList.indexOf(ArrayList.java:216) at org.netbeans.modules.compapp.projects.jbi.ui.customizer.JbiProjectProperties$PathParser.encode(JbiProjectProperties.java:1643) at org.netbeans.modules.compapp.projects.jbi.ui.customizer.JbiProjectProperties$PropertyInfo.encode(JbiProjectProperties.java:1225) at org.netbeans.modules.compapp.projects.jbi.ui.customizer.JbiProjectProperties$1.run(JbiProjectProperties.java:778) at org.openide.util.Mutex.writeAccess(Mutex.java:356) at org.netbeans.modules.compapp.projects.jbi.ui.customizer.JbiProjectProperties.store(JbiProjectProperties.java:768) at org.netbeans.modules.compapp.projects.jbi.ui.actions.AddProjectAction.perform(AddProjectAction.java:209) at org.netbeans.modules.compapp.projects.jbi.ui.JbiModuleViewNode$2.actionPerformed(JbiModuleViewNode.java:173) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:377) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:232) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1157) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1198) at java.awt.Component.processMouseEvent(Component.java:5999) at javax.swing.JComponent.processMouseEvent(JComponent.java:3240) at java.awt.Component.processEvent(Component.java:5764) at java.awt.Container.processEvent(Container.java:1984) at java.awt.Component.dispatchEventImpl(Component.java:4407) at java.awt.Container.dispatchEventImpl(Container.java:2042) at java.awt.Component.dispatchEvent(Component.java:4237) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4248) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3912) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3842) at java.awt.Container.dispatchEventImpl(Container.java:2028) at java.awt.Window.dispatchEventImpl(Window.java:2405) at java.awt.Component.dispatchEvent(Component.java:4237) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:600) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) Additional information for the first issue: java.lang.IllegalArgumentException: Project JbiProject[MasterFileObject@6a1fbe [C:/nbprojects/CompositeApp2]] not created by org.netbeans.api.project.ProjectManager@a32803 or was already deleted I found out that this only happens when I am developing the Jbi Composite App Netbeans module project, that is, I do a "Install and Reload module in Target Platform" of this module project. And if I left a Composite App project open from a previous run, then I will hit this exception. This doesn't not happen when I do a straight build of the Enterprise pack and start a Netbeans instance from build. I am not sure if this is a bug in Jbi CompositeApp project or not. The first exception has nothing to do with JavaEE project. It seems that it only applies to the CompApp Project System developers. A temporary workaround is to use the "Run Project" action instead of "Install/Reload in Target Platform". If you do use the "Install/Reload in Target Platform" action, the exception is only thrown when you try to close an previously opened project. Another related observation I have is that most of the context sensitive actions on the compapp project node are disabled if you use the "Install/Reload in Target Platform" action. I think if we can fix the second exception which is a totally unrelated issue, then we can downgrade this ticket to P3/P4. Is the second exception still reproducible? The second exception seems to be a duplicate of http://www.netbeans.org/issues/show_bug.cgi?id=94916 which has been fixed. Kindly verify that this is the case, then we can downgrade this to P3 or P4. The second exception is an intermitent error I encountered a while back, since then I haven't encounter this exception anymore. And Bug #94916 does fix it, so I am setting this bug to P3. Obsolete milestone, please reevaluate Rico, would you please evaluate it (set the proper milestone). The first exception is encountered only if the IDE is started by using the Install/Reload target platform menu. In short, the regular Netbeans user will not encounter this. I think this should be downgraded into a P4. |