It's all about the answers!

Ask a question

Cannot view plans under Ubuntu and Luna (java.lang.ClassNotFoundException)


Aaron Cohen (8207751) | asked Sep 24 '14, 8:50 a.m.
JAZZ DEVELOPER
I installed RTC 4.0.6 into Eclipse Luna on Ubuntu Linux and I get this error when viewing plans:
java.lang.NoClassDefFoundError: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
    at com.ibm.team.rtc.common.scriptengine.internal.types.api.ApiTypeResolver.resolveClass(ApiTypeResolver.java:89)
    at com.ibm.team.rtc.common.scriptengine.internal.types.api.ApiTypeResolver.resolve(ApiTypeResolver.java:57)
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature.injectUrl(DojoFeature.java:234)
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature.access$3(DojoFeature.java:208)
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature$1.call(DojoFeature.java:122)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3335)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
    at org.mozilla.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2425)
    at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2277)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3223)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
    at org.mozilla.javascript.gen.c1._c20({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"}:319)
    at org.mozilla.javascript.gen.c1.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"})
    at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2289)
    at org.mozilla.javascript.optimizer.OptRuntime.callSpecial(OptRuntime.java:165)
    at org.mozilla.javascript.gen.c1._c79({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"}:1354)
    at org.mozilla.javascript.gen.c1.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"})
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
    at org.mozilla.javascript.gen.c1._c82({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"}:1441)
    at org.mozilla.javascript.gen.c1.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"})
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature$3.call(DojoFeature.java:155)
    at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
    at org.mozilla.javascript.gen.c1._c80({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"}:1496)
    at org.mozilla.javascript.gen.c1.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"})
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
    at org.mozilla.javascript.gen.c35._c28({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"}:632)
    at org.mozilla.javascript.gen.c35.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"})
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
    at org.mozilla.javascript.gen.c35._c27({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"}:669)
    at org.mozilla.javascript.gen.c35.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"})
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature$4.call(DojoFeature.java:183)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
    at org.mozilla.javascript.gen.c37._c0({"Bundle-SymbolicName":"com.ibm.team.apt.shared.client", "path":"\/resources\/internal\/progress", "name":"ProgressInformation.js"}:12)
    at org.mozilla.javascript.gen.c37.call({"Bundle-SymbolicName":"com.ibm.team.apt.shared.client", "path":"\/resources\/internal\/progress", "name":"ProgressInformation.js"})
    at org.mozilla.javascript.gen.c37.exec({"Bundle-SymbolicName":"com.ibm.team.apt.shared.client", "path":"\/resources\/internal\/progress", "name":"ProgressInformation.js"})
    at com.ibm.team.rtc.common.scriptengine.environment.AbstractScriptFeature.evalScript(AbstractScriptFeature.java:64)
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature.injectUrl(DojoFeature.java:257)
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature.access$3(DojoFeature.java:208)
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature$1.call(DojoFeature.java:122)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3335)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
    at org.mozilla.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2425)
    at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2277)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3223)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
    at org.mozilla.javascript.gen.c1._c20({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"}:319)
    at org.mozilla.javascript.gen.c1.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"})
    at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2289)
    at org.mozilla.javascript.optimizer.OptRuntime.callSpecial(OptRuntime.java:165)
    at org.mozilla.javascript.gen.c1._c79({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"}:1354)
    at org.mozilla.javascript.gen.c1.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"})
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
    at org.mozilla.javascript.gen.c1._c82({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"}:1441)
    at org.mozilla.javascript.gen.c1.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"})
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature$3.call(DojoFeature.java:155)
    at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
    at org.mozilla.javascript.gen.c1._c80({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"}:1496)
    at org.mozilla.javascript.gen.c1.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"resources", "name":"dojo.js"})
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
    at org.mozilla.javascript.gen.c35._c28({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"}:632)
    at org.mozilla.javascript.gen.c35.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"})
    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
    at org.mozilla.javascript.gen.c35._c27({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"}:669)
    at org.mozilla.javascript.gen.c35.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"})
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
    at org.mozilla.javascript.gen.c35.call({"Bundle-SymbolicName":"org.dojotoolkit.dojo", "path":"\/resources\/_base", "name":"loader.js"})
    at com.ibm.team.rtc.common.scriptengine.environment.dojo.DojoFeature$4.call(DojoFeature.java:183)
    at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1862)
    at com.ibm.team.rtc.common.scriptengine.environment.ScriptingHelperImplementation$4.run(ScriptingHelperImplementation.java:144)
    at com.ibm.team.rtc.common.scriptengine.environment.ScriptingHelperImplementation$4.run(ScriptingHelperImplementation.java:1)
    at com.ibm.team.rtc.common.scriptengine.environment.AbstractScriptEnvironment.execute(AbstractScriptEnvironment.java:74)
    at com.ibm.team.rtc.common.scriptengine.environment.ScriptingHelperImplementation.dojoRequire(ScriptingHelperImplementation.java:141)
    at com.ibm.team.rtc.common.scriptengine.environment.ScriptingHelperImplementation.getConstructor(ScriptingHelperImplementation.java:154)
    at com.ibm.team.rtc.common.scriptengine.ScriptUtilities$1.run(ScriptUtilities.java:30)
    at com.ibm.team.rtc.common.scriptengine.environment.AbstractScriptEnvironment.execute(AbstractScriptEnvironment.java:74)
    at com.ibm.team.rtc.common.scriptengine.ScriptUtilities.newInstance(ScriptUtilities.java:27)
    at com.ibm.team.apt.internal.client.progress.ProgressClient.convert(ProgressClient.java:23)
    at com.ibm.team.apt.internal.client.IterationPlanClient.fetchIterationPlanData(IterationPlanClient.java:441)
    at com.ibm.team.apt.internal.ide.ui.editor.IterationPlanEditorInput$2.resolve(IterationPlanEditorInput.java:143)
    at com.ibm.team.apt.internal.ide.ui.editor.IterationPlanEditorInput$2.resolve(IterationPlanEditorInput.java:1)
    at com.ibm.team.apt.internal.ide.core.util.TeamFuture$DefaultResolver.resolve(TeamFuture.java:39)
    at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.execute(TeamFuture.java:112)
    at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.access$0(TeamFuture.java:110)
    at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob$1.run(TeamFuture.java:95)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.run(TeamFuture.java:93)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader cannot be found by com.ibm.team.rtc.common.scriptengine_3.1.500.v20130925_0207
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:707)
    ... 94 more
Is there a configuration or dependency that I am mssing?

Thank you!

Accepted answer


permanent link
Eric Jodet (6.3k5100120) | answered Sep 24 '14, 9:51 a.m.
JAZZ DEVELOPER
 Hello Aaron,
which was fixed in RTC 5.0.1

Hope it helps,
Eric
Aaron Cohen selected this answer as the correct answer

Comments
Aaron Cohen commented Sep 24 '14, 9:59 a.m.
JAZZ DEVELOPER

Without upgrading to 5.0.1 is there a workaround?


Eric Jodet commented Sep 24 '14, 12:24 p.m.
JAZZ DEVELOPER

 Hello,

I don't think so.
The only solution is to go through IBM Support PMR process,
and request a TestFix top RTC 4.0.7 for a possible inclusion in next iFix
See https://jazz.net/wiki/bin/view/Main/CLMMaintenanceForContinuousDelivery

Eric

Your answer


Register or to post your answer.