Skip to main content

Mustang B47- XML problem (again)

5 replies [Last post]
dtrehas
Offline
Joined: 2004-03-15
Points: 0

I downloaded Java 1.6-b.47 using this URL:
http://www.java.net/download/jdk6/binaries/jdk-6_0-ea-bin-b47-windows-i5...

I used also Netbeans 4.2-dev (2005-08-07).
I got the same XML parsing error:

org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
at com.sun.org.apache.xerces.internal.dom.AttrNSImpl.setName(AttrNSImpl.java:146)
at com.sun.org.apache.xerces.internal.dom.AttrNSImpl.(AttrNSImpl.java:115)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createAttributeNS(CoreDocumentImpl.java:2109)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1622)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1586)
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1528)
at org.netbeans.spi.project.support.ant.AntProjectHelper.cloneSafely(AntProjectHelper.java:824)
at org.netbeans.spi.project.support.ant.AntProjectHelper.access$1400(AntProjectHelper.java:65)
at org.netbeans.spi.project.support.ant.AntProjectHelper$12.run(AntProjectHelper.java:802)
at org.openide.util.Mutex.readAccess(Mutex.java:195)
at org.netbeans.spi.project.support.ant.AntProjectHelper.getConfigurationFragment(AntProjectHelper.java:796)
at org.netbeans.spi.project.support.ant.AntProjectHelper$11.run(AntProjectHelper.java:712)
at org.openide.util.Mutex.readAccess(Mutex.java:195)
at org.netbeans.spi.project.support.ant.AntProjectHelper.getPrimaryConfigurationData(AntProjectHelper.java:709)
at org.netbeans.modules.java.j2seproject.UpdateHelper$3.run(UpdateHelper.java:135)
at org.openide.util.Mutex.readAccess(Mutex.java:195)
at org.netbeans.modules.java.j2seproject.UpdateHelper.getPrimaryConfigurationData(UpdateHelper.java:132)
at org.netbeans.modules.java.j2seproject.SourceRoots.readProjectMetadata(SourceRoots.java:387)
at org.netbeans.modules.java.j2seproject.SourceRoots.access$200(SourceRoots.java:54)
at org.netbeans.modules.java.j2seproject.SourceRoots$2.run(SourceRoots.java:127)
at org.openide.util.Mutex.readAccess(Mutex.java:195)
at org.netbeans.modules.java.j2seproject.SourceRoots.getRootProperties(SourceRoots.java:123)
at org.netbeans.modules.java.j2seproject.J2SESources.initSources(J2SESources.java:95)
at org.netbeans.modules.java.j2seproject.J2SESources.(J2SESources.java:67)
at org.netbeans.modules.java.j2seproject.J2SEProject.createLookup(J2SEProject.java:132)
at org.netbeans.modules.java.j2seproject.J2SEProject.(J2SEProject.java:92)
at org.netbeans.modules.java.j2seproject.J2SEProjectType.createProject(J2SEProjectType.java:41)
at org.netbeans.modules.project.ant.AntBasedProjectFactorySingleton.loadProject(AntBasedProjectFactorySingleton.java:165)
at org.netbeans.api.project.ProjectManager.createProject(ProjectManager.java:319)
at org.netbeans.api.project.ProjectManager.access$700(ProjectManager.java:44)
at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:233)
at org.openide.util.Mutex.readAccess(Mutex.java:234)
at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:180)
at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:68)
at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:68)
at org.netbeans.modules.i18n.I18nAction.enable(I18nAction.java:92)
at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:170)
at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:776)
at org.openide.awt.Actions.connect(Actions.java:131)
at org.openide.awt.Actions.connect(Actions.java:116)
at org.openide.awt.Actions$MenuItem.(Actions.java:1094)
at org.netbeans.modules.openide.awt.DefaultAWTBridge.createMenuPresenter(DefaultAWTBridge.java:38)
at org.openide.util.actions.CallableSystemAction.getMenuPresenter(CallableSystemAction.java:55)
at org.netbeans.modules.i18n.I18nGroupAction$LazyPopup.createMenuItems(I18nGroupAction.java:187)
at org.netbeans.modules.i18n.I18nGroupAction$LazyPopup.(I18nGroupAction.java:157)
at org.netbeans.modules.i18n.I18nGroupAction$LazyPopup.createLazyPopup(I18nGroupAction.java:163)
at org.netbeans.modules.i18n.I18nGroupAction.getMenuPresenter(I18nGroupAction.java:101)
at org.openide.actions.ToolsAction.generate(ToolsAction.java:153)
at org.openide.actions.ToolsAction.access$200(ToolsAction.java:47)
at org.openide.actions.ToolsAction$Inline.synchMenuPresenters(ToolsAction.java:217)
at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:150)
at org.openide.awt.MenuBar$LazyMenu.stateChanged(MenuBar.java:480)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:362)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:228)
at javax.swing.JMenu.setSelected(JMenu.java:280)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1251)
at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:83)
at javax.swing.MenuSelectionManager.clearSelectedPath(MenuSelectionManager.java:115)
at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.cancelPopupMenu(BasicPopupMenuUI.java:818)
at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.windowDeactivated(BasicPopupMenuUI.java:844)
at java.awt.AWTEventMulticaster.windowDeactivated(AWTEventMulticaster.java:342)
at java.awt.Window.processWindowEvent(Window.java:1469)
at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
at java.awt.Window.processEvent(Window.java:1412)
at java.awt.Component.dispatchEventImpl(Component.java:4359)
at java.awt.Container.dispatchEventImpl(Container.java:2018)
at java.awt.Window.dispatchEventImpl(Window.java:2066)
at java.awt.Component.dispatchEvent(Component.java:4193)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1826)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:858)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:572)
at java.awt.Component.dispatchEventImpl(Component.java:4231)
at java.awt.Container.dispatchEventImpl(Container.java:2018)
at java.awt.Window.dispatchEventImpl(Window.java:2066)
at java.awt.Component.dispatchEvent(Component.java:4193)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.SentEvent.dispatch(SentEvent.java:55)
at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:177)
at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:204)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:379)
at java.awt.Component.dispatchEventImpl(Component.java:4231)
at java.awt.Container.dispatchEventImpl(Container.java:2018)
at java.awt.Window.dispatchEventImpl(Window.java:2066)
at java.awt.Component.dispatchEvent(Component.java:4193)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.SentEvent.dispatch(SentEvent.java:55)
at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:177)
at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:204)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:280)
at java.awt.Component.dispatchEventImpl(Component.java:4231)
at java.awt.Container.dispatchEventImpl(Container.java:2018)
at java.awt.Window.dispatchEventImpl(Window.java:2066)
at java.awt.Component.dispatchEvent(Component.java:4193)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
[catch] at java.awt.SequencedEvent.dispatch(SequencedEvent.java:98)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:270)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:198)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:171)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:166)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:119)

