Project

General

Profile

Actions

Bug #5203

closed

Kepler wont start

Added by David LeBauer over 13 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
interface
Target version:
Start date:
10/18/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5203

Description

I usually start Kepler with the command ./Kepler-2.0/kepler.sh

Today, this gives me the error below. Reinstalling Kepler and Java do not help.

Here is the output:

dlebauer@dlebauer-desktop:~$ ./Kepler-2.0/kepler.sh
[null] Exception in thread "main" java.lang.NoClassDefFoundError: org/kepler/Kepler
[null] Caused by: java.lang.ClassNotFoundException: org.kepler.Kepler
[null] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[null] at java.security.AccessController.doPrivileged(Native Method)
[null] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[null] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[null] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[null] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[null] Could not find the main class: org.kepler.Kepler. Program will exit.
Exception in thread "main" Java returned: 1
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:105)
at org.kepler.build.runner.Kepler.main(Kepler.java:78)
Caused by: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.kepler.build.Run.runSuite(Run.java:298)
at org.kepler.build.Run.run(Run.java:202)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
... 1 more
--- Nested Exception ---
Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.kepler.build.Run.runSuite(Run.java:298)
at org.kepler.build.Run.run(Run.java:202)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
at org.kepler.build.runner.Kepler.main(Kepler.java:78)

Actions #1

Updated by Derik Barseghian over 13 years ago

I'm unable to replicate on ubuntu, with Sun's java 1.5.0_13.
I was able to launch Kepler-2.0 (linux installer version) and 2.1 (upgraded installed version using module manager) using kepler.sh.
What version of Java are you using? Kepler should work with Sun's java 1.5 and 1.6.

Actions #2

Updated by David Welker over 13 years ago

I also was not able to reproduce this problem on Mac using a freshly created installer that had "kepler.sh" in it (unlike the installer that one can normally download for Mac).

I am pretty certain there is nothing wrong with the script itself.

Normally, I would ask "did Kepler download properly" since that would tend to explain the missing class. But, in this case, we are working off an install and this is a core class, not one that would need to be downloaded. The alternative explanation is that the classpath is not being calculated properly. But since it is being calculated correctly on both Mac and, according to Derik, Ubuntu, this would not be a likely candidate either.

I don't think this is a "what version of Java are you using problem" since what is reported is a missing class, which is a problem usually caused by an incorrectly specified classpath or (more commonly with Kepler) an incomplete download such that a class is missing.

Very puzzling.

Actions #3

Updated by Christopher Brooks over 12 years ago

This is a kepler-2.0 bug 2010-10-18 bug where kepler.sh failed to
start under linux with
[null] Exception in thread "main" java.lang.NoClassDefFoundError:
org/kepler/Kepler
[null] Caused by: java.lang.ClassNotFoundException: org.kepler.Kepler

Derik and David Welker could not reproduce this.

The way to track this down would be to run
bash -x kepler.sh

I'm closing this because we can't reproduce it.

David LeBauer, if you can't run Kepler and are still interested, feel
free to post to this bug and we can take a look.

Actions #4

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 5203

Actions

Also available in: Atom PDF