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.
Summary: | A lot of NPE while indexing by xerces.internal.impl.XMLScanner | ||
---|---|---|---|
Product: | platform | Reporter: | Alexander Simon <alexvsimon> |
Component: | Filesystems | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PERFORMANCE |
Priority: | P4 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexander Simon
2012-11-02 12:15:56 UTC
Consider checking what is com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:503) in your JDK and what is causing your NPE. Sorry I do not understand your position.
We have a several issues:
1. Mime resolver parses whole document to detect mime type.
2. The exception while parsing of one document is repeated hundred times.
Both problem are performance problem.
IDE info:
>System Info:
Operating System = SunOS version 5.10 running on x86
Java; VM; Vendor = 1.6.0_33; Java HotSpot(TM) Client VM 20.8-b03; Sun Microsystems Inc.
Runtime = Java(TM) SE Runtime Environment 1.6.0_33-b03
Probably you suggest to fix JDK?
My position is clear: unless you provided version of JDK, your report was invalid. Too bad it is now valid. I will have to deal with it. I guess you can't reproduce the failure, right? > 1. Mime resolver parses whole document to detect mime type. It reads only the beginning of the file, see bug 230305. > 2. The exception while parsing of one document is repeated hundred times. http://hg.netbeans.org/core-main/rev/ba7d0c968fc1 Thank you for reporting. |