31 duplicates so far ... last two from 081017 ... we need to do at least evaluation for NB 6.5
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.5.0_14-b03
OS: Windows XP, 5.1, x86
STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException: Error generated in parsing
Please when this happens check content of file $NBINSTDIR/nb6.1/servicetag/registration.xml. This exception usualy
happens when xml is empty. I want to make sure it is this case. Another issue is why it hapens ie. why incorrect content
is generated. This file is either generated by installer or by IDE on first start when registration.xml is not found.
Then I need to know if you installed IDE by installer or from zip file.
If registration.xml file is empty it could be workarounded either by skipping registration or IDE could regenerate
(incomplete) registration.xml file (as IDE does not know about another components installed with IDE). Still better than
Simple workaround is to disable registration using command line option -J-Dnb.registration.enabled=false
I have the followed this workaround:
The file ~/.netbeans-registration/6.5/registration.xml isempty, so I have this file erased and restarted the IDE.
After this step, the file was not regenerated, but the IDe start now without this problem.
For information: I have installed with netbens-6.5rc2-ml-javase-linux.sh but previously I had the version 6.5rc1 installed.
File ~/.netbeans-registration/6.5/registration.xml is generated only if NB install dir is read only. So it is possible
IDE recreated registration.xml in NBINSTDIR/nb6.5/servicetag. You can check that. IDE first checks install dir and if
registration.xml is not found then ~/.netbeans-registration/<VERSION>/ is checked. Installer ALWAYS creates
registration.xml in NB install dir. So please check also NBINSTDIR/nb6.5/servicetag.
NBINSTDIR/nb6.5/servicetag/registration.xml is not empty.
I don't now of the contents, but the xml syntax is correct.
I checked when empty registration.xml is in home and valid is in install dir. No exception as I expected. So empty
registration.xml had to be loaded. I will implement some workaround for this - I must handle also case when empty
registration.xml in install dir is empty but read only. Then it must be skipped. Thanks.
*** Issue 153508 has been marked as a duplicate of this issue. ***
Added check for empty registration.xml file. It handles also case when install directory or registration file itself is
could someone attach the installation log (~/.nbi/log) that corresponds to the installation of the IDE which shows that
*** Issue 155013 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200812091520* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Marek Slama <email@example.com>
Log: #151921: Handle empty registration xml file.
Could you please try the latest daily build?
I`ve fixed some error handling that would not result into installer failure any more and would help us to catch the
Please run installer with "-J-Dservicetag.allow.create=true" argument and after installation is finished, please attach
the last installation log from ~/.nbi/log directory.
*** Issue 155075 has been marked as a duplicate of this issue. ***
The fix has been ported into the release65_fixes repository.