When I was backtracked to B45 all saw to me to be fine.
Could you check this?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dtrehas
Offline
Joined: 2004-03-15
Points: 0

It is very simple to reproduce this error.
Download and install:

1. NetBeans IDE 4.2 daily build 200508071800.
2. JRE 1.6-b46 or JRE 1.6-b47

Start Netbeans. This error immediately will occur. Otherwise try to create a new project.
An error window will be invoked showing the aforementioned error.

Many thanx.

[i]
P.S. Something not relevant: Can someone inform us the font rasterizer bug fixing progress?[/i]

bhaktimehta
Offline
Joined: 2004-03-18
Points: 0

Since b46 JAXP team has integrated a lot of changes. I suspect this is causing the problems. I will forward your email to JAXP team to look into this issue. Meanwhile could you please elaborate how you are testing so that they could reproduce your problem.

Thanks,
Bhakti Mehta

hlavac
Offline
Joined: 2003-09-16
Points: 0

> Since b46 JAXP team has integrated a lot of changes.

Too bad they didnt care to mention them in the changes list ;-(

hlavac
Offline
Joined: 2003-09-16
Points: 0

I have worked around the problem with Netbeans by replacing builtin XML parser with Xerces by placing xercesImpl.jar in the ext directory of mustang

dtrehas
Offline
Joined: 2004-03-15
Points: 0

Thanx for the tip!