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.
Build: NetBeans IDE Dev (Build 20080211093816) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments: I did: - open the Open Project dialog - select main/ant.browsetask and exception was thrown
Created attachment 56434 [details] stacktrace
this issue has more than 40 duplicates Jirko, is it reproducible? org.xml.sax.SAXParseException: Premature end of file. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.netbeans.core.xml.FileEntityResolver$DTDParser.parse(FileEntityResolver.java:430) at org.netbeans.core.xml.FileEntityResolver.getEnvForIDO(FileEntityResolver.java:171) at org.netbeans.core.xml.FileEntityResolver.getEnvironment(FileEntityResolver.java:164) at org.openide.loaders.Environment.findForOne(Environment.java:132) at org.openide.loaders.InstanceDataObject.getCookiesLookup(InstanceDataObject.java:603)
No, it is probably random.
Build: NetBeans IDE Dev (Build 200802110004) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments: Just started IDE.
Created attachment 56470 [details] stacktrace
Build: NetBeans IDE Dev (Build 200802140010) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments: Just started IDE.
Created attachment 56689 [details] stacktrace
THIS ISSUE HAS ALREADY 50 DUPLICATES
Build: NetBeans IDE 6.0 (Build 200711261600) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Windows 2000, 5.0, x86 User Comments:
Created attachment 56741 [details] stacktrace
Build: NetBeans IDE Dev (Build 200802140010) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Linux, 2.6.12-10-686, i386 User Comments: I started IDE for the first time with new Userdir
Created attachment 56964 [details] stacktrace
64 duplicates so far ....
Jardo, could you please look at it? It seems that it happens even with new installation with a fresh userdir. Are we able to find out the cause from the stacktraces?
This issue has already 100 duplicates
kcundick: Running through the tutorial at http://www.netbeans.org/kb/60/websvc/jax-ws.html, had been in the middle of creating the tutorial project. kcundick: Creating new webservice based on tutorial at http://www.netbeans.org/kb/60/websvc/jax-ws.html, under Creating a Web Service from a Java Class, step 2. kcundick: Building web services client from tutorial found here: http://www.netbeans.org/kb/60/websvc/jax-ws.html, Client 2: Servlet in Web Application; Step 1. kcundick, are you able to reproduce it with fresh userdir ?
The exceptions are unlikely duplicates, each of them is probably for different file on disk. The info about which file is corrupted is sent to each log file and can be accessed via the gesture collector. For example the stack that goes from: org.netbeans.modules.editor.mimelookup.impl.CompoundFolderChildren.rebuild(CompoundFolderChildren.java:167) means that there is some file inside Editors/ that is broken. I have added better logging, I do not think I can do anything else. changeset: 74443:c8d509bc2442 tag: tip parent: 74441:efb2032d1b64 parent: 74442:7dfa7ddbf28e user: Jaroslav Tulach <jtulach@netbeans.org> date: Thu Mar 20 13:55:30 2008 +0100 summary: Merge: #127117: Print out which file is corrupted when the parsing fails
This stacktrace shows up on each and every single nightly. It comes up as soon as NetBeans is opened, and it comes up pretty much every time a file is clicked from the project window. I suspected this was put in on purpose to discourage using nightlies for "real work", since the issue was there before 6.1 beta, but disappeared just for the beta. Then reappeared on later nightlies. It makes the 6.1 nightly builds unusable, it is very hard to look for other bugs when a pop up warning about an IOException is popping up every five seconds. At least on Linux 64 bit this issue is not hard to reproduce at all.
dheffelfinger, could you attach you messages.log file?
java.io.IOException: Parsing MultiFileObject@a331d3[Editors/text/javascript/Settings.settings]: Premature end of file. http://statistics.netbeans.org/analytics/detail.do?id=41192 java.io.IOException: Parsing MultiFileObject@4811a6da[Windows2Local/Components/CommonPalette.settings]: Premature end of file. http://statistics.netbeans.org/analytics/detail.do?id=42413
Also attach content of Editors/text/javascript/Settings.settings and other files that cause the failure.
I haven't seen it yet, many possible causes, the best would be to be able to reproduce. No idea how to find the cause.
Reassigning to new module owner jskrivanek.
the issue has 152 duplicates. Marking as candidate for 61 patch1
I can't reproduce this issue anymore. Lastly reported exception is from build 080406. Without steps to reproduce or offending *.settings file we can't investigate what is the cause.
As stated in my previous post, without being able to reproduce this issue we can't fix it. Feel free to reopen if you will face this issue in latest builds.
Verified.
This bug is still occurring (and has been reported hundreds of times) since it was closed last April. I'm re-opening for additional evaluation.
I added content of file to error message. But still it would be helpful to write-down steps to reproduce or attach offending file.
This exception occurs every time I start NetBeans. I think it has to do with the fact that I have a file open in the editor that no longer exists on disk. What additional information can I provide for you?
Integrated into 'main-golden', will be available in build *200902060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cdf7482c9a68 User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #127117 - print content of file in case of error.
Fixed. IOExceptions are ignored for Windows2Local files because they are harmless. Files can be corrupted if their saving is interrupted but windows system can recover from this. http://hg.netbeans.org/core-main/rev/ba1368ccf36e
Integrated into 'main-golden', will be available in build *200902251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ba1368ccf36e User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #127117 - ignore failures for Windows2Local because they are harmless. Files can be corrupted if their saving is interrupted but windows system can recover from this.
*** Issue 168429 has been marked as a duplicate of this issue. ***