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 166837 - NullPointerException: The serverInstanceId parameter cannot be null
Summary: NullPointerException: The serverInstanceId parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 09:57 UTC by mslama
Modified: 2009-06-18 22:53 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 152435


Attachments
stacktrace (1.64 KB, text/plain)
2009-06-10 09:57 UTC, mslama
Details
stacktrace (3.86 KB, text/plain)
2009-06-18 22:53 UTC, diesil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2009-06-10 09:57:46 UTC
Build: NetBeans IDE Dev (Build 090610)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-12-generic, i386

User Comments:
mslama: Create and open sample project JSTLExamples



Stacktrace: 
java.lang.NullPointerException: The serverInstanceId parameter cannot be null
        at org.openide.util.Parameters.notNull(Parameters.java:86)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.getServerInstance(Deployment.java:562)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Capabilities.getPlatform(Capabilities.java:117)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Capabilities.isProfileSupported(Capabilities.java:107)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Capabilities.isEJB31Supported(Capabilities.java:91)
        at org.netbeans.modules.web.project.ui.EjbsNodeFactory$EjbNodeList.keys(EjbsNodeFactory.java:88)
Comment 1 mslama 2009-06-10 09:57:54 UTC
Created attachment 83386 [details]
stacktrace
Comment 2 mslama 2009-06-10 10:28:19 UTC
Reason is that I do not have web server configured. Problem is that I cannot work with this project => P2.
Comment 3 Petr Hejl 2009-06-15 14:30:44 UTC
Fixed in web-main 10ae8c70cad2.
Comment 4 Petr Hejl 2009-06-15 14:31:43 UTC
Sorry, wrong issue. Reopening.
Comment 5 Exceptions Reporter 2009-06-17 11:30:46 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152435
Comment 6 Petr Hejl 2009-06-17 14:00:13 UTC
Fixed in web-main142c946ecf30 .
Comment 7 Quality Engineering 2009-06-18 06:59:36 UTC
Integrated into 'main-golden', will be available in build *200906180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/142c946ecf30
User: phejl@netbeans.org
Log: #166837 NullPointerException: The serverInstanceId parameter cannot be null
Comment 8 diesil 2009-06-18 22:53:11 UTC
Build: NetBeans IDE Dev (Build 200906170201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-11-generic, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException: The serverInstanceId parameter cannot be null
        at org.openide.util.Parameters.notNull(Parameters.java:86)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.getServerInstance(Deployment.java:562)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Capabilities.getPlatform(Capabilities.java:117)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Capabilities.isProfileSupported(Capabilities.java:107)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Capabilities.isEJB30Supported(Capabilities.java:85)
        at org.netbeans.modules.web.project.WebProject$RecommendedTemplatesImpl.checkEnvironment(WebProject.java:1357)
Comment 9 diesil 2009-06-18 22:53:15 UTC
Created attachment 83780 [details]
stacktrace