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 199284 - IllegalArgumentException: When a DOMSource is used, saxon9-dom.jar must be on the classpath
Summary: IllegalArgumentException: When a DOMSource is used, saxon9-dom.jar must be on...
Status: RESOLVED DUPLICATE of bug 195921
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 199100 (view as bug list)
Depends on:
Blocks: 146082
  Show dependency tree
 
Reported: 2011-06-08 17:45 UTC by xtecuan
Modified: 2011-06-22 13:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176180


Attachments
stacktrace (1.33 KB, text/plain)
2011-06-08 17:45 UTC, xtecuan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xtecuan 2011-06-08 17:45:04 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

Stacktrace: 
java.lang.IllegalArgumentException: When a DOMSource is used, saxon9-dom.jar must be on the classpath
   at net.sf.saxon.Configuration.unravel(Configuration.java:2700)
   at net.sf.saxon.Controller.prepareInputTree(Controller.java:1664)
   at net.sf.saxon.Controller.transform(Controller.java:1589)
   at org.openide.xml.XMLUtil.write(XMLUtil.java:428)
   at org.netbeans.modules.autoupdate.services.Utilities.writeXMLDocumentToFile(Utilities.java:264)
   at org.netbeans.modules.autoupdate.services.Utilities.writeAdditionalInformationToCluster(Utilities.java:984)
Comment 1 xtecuan 2011-06-08 17:45:08 UTC
Created attachment 108811 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-06-12 16:25:34 UTC
$ find | grep -i saxon
./netbeans/ide/modules/ext/saxon9B.jar

For some reason XMLUtil prefer saxon9B which is broken...
Comment 3 Jaroslav Tulach 2011-06-12 19:43:25 UTC
*** Bug 199100 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Glick 2011-06-22 13:53:54 UTC
(In reply to comment #2)
> For some reason XMLUtil prefer saxon9B

The question is, for what reason - the fix of bug #146082 is supposed to prevent the Saxon factory from ever being offered. And of course it works for most people. Seems to be related to the JasperSoft plugin, which is I think very unstable; I would recommend you uninstall it (and complain to them).

*** This bug has been marked as a duplicate of bug 195921 ***