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: | NullPointerException at java.awt.Container.addNotify (MavenProblemNode cting ProblemsPanel off EQ) | ||
---|---|---|---|
Product: | platform | Reporter: | gaxzero <gaxzero> |
Component: | JDK Problems | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | aldobrucale, davotoula, dheffelfinger, jglick, lazarius, nickbence, onmomo, pavanvusirika, rptmaestro, simpatico, weolopez |
Priority: | P3 | Keywords: | THREAD |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=152426 | ||
Issue Type: | DEFECT | Exception Reporter: | 152426 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace |
Description
gaxzero
2009-11-03 18:49:15 UTC
Created attachment 90463 [details]
stacktrace
This issue already has 7 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=152426 reassigning to winsys for evaluation. Did you see anything similar? a jdk issue maybe? the affected code at org.netbeans.modules.maven.nodes.MavenProjectNode.java:280 looks like pretty much standard code. Any advice welcome. *** Issue 174146 has been marked as a duplicate of this issue. *** Maybe it could be caused by constructing ProblemsPanel out of AWT queue in MavenProblemNode? Created attachment 97754 [details]
stacktrace
Reassigning to default owner. ProblemsPanel is constructed on EQ by ShowProblemsAction.actionPerformed, so I don't see anything wrong in maven/src code. Seems Component.peer == null. While this may ultimately be a bug in NB, AWT is doing a very poor job of reporting the source of the bug. Created attachment 105430 [details]
stacktrace
Show and resolve problems on javase maven project
Created attachment 106122 [details]
stacktrace
Opening properties for a maven EJB project
Created attachment 106996 [details]
stacktrace
"Show Problems" on a Maven project.
The offending lines of code throwing the NPE have been removed in JDK 1.7 ContainerPeer cpeer = (ContainerPeer)peer; if (cpeer.isRestackSupported()) { cpeer.restack(); } |