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 195921 - [jaspersoft] IllegalArgumentException: When a DOMSource is used, saxon9-dom.jar must be on the classpath
Summary: [jaspersoft] IllegalArgumentException: When a DOMSource is used, saxon9-dom.j...
Status: VERIFIED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P1 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
: 196082 199284 200110 200603 (view as bug list)
Depends on: 208369
Blocks:
  Show dependency tree
 
Reported: 2011-02-24 03:21 UTC by Exceptions Reporter
Modified: 2012-05-31 21:30 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175476


Attachments
stacktrace (9.44 KB, text/plain)
2011-02-24 03:21 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-02-24 03:21:10 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: OpenJDK 64-Bit Server VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

User Comments:
olehoppe: close project




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:433)
   at org.netbeans.spi.project.support.ant.AntProjectHelper$2.run(AntProjectHelper.java:345)
   at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
Comment 1 Exceptions Reporter 2011-02-24 03:21:15 UTC
Created attachment 106388 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-02-25 06:34:17 UTC
feel free to reassign
Comment 3 Jesse Glick 2011-02-28 15:49:39 UTC

*** This bug has been marked as a duplicate of bug 195626 ***
Comment 4 Jesse Glick 2011-02-28 18:57:03 UTC
*** Bug 196082 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Glick 2011-02-28 18:58:49 UTC
Something to do with JasperSoft iReports and its usage of Saxon. See bug #195626 comment #8 for discussion.
Comment 6 Exceptions Reporter 2011-05-04 00:39:31 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=175476
Comment 7 mgriffa 2011-06-19 00:56:21 UTC
I've found this bug, project.xml gets created empty.
Deactivating jasper reports plugins solves this issue.
Comment 8 Jesse Glick 2011-06-22 13:53:54 UTC
*** Bug 199284 has been marked as a duplicate of this bug. ***
Comment 9 Quality Engineering 2011-06-24 14:27:10 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/f8712904d85e
User: Jesse Glick <jglick@netbeans.org>
Log: Diagnostics for #195921 - IAE involving Saxon.
Probably triggered by JasperSoft iReport plugin, but could not reproduce this myself using 4.0.2 plugin in a NB dev build.
Comment 10 Jesse Glick 2011-07-13 22:21:01 UTC
*** Bug 200110 has been marked as a duplicate of this bug. ***
Comment 11 Jesse Glick 2011-07-29 18:32:25 UTC
core-main #1e884011921d
Comment 12 Quality Engineering 2011-07-30 13:47:38 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/1e884011921d
User: Jesse Glick <jglick@netbeans.org>
Log: #195921: [jaspersoft] IllegalArgumentException: When a DOMSource is used, saxon9-dom.jar must be on the classpath
Finally found a way to reproduce, though surely not the same as what users were reporting.
http://wiki.netbeans.org/NetBeansInOSGi#Demo
Comment 13 Jesse Glick 2011-08-02 14:48:24 UTC
*** Bug 200603 has been marked as a duplicate of this bug. ***
Comment 14 Jesse Glick 2011-08-02 18:28:57 UTC
Fix did not work in the case of bug #200603 due to a JAXP bug.
Comment 15 Jesse Glick 2011-08-02 18:30:34 UTC
core-main #269e1a79df2b
Comment 16 Quality Engineering 2011-08-03 13:53:06 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/269e1a79df2b
User: Jesse Glick <jglick@netbeans.org>
Log: #195921: [jaspersoft] IllegalArgumentException: When a DOMSource is used, saxon9-dom.jar must be on the classpath
Comment 17 Vladimir Riha 2011-08-26 05:52:58 UTC
Verified based on bug #200603