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 269234 - org.xml.sax.SAXParseException
Summary: org.xml.sax.SAXParseException
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-05 11:38 UTC by jjespada
Modified: 2016-12-05 11:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (181.13 KB, text/plain)
2016-12-05 11:38 UTC, jjespada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jjespada 2016-12-05 11:38:43 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.5-b02

My System variables are:

JAVA=C:\Program Files\Java
JDK_7=C:\Program Files\Java\jdk1.7.0_71
JRE_7=C:\Program Files\Java\jre7
JRE_8=C:\Program Files\Java\jdk1.8.0_05\jre
JDK_8=C:\Program Files\Java\jdk1.8.0_05
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_05

Netbeans IDE 8.0.2

I've created the SpellCheckerService with:
Server: GlashFish Server 4
Java EE Vercsion: Java EE 7 Web

When adding Web Service Client, and then introduce the 
WSDL URL: http://wsf.cdyne.com/SpellChecker/check.asmx?wsdl
and Finish, the IDE shows
...
analizando WSDL...

C:\Users\jorgejose.espada\Documents\NetBeansProjects\SpellCheckerService\nbproject\jaxws-build.xml:31: 
java.lang.AssertionError: org.xml.sax.SAXParseException; systemId: jar:file:/C:/Program%20Files/glassfish-4.0/glassfish/modules/jaxb-osgi.jar!/com/sun/tools/xjc/reader/xmlschema/bindinfo/binding.xsd; lineNumber: 52; columnNumber: 88; schema_reference: fallo al leer el documento de esquema 'xjc.xsd' porque no se permite el acceso 'file' debido a una restricción definida por la propiedad accessExternalSchema. 
	at com.sun.tools.xjc.SchemaCache.newValidator(SchemaCache.java:80)
...

I've probed to add "jaxp.properties" file to JAVA_HOME\lib,
JRE_8\lib and JRE_7\lib, but it doesn't seems to have effect.
Comment 1 jjespada 2016-12-05 11:38:50 UTC
Created attachment 163152 [details]
IDE log
Comment 2 jjespada 2016-12-05 11:41:40 UTC
The content of jaxp.properties is:
javax.xml.accessExternalSchema=all