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.
1. Try to create new C++ project 2. See it fail with not being able to read from configurations.xml I'm about to attach a "Premature end of file" SAXParseException from messages.log.
Created attachment 51571 [details] SAXParseException
Created attachment 51573 [details] configurations.xml
Hm, interesting: I tried closing Netbeans, starting it again. Then I could create one project, but the second attempt failed. However, the configurations.xml files are identical (I tried a 'diff').
Do you have Linux OS? Are you trying to create project in the local folder or using nfs?
Yes, Linux + NFS -- SuSE 10.0, kernel 2.6.13-15.11-smp, Sun ST5320 NFS server.
Thanks for info, I will try to reproduce on Suse 10 as it works just fine for Ubuntu+NFS
I've just downloaded the latest nightly (200710231200) of the NB/cnd version, and here I cannot reproduce the problem. So it may be beta-2 specific and already fixed?
I have never seen or heard about this particular problem before and don't recalling fixing any bugs in this area after beta2. Is your hardware fast? But is good news that you cannot reproduce with latest bits. Please let us know if you see it again.
Since this works on latest build, the defect is closed.
closed as not reproducible
I'm back... Latest nightly (200712110000): Create new C++ project from existing source, with existing makefile. Everything goes well until I get error about not being able to read from configurations.xml: premature end-of-file, says the IDE log. So, I look in my nbproject dir and see this: -rw-r--r-- 1 xxx xxx 0 2007-12-11 13:56 configurations.xml -rw-r--r-- 1 xxx xxx 867 2007-12-11 13:56 Makefile-Default.mk -rw-r--r-- 1 xxx xxx 3275 2007-12-11 13:56 Makefile-impl.mk drwxr-xr-x 2 xxx xxx 4096 2007-12-11 13:56 private -rw-r--r-- 1 xxx xxx 0 2007-12-11 13:56 project.properties -rw-r--r-- 1 mae mae 406 2007-12-11 13:56 project.xml No wonder we'll hit premature end-of-file on configurations.xml... The IDE log shows the SAXParseException, but nothing prior, so I have no clue why this fails. So far it's happened three times today, initially on nightly 200712050000; I then tried to upgrade to the most recent nightly but the problem remains. With 6.0 (release), I'm (so far) able to create projects without problems, so it looks like a regression. So, now for some merry speculation on my side: * When I first posted this bug, the xml file looked sane, yet I got the premature-end-of-file exception nonetheless. * Now, when I'm re-opening the bug, the file isn't sane -- it's empty. And I get a premature-end-of-file exception. Since the file is rewritten occasionally, might we have a race condition somewhere, along the lines of: 1. thread A: Creates/opens the file for writing 2. thread B: Opens the file for reading, but there's nothing, so we get the exception (3. thread A would then write the file and close it) but we never get to 3 nowadays, whereas we did when I first filed the bug?
Created attachment 54485 [details] messages.log with NPE and ArrayIndexOutOfBoundsException
I've reproduced the same problem few times for today with latest build 2007122400 on Sparc-Solaris platform. After error I've got an NPE. Steps to reproduce: create HelloApp project in newly created directory. Messages.log is attached
latest NPE is similar to NPE in issue 124951 (They have identical first three lines)
I would say that NPE stacktraces in these two issues are mostly identical except a few lines what I guess is a consequence of the recent code rewriting. So for me these issues look similar. Also taking into account that the latest NPE has nothing to do with the original bug's description I think this issue can be considered as fixed.
could not reproduce SAXParseException on build 2008010900