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 66967 - LayerUtils throws CCE under JDK 1.6.0-ea-b56
Summary: LayerUtils throws CCE under JDK 1.6.0-ea-b56
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: TAX/Lib (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 70506 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-17 15:23 UTC by Martin Krauskopf
Modified: 2013-10-09 23:02 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
CCE (1.70 KB, text/plain)
2005-10-17 15:23 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2005-10-17 15:23:10 UTC
See the attachment. To reproduce run either Action wizard or
o.n.m.a.p.ui.wizard.action.DataModelTest
Comment 1 Martin Krauskopf 2005-10-17 15:23:48 UTC
Created attachment 26034 [details]
CCE
Comment 2 Jesse Glick 2005-10-17 23:10:49 UTC
Easily reproduced.
Comment 3 Jesse Glick 2005-10-17 23:14:49 UTC
The source:

http://svn.apache.org/viewcvs.cgi/xerces/java/tags/Xerces-J_2_6_2/src/org/apache/xerces/parsers/SAXParser.java?rev=319801&view=markup

Possibly the same bug as my #37994. But I do not know why b56 should differ from
b55 in this regard.

Note that we are using an old version of Xerces, though apparently the most
recent has its own problems (issue #66563).
Comment 4 Jesse Glick 2005-10-18 18:41:57 UTC
The culprit is
/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration in the
jre/lib/resources.jar for b56:

---%<---
com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration
---%<---

This is a JDK bug, I think, but we can probably work around it.
Comment 5 Jesse Glick 2005-10-18 18:50:25 UTC
Yup, have fix that works. But need to file a JDK bug and do some more testing.
Comment 6 Jesse Glick 2005-10-18 20:23:27 UTC
Put in a workaround:

Checking in xml/tax/lib/src/org/netbeans/tax/io/XNIBuilder.java;
/cvs/xml/tax/lib/src/org/netbeans/tax/io/XNIBuilder.java,v  <--  XNIBuilder.java
new revision: 1.16; previous revision: 1.15
done
Comment 7 Jesse Glick 2005-10-18 20:38:57 UTC
Also related:

Checking in ProjectXMLManagerTest.java;
/cvs/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ProjectXMLManagerTest.java,v
 <--  ProjectXMLManagerTest.java
new revision: 1.26; previous revision: 1.25
done
Comment 8 Jesse Glick 2005-12-09 01:38:05 UTC
The JDK bug was fixed in b61 so I will roll back the workarounds.
Comment 9 Jesse Glick 2005-12-09 19:09:02 UTC
committed   * Up-To-Date  1.28       
apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ProjectXMLManagerTest.java
committed   * Up-To-Date  1.17       
xml/tax/lib/src/org/netbeans/tax/io/XNIBuilder.java
Comment 10 Jesse Glick 2005-12-16 21:41:36 UTC
*** Issue 70506 has been marked as a duplicate of this issue. ***
Comment 11 Jesse Glick 2005-12-16 21:43:06 UTC
Cf. issue #67078.