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.

Bug 85747 - Select root method of nb project throws NPEs
Summary: Select root method of nb project throws NPEs
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 09:39 UTC by ehucka
Modified: 2013-10-16 07:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2006-09-26 09:39:03 UTC
jdk 1.6.0, build 060926

Select Root Method of an nb project throws many NPEs:

java.lang.NullPointerException
        at
org.netbeans.modules.profiler.j2ee.roots.EJBModelContributor.performContribution(EJBModelContributor.java:64)
        at
org.netbeans.modules.profiler.ui.rootselector.spi.AbstractModelContributor.contribute(AbstractModelContributor.java:51)
        at
org.netbeans.modules.profiler.ui.rootselector.model.AbstractProjectElement.gatherContributions(AbstractProjectElement.java:152)
        at
org.netbeans.modules.profiler.ui.rootselector.model.AbstractProjectElement.getContained(AbstractProjectElement.java:92)
        at
org.netbeans.modules.profiler.ui.rootselector.model.CompositeProjectModel.getContained(CompositeProjectModel.java:53)
        at
org.netbeans.modules.profiler.ui.rootselector.model.CompositeProjectModel.getContained(CompositeProjectModel.java:53)
        at
org.netbeans.modules.profiler.ui.rootselector.model.CompositeProjectModel.getContained(CompositeProjectModel.java:53)
        at
org.netbeans.modules.profiler.ui.rootselector.model.CompositeProjectModel.accept(CompositeProjectModel.java:37)
        at
org.netbeans.modules.profiler.ui.rootselector.gui.nodes.ProjectCheckTreeNode$CheckTreeBuildingVisitor.visit(ProjectCheckTreeNode.java:56)
        at
org.netbeans.modules.profiler.ui.rootselector.gui.nodes.ProjectCheckTreeNode.applyBuilders(ProjectCheckTreeNode.java:123)
        at
org.netbeans.modules.profiler.ui.rootselector.gui.nodes.ProjectTreeModel.refreshChildren(ProjectTreeModel.java:52)
        at
org.netbeans.modules.profiler.ui.rootselector.gui.nodes.LazyCheckTreeNode$1.run(LazyCheckTreeNode.java:118)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
Comment 1 Tomas Hurka 2006-09-26 09:41:38 UTC
Please, tell us which project you selected.
Comment 2 ehucka 2006-09-26 10:19:40 UTC
I'm sorry, it was project 'utilities'. It occures in Select Root Methods dialog
after expanding of its root node (named by the project).
Comment 3 J Bachorik 2007-01-05 10:18:45 UTC
This is should be no longer valid after rewrite to Retouche
Comment 4 ehucka 2007-01-11 17:15:13 UTC
v