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.
Whenever I try installing NetBeans, any version, I get the following error. The same error repeats when I try uninstalling it. Plz help. An unexpected exception happened in thread main Exception: java.lang.AbstractMethodError: org.apache.crimson.tree.ElementNode2.getTextContent()Ljava/lang/String; You can get more details about the issue in the installer log file:
Created attachment 75061 [details] NetBeans Installation Error Log
Looks like an issue in Crimson XML parser. I can reproduce it with putting crimson.jar from http://xml.apache.org/dist/crimson/crimson-1.1.3-bin.zip to <jdkdir>\jre\lib\ext and then running the installer. The solution is to remove crimson.jar from C:\Program Files\Java\jdk1.5.0_17\jre\lib\ext C:\WINDOWS\Sun\Java\lib\ext C:\Program Files\Java\jdk1.5.0_17\jre\lib\endorsed *** This issue has been marked as a duplicate of 150716 ***
It still doesn't work. I can't find the following folders to delete crimson.jar C:\WINDOWS\Sun\Java\lib\ext C:\Program Files\Java\jdk1.5.0_17\jre\lib\endorsed The same error repeats
could you please try to run installer with the following arguments and attach out.txt after the issue appears again and you close the installer? netbeans-6.5-python-windows.exe -J-verbose --verbose --output out.txt
out.txt file attached
Created attachment 75076 [details] NetBeans Installer Error Log
crimson.jar is available at C:\Program Files\Java\jdk1.5.0_17\jre\lib\ext\crimson.jar please delete it (or backup, if you need it) and try again.
Created attachment 75077 [details] Log
I had deleted it and tried earlier also. Didnt work. I couldn't find the other 2 folders (following), to delete the crimson.jar file C:\WINDOWS\Sun\Java\lib\ext C:\Program Files\Java\jdk1.5.0_17\jre\lib\endorsed
Could you please run installer again with that arguments and attach out2.txt? netbeans-6.5-python-windows.exe -J-verbose --verbose --output out2.txt
Created attachment 75080 [details] out2.txt attached
Please remove (backup) file C:\Program Files\Java\jdk1.5.0_17\jre\lib\ext\googleapi.jar and try again. Are there any files left in C:\Program Files\Java\jdk1.5.0_17\jre\lib\ext? If the issue still happens remove (backup) them all and try again.
BTW, please don`t remove files from C:\Program Files\Java\jdk1.5.0_17\jre\lib\ext: dnsns.jar localedata.jar sunjce_provider.jar sunpkcs11.jar
Another workaround is to run installer with the following argument: netbeans-6.5-python-windows.exe -J-Djava.ext.dirs= With this argument, you can still have crimson.jar and googleapi.jar in C:\Program Files\Java\jdk1.5.0_17\jre\lib\ext. The only thing is that this argument would be still required when you run uninstaller.
Its working fine now. I removed all the files from C:\Program Files\Java\jdk1.5.0_17\jre\lib\ext except the default one's And there are many files in C:\Program Files\Java\jdk1.5.0_17\jre\lib\ext So, do I have to repeat dis every time I install/uninstall?? thanx a lot
VERIFIED
you can remove remove those files only once. they won`t appear by themselves - i.e. if you don`t copy them by hand back to ...\jdk1.5.0_17\jre\lib\ext