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 245643 - NullPointerException at org.netbeans.modules.javaee.wildfly.config.EjbDeploymentConfiguration.getJboss
Summary: NullPointerException at org.netbeans.modules.javaee.wildfly.config.EjbDeploym...
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-07-14 12:28 UTC by sylo
Modified: 2014-07-25 02:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208828


Attachments
stacktrace (2.22 KB, text/plain)
2014-07-14 12:28 UTC, sylo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sylo 2014-07-14 12:28:37 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: OpenJDK 64-Bit Server VM, 24.51-b03, OpenJDK Runtime Environment, 1.7.0_55-b14
OS: Linux

User Comments:
sylo: This exception is thrown if i try to open one of my projects

GUEST: Right clicking and choosing Run on a Java EE Maven project.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javaee.wildfly.config.EjbDeploymentConfiguration.getJboss(EjbDeploymentConfiguration.java:167)
   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)
   at org.openide.util.Mutex.readAccess(Mutex.java:295)
Comment 1 sylo 2014-07-14 12:28:38 UTC
Created attachment 148034 [details]
stacktrace
Comment 2 Quality Engineering 2014-07-25 02:36:18 UTC
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/afa183471b31
User: Emmanuel Hugonnet <ehsavoie@netbeans.org>
Log: Fixing #245643 : Avoiding NPE.