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: | NetBeans Installation error (java.lang.AbstractMethodError in org.apache.crimson.tree.ElementNode2.getTextContent) | ||
---|---|---|---|
Product: | installer | Reporter: | yogeshp08 <yogeshp08> |
Component: | Code | Assignee: | issues@installer <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
NetBeans Installation Error Log
NetBeans Installer Error Log Log out2.txt attached |
Description
yogeshp08
2008-12-17 06:06:04 UTC
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 |