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 62191 - A org.xml.sax.SAXParseException exception has occurred.
Summary: A org.xml.sax.SAXParseException exception has occurred.
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 61857 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-12 07:29 UTC by cspace
Modified: 2005-09-15 19:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cspace 2005-08-12 07:29:18 UTC
A org.xml.sax.SAXParseException exception has occurred.
Annotation: From
nbfs://nbhost/SystemFileSystem/org-netbeans-api-project-libraries/Libraries/kjava-ant-ext.xml
org.xml.sax.SAXParseException: Invalid library type j2se
	at
org.netbeans.modules.project.libraries.LibraryDeclarationHandlerImpl.end_library(LibraryDeclarationHandlerImpl.java:95)
	at
org.netbeans.modules.project.libraries.LibraryDeclarationParser.endElement(LibraryDeclarationParser.java:101)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(XMLDTDValidator.java:2108)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2059)
	at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at
org.netbeans.modules.project.libraries.LibraryDeclarationParser.parse(LibraryDeclarationParser.java:232)
	at
org.netbeans.modules.project.libraries.LibraryDeclarationParser.parse(LibraryDeclarationParser.java:185)
	at
org.netbeans.modules.project.libraries.LibrariesStorage.readLibrary(LibrariesStorage.java:177)
	at
org.netbeans.modules.project.libraries.LibrariesStorage.loadFromStorage(LibrariesStorage.java:109)
	at
org.netbeans.modules.project.libraries.LibrariesStorage.initStorage(LibrariesStorage.java:153)
	at
org.netbeans.modules.project.libraries.LibrariesStorage.getLibraries(LibrariesStorage.java:262)
	at
org.netbeans.modules.project.libraries.LibrariesModule.restored(LibrariesModule.java:37)
	at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:323)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:239)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:869)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:383)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:317)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:242)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:212)
	at org.netbeans.core.startup.Main.start(Main.java:360)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:90)
[catch] at java.lang.Thread.run(Thread.java:595)
Comment 1 jcatchpoole 2005-08-15 14:31:18 UTC
Thanks for the report.  Sounds like an issue in the IDE, not the website, so
re-assigning component.  Also dropping priority - pls see the bug reporting
guidelines at http://qa.netbeans.org/bugzilla/reportbug.html.

Also, you might want to add some more detail here, like :

- What version/build of NetBeans are you using ?
- What OS ?
- What JDK ?
- What did you do to see this problem, and is it repeatable ?

It is likely that without this info the development team wont be able to process
this issue.
Comment 2 Milan Kubec 2005-08-17 08:29:46 UTC
Please evaluate.
Comment 3 Jesse Glick 2005-08-17 11:28:03 UTC
Looks like the j2seplatform module is disabled??

Need a log file at a minimum to begin diagnosis.
Comment 4 Tomas Zezula 2005-08-17 14:37:57 UTC
The J2SELibraryTypeProvider is hosted in the java/j2seplatform. If this module
is disabled the j2se library is not red. If there is no java/j2seplatform module
the ide is not able to work with j2seprojects or webprojects (there is no even
j2se default platform).
Comment 5 Tomas Zezula 2005-09-15 18:18:20 UTC
Checking in src/org/netbeans/modules/project/libraries/LibrariesStorage.java;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/LibrariesStorage.java,v
 <--  LibrariesStorage.java
new revision: 1.21; previous revision: 1.20
done
Checking in
src/org/netbeans/modules/project/libraries/LibraryDeclarationConvertor.java;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/LibraryDeclarationConvertor.java,v
 <--  LibraryDeclarationConvertor.java
new revision: 1.3; previous revision: 1.2
done
Checking in
src/org/netbeans/modules/project/libraries/LibraryDeclarationConvertorImpl.java;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/LibraryDeclarationConvertorImpl.java,v
 <--  LibraryDeclarationConvertorImpl.java
new revision: 1.4; previous revision: 1.3
done
Checking in
src/org/netbeans/modules/project/libraries/LibraryDeclarationHandlerImpl.java;
/cvs/projects/libraries/src/org/netbeans/modules/project/libraries/LibraryDeclarationHandlerImpl.java,v
 <--  LibraryDeclarationHandlerImpl.java
new revision: 1.6; previous revision: 1.5
done
Comment 6 Tomas Zezula 2005-09-15 19:06:19 UTC
*** Issue 61857 has been marked as a duplicate of this issue. ***