Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 252846 - org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not...
Status: VERIFIED INVALID
Product: updatecenters
Classification: Unclassified
Component: Pluginportal
8.0
All All
: P3 (vote)
: TBD
Assigned To: matthias42
issues@updatecenters
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-05 23:35 UTC by ted52452
Modified: 2015-06-12 16:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (4.03 KB, text/plain)
2015-06-05 23:35 UTC, ted52452
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ted52452 2015-06-05 23:35:46 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 8

User Comments:
GUEST: no idea.

a.riggio: no details. Happened on start.

a.riggio: Started the program

GUEST: Just launched NetBeans a few times and the same error appeared each time.

ted52452: this error start as open Netbeans 8.2

GUEST: Opening the IDE after one week of inactivity




Stacktrace: 
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
   at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
   at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
   at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1436)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:999)
Comment 1 ted52452 2015-06-05 23:35:49 UTC
Created attachment 154081 [details]
stacktrace
Comment 2 Tomas Hurka 2015-06-12 13:49:00 UTC
The exception is from com.google.code.nb_ldap_explorer.ssl_certificate_exception.Installer.restored()

It looks like it is caused by com.google.code.nb_ldap_explorer.ssl_certificate_exception module hosted at https://github.com/nb-ldap-explorer/nb-ldap-explorer/
Comment 3 matthias42 2015-06-12 16:13:52 UTC
The analysis is correct - I created a corresponding bug on the projects tracker on github:

https://github.com/nb-ldap-explorer/nb-ldap-explorer/issues/3

Please follow the issue there. I'll add better error handling, that should fix it.

As a workaround remove the defect document (Before you do though, I'd like to get a look at the first line of that file):

1. locate the netbeans userdir (http://wiki.netbeans.org/FaqWhatIsUserdir)
2. remove <nbuserdir>/config/SSLVerifier/hostnameAliasMap.xml

Closing the bug as invalid on the netbeans tracker.
Comment 4 Jiri Kovalsky 2015-06-12 16:17:23 UTC
Thanks Matthias for your evaluation. Verifying then.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo