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 262706 - NullPointerException at name.dougmcneil.plsql.jdbc.Driver.acceptsURL
Summary: NullPointerException at name.dougmcneil.plsql.jdbc.Driver.acceptsURL
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: ehsavoie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-07 00:43 UTC by emiddio
Modified: 2016-07-22 01:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225032


Attachments
stacktrace (3.18 KB, text/plain)
2016-07-07 00:43 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2016-07-07 00:43:03 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Windows 7

User Comments:
emiddio: asking for xml tag options

emiddio: edit persistence.xml




Stacktrace: 
java.lang.NullPointerException
   at name.dougmcneil.plsql.jdbc.Driver.acceptsURL(Driver.java:102)
   at org.netbeans.modules.javaee.wildfly.config.WildflyDatasource.guessDriverClassname(WildflyDatasource.java:94)
   at org.netbeans.modules.javaee.wildfly.config.WildflyDatasource.<init>(WildflyDatasource.java:84)
   at org.netbeans.modules.javaee.wildfly.config.xml.ds.WildflyDatasourcesHandler.endElement(WildflyDatasourcesHandler.java:110)
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1783)
Comment 1 emiddio 2016-07-07 00:43:05 UTC
Created attachment 160289 [details]
stacktrace
Comment 2 ehsavoie 2016-07-21 15:28:37 UTC
Should be fixed in changeset 299309:387a9dca6db2
Comment 3 Quality Engineering 2016-07-22 01:51:32 UTC
Integrated into 'main-silver', will be available in build *201607220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/387a9dca6db2
User: Emmanuel Hugonnet <ehsavoie@netbeans.org>
Log: FIxing bug #262706 as name.dougmcneil.plsql.jdbc.Driver might be created through a plugin and launch a NPE if no oracle driver has been defined.