After modifying an EJB from using a default "long" key, into one that looks like this:

        public class VoteAlternativeKey {
          public VoteQuestion question;
          public String answer;
        }

I get the following message when I start Orion:

neuromancer$ /export/disk1/src/jdk1.3/bin/java -jar orion.jar 
java.lang.NullPointerException
        at com.evermind.server.ejb.deployment.PrimaryKey.<init>(JAX)
        at com.evermind.server.ejb.deployment.EntityBeanDescriptor.fk(JAX)
        at com.evermind.server.ejb.deployment.EJBJarDescriptor.fk(JAX)
        at com.evermind.server.ejb.deployment.EJBPackage.pm(JAX)
        at com.evermind.server.ejb.deployment.EJBPackage.pg(JAX)
        at com.evermind.server.ejb.deployment.EJBPackage.pp(JAX)
        at dx.c6(JAX)
        at com.evermind.server.ApplicationServer.vh(JAX)
        at com.evermind.server.ApplicationServer.c6(JAX)
        at eg.run(JAX)
        at java.lang.Thread.run(Thread.java:479)
        at c.run(JAX)
neuromancer$ 

I'm using the JDK1.3 beta for Solaris. But I get the same message if I try using 
1.2.1_04 production release (bundled in Solaris 8).

Any ideas?

/E.

Reply via email to