Menu

#7 Illegal Name found on initial run.

open
nobody
None
5
2004-08-04
2004-08-04
Anonymous
No

Attempted to run oryx after installation on Windows
2000 machine with Java 1.4.2. Received the following
error.

Exception in thread "main"
java.lang.NoClassDefFoundError: Illegal name:
com/jbdietrich/oryx/gui/swing/plugin/joi/JOIPlu
gin$1
at
Java.lang.ClassLoader.defineClass(ClassLoader.java:538)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:448)
at
com.jbdietrich.util.JarClassLoader.loadClass(JarClassLoader.java:87)
at
com.jbdietrich.util.JarClassLoader.loadClass(JarClassLoader.java:52)
at
com.jbdietrich.util.ExtensionFinder.find(ExtensionFinder.java:81)
at
com.jbdietrich.util.ExtensionFinder.find(ExtensionFinder.java:53)
at
com.jbdietrich.oryx.gui.plugin.PluginRegistry.getPlugins(PluginRegistry.java:91)
at
com.jbdietrich.oryx.gui.plugin.PluginRegistry.getPlugins(PluginRegistry.java:39)
at
com.jbdietrich.oryx.gui.swing.KnowledgeBaseEditor.initializeMenuBar(KnowledgeBaseEditor.java:714)
at
com.jbdietrich.oryx.gui.swing.KnowledgeBaseEditor.initialize(KnowledgeBaseEditor.java:241)
at
com.jbdietrich.oryx.gui.swing.KnowledgeBaseEditor.<init>(KnowledgeBaseEditor.java:112)
at
com.jbdietrich.oryx.gui.swing.Startup._startup(Startup.java:142)
at
com.jbdietrich.oryx.gui.swing.Startup.main(Startup.java:115)

Discussion

  • Peter

    Peter - 2004-08-20

    Logged In: YES
    user_id=577690

    I have the same problem here. JVM:1.4.2_05

     
  • Nobody/Anonymous

    Logged In: NO

    I am also having this problem with 1.4.2_05.
    It does work with 1.4.2_04 though.

     
  • Nobody/Anonymous

    Logged In: NO

    I have the same problem. I have had jdk 1.5 b2 and RC2 on
    my machine, after jdk 1.4.2 installation. On another machine
    1.4.2 and orynx are starting well. tuomas.kassila@nic.fi

     
  • Nobody/Anonymous

    Logged In: NO

    The error is caused by Oryx trying to load a class with slashes
    as class name separators instead of period ('.') chars as
    required by the API. The 1.4.2_05 release appears to have
    added a constraint to enforce this.

    Fix: in file src\com\jbdietrich\util\JarClassLoader.java,
    change "className" to "clazzName" in lines 73, 81, 88;
    compile and put the class file in lib\oryx.jar. Unfortunately,
    the Ant build file is not included, so you have to do that
    manually...

     

Log in to post a comment.