Copy link to clipboard
Copied
Got CF Builder installed in IBM Rational Application Developer 7.5 and was working good until I tried to open the page editor. Received the following error trace:
java.lang.NoClassDefFoundError: com.sun.org.apache.xalan.internal.xsltc.runtime.Hashtable
at com.adobe.ide.editor.cfml.CFMLSourceEditor.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(Unknown Source)
at com.adobe.ide.editor.cfml.CFMLEditor.createSourceEditor(Unknown Source)
at com.aptana.ide.editor.html.HTMLEditor.<init>(Unknown Source)
at com.adobe.ide.editor.cfml.CFMLEditor.<init>(Unknown Source)
at java.lang.J9VMInternals.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Unknown Source)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(Unknown Source)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Unknown Source)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Unknown Source)
at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(Unknown Source)
at org.eclipse.ui.internal.EditorManager.createPart(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPart(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Unknown Source)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Unknown Source)
at org.eclipse.ui.internal.EditorManager.setVisibleEditor(Unknown Source)
at org.eclipse.ui.internal.EditorManager$5.runWithException(Unknown Source)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Unknown Source)
at org.eclipse.ui.internal.Workbench$27.runWithException(Unknown Source)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.org.apache.xalan.internal.xsltc.runtime.Hashtable
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 55 more
Any thoughts?
1 Correct answer
Unfortunately the only fix right now is to use Sun's JRE. You can change JRE in Eclipse from Preferences->Java->Installed JREs.
-Ram
Copy link to clipboard
Copied
Looks like a conflict with xalan.jar. I am not sure how this can be resolved except making CF Builder and Rational use the same version. Is it possible to replace the one in Rational with CF builder? Make sure to keep backup.
Thanks,
Hemant Khandelwal
Copy link to clipboard
Copied
I think the error occured because CF Builder is trying to load a class which in Sun's JRE and not in IBM's JRE. This is a bug and we will fix this.
-Ram
Copy link to clipboard
Copied
Thanks. Is there a short-term fix for this?
Copy link to clipboard
Copied
Unfortunately the only fix right now is to use Sun's JRE. You can change JRE in Eclipse from Preferences->Java->Installed JREs.
-Ram
Copy link to clipboard
Copied
Thank you Ram. I will mark this as answered. Can you tell me when this fix will be implemented? Patch to the beta, or do we have to wait for the final release?
Copy link to clipboard
Copied
I just checked-in the fix, however I am not sure when we can make it avilable.
-Ram
Copy link to clipboard
Copied
Is there a release mailing list or RSS feed that I can subscribe to?

