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 251350 - NullPointerException at java.io.File.<init>
Summary: NullPointerException at java.io.File.<init>
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: 2015-03-21 18:49 UTC by tanil27
Modified: 2015-04-05 20:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216274


Attachments
stacktrace (1.52 KB, text/plain)
2015-03-21 18:49 UTC, tanil27
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tanil27 2015-03-21 18:49:03 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 7

User Comments:
tanil27: Trying to create a message-driven bean using Wildfly as server




Stacktrace: 
java.lang.NullPointerException
   at java.io.File.<init>(File.java:277)
   at org.netbeans.modules.javaee.wildfly.config.WildflyMessageDestinationManager.<init>(WildflyMessageDestinationManager.java:96)
   at org.netbeans.modules.javaee.wildfly.ide.WildflyOptionalDeploymentManagerFactory.getMessageDestinationDeployment(WildflyOptionalDeploymentManagerFactory.java:119)
   at org.netbeans.modules.j2ee.deployment.plugins.spi.support.ProxyOptionalFactory.getMessageDestinationDeployment(ProxyOptionalFactory.java:114)
   at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getMessageDestinationDeploymentDisconnected(ServerInstance.java:833)
   at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getMessageDestinations(ServerInstance.java:848)
Comment 1 tanil27 2015-03-21 18:49:05 UTC
Created attachment 152765 [details]
stacktrace
Comment 2 Quality Engineering 2015-03-31 02:44:06 UTC
Integrated into 'main-silver', will be available in build *201503310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/abd76038ecb4
User: Emmanuel Hugonnet <ehsavoie@netbeans.org>
Log: Fixing NPE if config file is not correctly defined thus fixing issue #251350
Removing unsed parameter
Comment 3 tanil27 2015-04-05 18:22:27 UTC
I installed the new build and the error did not go; I still can not create a message-driven bean. How do I resolve this problem exactly?
Comment 4 tanil27 2015-04-05 20:01:18 UTC
Sorry I didn't know I had to re-initiate the server! All is fine now, many thanks!