Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: Tool Integrations
-
Labels:None
-
Environment:Netbeans
-
ICEsoft Forum Reference:
-
Workaround Exists:Yes
-
Workaround Description:
Description
Create Maven Web Project first as File -> New Project -> Maven -> Maven Web Application -> Finish (Noticed that this is JavaEE profile but no server selction in project wizard)
Add web framework. Right Click on project -> Properties -> Frameworks -> Add -> ICEfaces -> OK
Netbeans throw EXCEPTION:
Unexpected exception:
The serverInstanceId parameter cannot be null
More info:
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:539)
at org.icefaces.netbeans.modules.web.frameworks.wizard.ICEfacesModuleExtender.classExistsInServer(ICEfacesModuleExtender.java:264)
at org.icefaces.netbeans.modules.web.frameworks.wizard.ICEfacesModuleExtender.extend(ICEfacesModuleExtender.java:328)
at org.netbeans.modules.maven.webframeworks.WebFrameworksPanel.applyChanges(WebFrameworksPanel.java:126)
at org.netbeans.modules.maven.webframeworks.WebFrameworksPanelProvider$1$1.run(WebFrameworksPanelProvider.java:83)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
This is an issue with netbeans maven web project as it does not provide server instance id. ICEfaces integration requires server instance to check server classes and adjust configurations.
Activity
Liming Wu
created issue -
Liming Wu
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Liming Wu [ liming.wu ] |
Liming Wu
made changes -
Salesforce Case | [] | |
Security | Private [ 10001 ] |
Liming Wu
made changes -
Salesforce Case | [] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] |
Liming Wu
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
This issue is fixed.
But since nb's maven web project doesn't have server instance id, ICEfaces integration cannot detect if jsf ri is included, cannot detect if it is gf 3. Consequence is you may have to adjust settings for dependent libraries.