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 # : 200807101204 ] [ JDK VERSION : 1.5.* ] Installer throws a "java.lang.RuntimeException: Intstruction unknown: loadınstruction" exception if the locale is tr. A workaround is exist; is "--locale C" parameter is given to installer it runs well. It can be reproduced with changing LC_ALL to tr_TR.UTF-8 and running installer. Full exception report folllows; java.lang.RuntimeException: Instruction unknown: loadınstruction at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(Instru ctionFinder.java:138) at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern (InstructionFinder.java:170) at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(Instruc tionFinder.java:218) at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(Instruc tionFinder.java:264) at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimiza tion(Mode.java:1444) at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemp lates(Mode.java:1058) at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileMod es(Stylesheet.java:615) at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate( Stylesheet.java:730) at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.j ava:354) at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.j ava:429) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.ne wTemplates(TransformerFactoryImpl.java:796) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.ne wTransformer(TransformerFactoryImpl.java:623) at org.netbeans.installer.utils.XMLUtils.saveXMLDocument(XMLUtils.java:14 2) at org.netbeans.installer.utils.EngineUtils.cacheEngineJar(EngineUtils.ja va:184) at org.netbeans.installer.utils.EngineUtils.cacheEngine(EngineUtils.java: 128) at org.netbeans.installer.utils.system.NativeUtils.createUninstaller(Nati veUtils.java:142) at org.netbeans.installer.utils.system.UnixNativeUtils.addComponentToSyst emInstallManager(UnixNativeUtils.java:698) at org.netbeans.installer.utils.SystemUtils.addComponentToSystemInstallMa nager(SystemUtils.java:365) at org.netbeans.installer.product.components.Product.install(Product.java :349) at org.netbeans.installer.wizard.components.actions.InstallAction.execute (InstallAction.java:152) at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardActi on.java:120) ERROR: 'Instruction unknown: loadınstruction' FATAL ERROR: 'Could not compile stylesheet'
Created attachment 64474 [details] Log file of the installer when it crashed
*** Issue 140330 has been marked as a duplicate of this issue. ***
It is the JDK bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6240963 It is also filed agains Apache bcel: http://issues.apache.org/bugzilla/show_bug.cgi?id=38787 Unfortunately we can`t fix on the installer side. I don`t have an idea why it is not yet fixed in JDK5 but it works fine with JDK6. The workaround is either to run installer in English locale (e.g. with "--locale en_US" installer switch) or to run it on Java6 (with --javahome <path-to-java6> installer switch).