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 org.openide.nodes.FilterNode.<init> | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Jindrich Sedek <jsedek> |
Component: | Code | Assignee: | issues@serverplugins <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | bvansomeren, gianoglio, kolen, msilverboard, vkraemer |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=146795 | ||
Issue Type: | DEFECT | Exception Reporter: | 146795 |
Attachments: |
stacktrace
stacktrace |
Description
Jindrich Sedek
2009-02-26 18:00:55 UTC
Build: NetBeans IDE Dev (Build 200902231810) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: Just installed NetBeans, loaded plugins, and restarted it. Clicked Tools > Servers, and boom: NullPointerException. Stacktrace: java.lang.NullPointerException at org.openide.nodes.FilterNode.<init>(FilterNode.java:198) at org.openide.nodes.FilterNode.<init>(FilterNode.java:179) at org.openide.nodes.FilterNode.<init>(FilterNode.java:170) at org.netbeans.modules.server.ui.manager.ServerManagerPanel$ServerNode.<init>(ServerManagerPanel.java:503) at org.netbeans.modules.server.ui.manager.ServerManagerPanel$ServersChildren.createNodeForKey(ServerManagerPanel.java:469) at org.netbeans.modules.server.ui.manager.ServerManagerPanel$ServersChildren.createNodeForKey(ServerManagerPanel.java:455) Created attachment 77769 [details]
stacktrace
When I installed NetBeans, I installed it with Tomcat, but no GlassFish servers. After opening the Add Servers dialog and clicking through the NullPointerException message, the only server I see available is Jetty (Grails 1.0.3), since I've got a Grails project. Where's Tomcat? If I try to add a server, an error message pops up telling me that "No server plugins are installed in the IDE. The IDE needs a server plugin (e.g. GlassFish plugin) to enable registering and using a server. Use Plugins Manager to install server plugins." Missing plugins may be the cause of the NPE. I'm a bit unhappy about your decision to tie the server management interface to the GlassFish plugin though. Why should I have to install an entire new app server just to be able to manage Tomcat?? Build: NetBeans IDE Dev (Build 200902231810) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: See Issue 171544. I have reinstalled, this time, including GlassFish server. Error still occurs when I open Tools > Servers. Stacktrace: java.lang.NullPointerException at org.openide.nodes.FilterNode.<init>(FilterNode.java:198) at org.openide.nodes.FilterNode.<init>(FilterNode.java:179) at org.openide.nodes.FilterNode.<init>(FilterNode.java:170) at org.netbeans.modules.server.ui.manager.ServerManagerPanel$ServerNode.<init>(ServerManagerPanel.java:503) at org.netbeans.modules.server.ui.manager.ServerManagerPanel$ServersChildren.createNodeForKey(ServerManagerPanel.java:469) at org.netbeans.modules.server.ui.manager.ServerManagerPanel$ServersChildren.createNodeForKey(ServerManagerPanel.java:455) Created attachment 77784 [details]
stacktrace
Fixed in web-main d36b5db5af1b. However if this is a bug in server plugin not intentionally returning null it won't be visible in Server Manager. Adding Vince on cc as the gfv3 is the only server plugin actively developed right now. Integrated into 'main-golden', will be available in build *200903110259* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d36b5db5af1b User: phejl@netbeans.org Log: #159244 NullPointerException at org.openide.nodes.FilterNode.<init> verified. NetBeans IDE Dev (090316) |