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 246200 - NullPointerException at org.netbeans.modules.javaee.wildfly.config.xml.ConfigurationParser.listDatasources
Summary: NullPointerException at org.netbeans.modules.javaee.wildfly.config.xml.Config...
Status: RESOLVED WONTFIX
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-02 06:38 UTC by jocke
Modified: 2014-11-10 10:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209858


Attachments
stacktrace (1.31 KB, text/plain)
2014-08-02 06:38 UTC, jocke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jocke 2014-08-02 06:38:00 UTC
Build: NetBeans IDE Dev (Build 201408010001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Mac OS X

User Comments:
GUEST: Unable to create PersistenceUnit when using WildFly application server.

GUEST: Trying to generate entities from database

jocke: creating new entity class with new persistence unit




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javaee.wildfly.config.xml.ConfigurationParser.listDatasources(ConfigurationParser.java:76)
   at org.netbeans.modules.javaee.wildfly.config.WildflyDatasourceManager.getDatasources(WildflyDatasourceManager.java:105)
   at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDatasources(ServerInstance.java:733)
   at org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider.getServerDatasources(J2eeModuleProvider.java:207)
   at org.netbeans.modules.j2ee.common.DatasourceUIHelper.getDatasources(DatasourceUIHelper.java:627)
   at org.netbeans.modules.j2ee.common.DatasourceUIHelper.access$200(DatasourceUIHelper.java:98)
Comment 1 jocke 2014-08-02 06:38:03 UTC
Created attachment 148479 [details]
stacktrace
Comment 2 ehsavoie 2014-08-06 07:40:19 UTC
Could you attach your configuration files (persistence unit and wildfly config file) ?
Comment 3 ehsavoie 2014-11-10 10:21:53 UTC
Without any feedback for 2 months I'm closing it.