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 257805

Summary: AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
Product: platform Reporter: Exceptions Reporter <exceptions_reporter>
Component: ExecutionAssignee: Petr Hejl <phejl>
Status: NEW ---    
Severity: normal CC: jaycverg
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205916
Attachments: stacktrace

Description Exceptions Reporter 2016-02-01 16:19:04 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Linux

User Comments:
jaycverg: The web project has a WSDL Client. When compiling it using netbeans 7.4 with Glassfish 4.0 it doesn't continue and prints "Error starting wsimport". But when I changed the Glassfish version to Glassfish 3.1.2.2 in the project properties, it proceeds with compilation.

This project was created using NetBeans 7.2.1 using Glassfish 3.1.2.2.

GUEST: deploy after have creted a web service client with wdsl from file

GUEST: It's produced when I run "Clean and Build" on my project.

jaycverg: I opened a project previously using NetBeans 7.2 with Glassfish 3.1.2.2 and tried to build it in NetBeans Beta 8 with Glassfish 4.0

jaycverg: This happened when doing a Clean and Build or just doing a Build on a web project that has a jax-ws client and using glassfish 4.0 as its application server.

The project was created with a NetBeans 7.2 with a glassfish of version 3.1.2.2.

The project will properly compile and run when I configured the project in NetBeans 7.4 to use my glassfish 3.1.2.2.

GUEST: Please provide a description of the problem or the steps to reproduce




Stacktrace: 
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
   at com.sun.xml.bind.v2.util.XmlFactory.createDocumentBuilderFactory(XmlFactory.java:192)
   at com.sun.tools.xjc.reader.internalizer.DOMForest.<init>(DOMForest.java:162)
   at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.resetSchema(SchemaCompilerImpl.java:215)
   at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.<init>(SchemaCompilerImpl.java:114)
   at com.sun.tools.xjc.api.XJC.createSchemaCompiler(XJC.java:62)
   at com.sun.tools.ws.wscompile.WsimportOptions.<init>(WsimportOptions.java:154)
Comment 1 Exceptions Reporter 2016-02-01 16:19:06 UTC
Created attachment 158341 [details]
stacktrace