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.
Summary: | org.apache.xerces.parsers.ObjectFactory$ConfigurationError: Provider org.apache.xerces.parsers.XIncludeAwareParserConfiguration could not be instantiated: java.lang.NullPointerException | ||
---|---|---|---|
Product: | third-party | Reporter: | juan_ozito <juan_ozito> |
Component: | -- Other -- | Assignee: | issues@third-party <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | abellotti, eaguirret, gatoedu88, gatojemg, jglick, Kisa-chan-, lloporock, madg, mmirilovic, pcalderon2003, resa_reyes |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=151943 | ||
Issue Type: | DEFECT | Exception Reporter: | 151943 |
Attachments: | stacktrace |
Created attachment 82939 [details]
stacktrace
Problem in ireport plugin. Giulio, can you please fix this problem? Thanks! 110 duplicates ... P1 ok, I'll try to fix the problem, but I need some help, because the Xerses stuff has always been a pain ... when deploying plugin in NetBeans. Is no org.apache.xerces.parsers.XIncludeAwareParserConfiguration really available in the platform? I think iReport screws up everything with this lines of code: if (System.getProperty("javax.xml.parsers.SAXParserFactory") == null) { System.setProperty ("javax.xml.parsers.SAXParserFactory","com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"); } if (System.getProperty("javax.xml.parsers.DocumentBuilderFactory") == null) { System.setProperty ("javax.xml.parsers.DocumentBuilderFactory","com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"); } if (System.getProperty("javax.xml.datatype.DatatypeFactory") == null) { System.setProperty ("javax.xml.datatype.DatatypeFactory","com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl"); } System.out.println("javax.xml.parsers.SAXParserFactory="+System.getProperty ("javax.xml.parsers.SAXParserFactory")); System.out.println("javax.xml.parsers.DocumentBuilderFactory="+System.getProperty ("javax.xml.parsers.DocumentBuilderFactory")); System.out.println("javax.xml.datatype.DatatypeFactory="+System.getProperty ("javax.xml.datatype.DatatypeFactory")); System.out.flush(); This was my workaround for problems I had related to the Xerces configuration. And it worked with NetBeans 6.5 solving a problem users had with xerces. Now it seems that this problem has solved in a different way which is no longer compatible with my fix. Any suggestion is really welcome. Giulio Please report against http://www.jaspersoft.com/ . Thanks in advance |
This issue was originally marked as duplicate of issue 149808, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.29-gentoo-r5, amd64 User Comments: GUEST: Program startup GUEST: I really thing thah is beacause I installed JasperReport and IReport plugin for Netbeans GUEST: al arrancar el programa, lo ultimo que estaba haciendo era una aplicacion web GUEST: Tyring to start Netbeans as always: double click on the desktop icon GUEST: Se instala Ireport y tuve el problea GUEST: open netbeans jurato: i tring to start netbeans ide 6.5 GUEST: ------------------------------------------------------------------------------- >Log Session: Friday, August 15, 2008 11:05:04 PM COT >System Info: Product Version = NetBeans IDE 6.5 Beta (Build 200808111757) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_06-b02 Java Home = C:\Archivos de programa\Java\jdk1.6.0_06\jre System Locale; Encoding = es_CO (nb); Cp1252 Home Directory = C:\Documents and Settings\Fernando Current Directory = C:\Archivos de programa\NetBeans 6.5 Beta User Directory = C:\Documents and Settings\Fernando\.netbeans\6.5beta Installation = C:\Archivos de programa\NetBeans 6.5 Beta\nb6.5 C:\Archivos de programa\NetBeans 6.5 Beta\ide10 C:\Archivos de programa\NetBea GUEST: Instale el complemento iReport, al terminar la instalacion se congelo el NetBeans, lo cerr� forzando la salida y al volverlo a iniciar marc� esta excepci�n GUEST: Abriendo el ide GUEST: install ireport plugin GUEST: I don't know what happenned!!! after i installed ireport this netbeans went crazy =( GUEST: Error al iniciar Netbeans 6.5 GUEST: starting netbeans GUEST: this a problem GUEST: installing ireport plugin GUEST: open netbeans GUEST: my netbeans IDE not started when I run. GUEST: Starting up Netbeans on Fedora 9 i386 juan_ozito: I was starting Netbeans with the command: /home/juan/netbeans/bin/netbeans --jdkhome /opt/sun-jdk-1.6.0.13 and it crash GUEST: I was trying to start the id Stacktrace: org.apache.xerces.parsers.ObjectFactory$ConfigurationError: Provider org.apache.xerces.parsers.XIncludeAwareParserConfiguration could not be instantiated: java.lang.NullPointerException at org.apache.xerces.parsers.ObjectFactory.newInstance(ObjectFactory.java:0) at org.apache.xerces.parsers.ObjectFactory.createObject(ObjectFactory.java:0) at org.apache.xerces.parsers.ObjectFactory.createObject(ObjectFactory.java:0) at org.apache.xerces.parsers.DOMParser.<init>(DOMParser.java:0) at org.apache.xerces.parsers.DOMParser.<init>(DOMParser.java:0) at com.jaspersoft.ireport.designer.IReportManager.loadConnection(IReportManager.java:232)