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 - NullPointerException at org.netbeans.modules.javaee.wildfly.config.ResourceConfigurationHelper.writeFile
Summary: NullPointerException at org.netbeans.modules.javaee.wildfly.config.ResourceCo...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: ehsavoie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-04 09:47 UTC by sylo
Modified: 2014-08-07 15:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 211072


Attachments
stacktrace (2.01 KB, text/plain)
2014-08-04 09:47 UTC, sylo
Details

Note You need to log in before you can comment on or make changes to this bug.
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