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 194782 - [70cat] NullPointerException at org.netbeans.spi.debugger.ui.AttachType$ContextAware.getTypeDisplayName
Summary: [70cat] NullPointerException at org.netbeans.spi.debugger.ui.AttachType$Conte...
Status: RESOLVED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 16:54 UTC by gholmer
Modified: 2011-01-28 12:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 176212


Attachments
stacktrace (2.42 KB, text/plain)
2011-01-27 16:54 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2011-01-27 16:54:54 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-6548-on-110127)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Linux

User Comments:
gholmer: Clicked "Attach Debugger" from the toolbar.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.spi.debugger.ui.AttachType$ContextAware.getTypeDisplayName(AttachType.java:180)
   at org.netbeans.modules.debugger.ui.actions.ConnectorPanel.<init>(ConnectorPanel.java:118)
   at org.netbeans.modules.debugger.ui.actions.ConnectAction.actionPerformed(ConnectAction.java:132)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
Comment 1 gholmer 2011-01-27 16:54:59 UTC
Created attachment 105411 [details]
stacktrace
Comment 2 Martin Entlicher 2011-01-28 10:36:31 UTC
You have a corrupted installation. Your messages.log file is full of java.util.zip.ZipException: error in opening zip file
As a result there is a bunch of ClassNotFoundExceptions.
Won't fix, since your build is unusable anyway.
Comment 3 gholmer 2011-01-28 12:50:19 UTC
I realized the problem later. What happened is that I installed a ZIP build from Hudson (http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/dist/) and then went to Tools/Plugins and removed C/C++ and PHP modules. I realize that this is an uncommon use case, but should it have caused this many problems?