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 149022 - [65cat]NullPointerException at sun.net.www.ParseUtil.toURI
Summary: [65cat]NullPointerException at sun.net.www.ParseUtil.toURI
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-03 06:01 UTC by rajivderas
Modified: 2010-10-01 03:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-10-03 06:01:06 UTC
Steps :
1) In a EJB module project open the new web service from WSDL wizard and enter the following line to the WSDL url
component - > http:// and then press the backspace button of the key board

Dev Build 200810011401

stacktrace :
-----------
java.lang.NullPointerException
        at sun.net.www.ParseUtil.toURI(ParseUtil.java:261)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:725)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:656)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:979)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)
        at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
        at org.netbeans.modules.websvc.jaxws.api.WsdlWrapperGenerator.parse(WsdlWrapperGenerator.java:78)
        at org.netbeans.modules.websvc.core.dev.wizard.WebServiceFromWSDLPanel$1.run(WebServiceFromWSDLPanel.java:134)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 Milan Kuchtiak 2008-11-27 11:05:14 UTC
Still valid. I got:
java.lang.IllegalArgumentException: protocol = http host = null
	at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:146)
	at org.netbeans.core.NbProxySelector.select(NbProxySelector.java:123)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:760)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)
	at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:184)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:798)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:255)
	at org.netbeans.modules.websvc.jaxws.api.WsdlWrapperGenerator.parse(WsdlWrapperGenerator.java:78)
	at org.netbeans.modules.websvc.core.dev.wizard.WebServiceFromWSDLPanel$1.run(WebServiceFromWSDLPanel.java:134)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 2 Denis Anisimov 2010-09-30 10:25:58 UTC
changeset:   178498:2fbb8d44a641
user:        Denis Anisimov <ads@netbeans.org>
date:        Thu Sep 30 13:56:21 2010 +0400
summary:     Fix for BZ#149022 -  [65cat]NullPointerException at sun.net.www.ParseUtil.toURI
Comment 3 Quality Engineering 2010-10-01 03:08:27 UTC
Integrated into 'main-golden', will be available in build *201010010000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2fbb8d44a641
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#149022 -  [65cat]NullPointerException at sun.net.www.ParseUtil.toURI