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 246226

Summary: NullPointerException at org.netbeans.modules.javaee.wildfly.config.ResourceConfigurationHelper.writeFile
Product: serverplugins Reporter: sylo
Component: WildFlyAssignee: ehsavoie <ehsavoie>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 211072
Attachments: stacktrace

Description sylo 2014-08-04 09:47:01 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1975-on-20140804)
VM: OpenJDK 64-Bit Server VM, 24.51-b03, OpenJDK Runtime Environment, 1.7.0_55-b14
OS: Linux

User Comments:
sylo: After issue 245643 is fixed, this exception is furthermore thrown when i open a project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javaee.wildfly.config.ResourceConfigurationHelper.writeFile(ResourceConfigurationHelper.java:78)
   at org.netbeans.modules.javaee.wildfly.config.EjbDeploymentConfiguration.getJboss(EjbDeploymentConfiguration.java:179)
   at org.netbeans.modules.javaee.wildfly.config.EjbDeploymentConfiguration.<init>(EjbDeploymentConfiguration.java:137)
   at org.netbeans.modules.javaee.wildfly.config.WildflyModuleConfigurationFactory.create(WildflyModuleConfigurationFactory.java:92)
   at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:802)
   at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:784)
Comment 1 sylo 2014-08-04 09:47:03 UTC
Created attachment 148507 [details]
stacktrace
Comment 2 ehsavoie 2014-08-06 07:39:09 UTC
Avoiding NPE
Comment 3 Quality Engineering 2014-08-07 02:22:02 UTC
Integrated into 'main-silver', will be available in build *201408070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/09ea6c4295d5
User: Emmanuel Hugonnet <ehsavoie@netbeans.org>
Log: Fixing bug #246226: Avoiding NPE
Comment 4 Quality Engineering 2014-08-07 14:46:58 UTC
Integrated into 'releases/release801', will be available in build *201408071314* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/6a8d7b70d86b
User: Emmanuel Hugonnet <ehsavoie@netbeans.org>
Log: Fixing bug #246226: Avoiding NPE