2nd Try...

  Randahl Fink Isaksen <[EMAIL PROTECTED]> wrote:

From: "Randahl Fink Isaksen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: Showstopper: Orion deployment crash, NullPointerException
Date: Wed, 17 Apr 2002 21:42:30 +0200
Organization: ROCK IT

You are absolutely right – that’s it!

 

They have my full support for obfuscating their code, but it sure is hard to guess what is wrong, when the stack trace is all garbled… we are lucky to have this mailing list.

 

 

Thanks

 

Randahl.

 

-----Original Message-----
From: Ray Harrison [mailto:[EMAIL PROTECTED]]
Sent
:
Wednesday, April 17, 2002 17:59
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Re: Showstopper: Orion deployment crash, NullPointerException

 

Randahl,

I have experienced similar problems with 1.5.4 - is this your particular version?

If so -

Check your relationships in your ejb-jar.xml - M-N relationships don't work in 1.5.4, though it will work in the next release and can generate those sorts of errors.

Also, if you have something like this with your 1-M unidirectional relationships where your collection is referenced in your *second* ejb-relationship-role (as follows) it will also generate this sort of error  and you need to reverse the roles to avoid the NPE as a workaround:

<!-- This doesn't work -->

  <relationships>
    <ejb-relation>
      <ejb-relation-name>Many1s-Many2s</ejb-relation-name>
       <ejb-relationship-role>
        <ejb-relationship-role-name>Many2-has-many-many1s</ejb-relationship-role-name>
        <multiplicity>Many</multiplicity>
        <relationship-role-source>
          <ejb-name>Many2</ejb-name>
        </relationship-role-source>
      </ejb-relationship-role>
      <ejb-relationship-role>
        <ejb-relationship-role-name>Many1-has-many-many2s</ejb-relationship-role-name>
        <multiplicity>Many</multiplicity>
        <relationship-role-source>
          <ejb-name>Many1</ejb-name>
        </relationship-role-source>
        <cmr-field>
          <cmr-field-name>many2s</cmr-field-name>
          <cmr-field-type>java.util.Collection</cmr-field-type>
        </cmr-field>
      </ejb-relationship-role>
 
    </ejb-relation>
  </relationships>

 

For the above, reverse the ejb-relationship-role entries so that the collection is referenced in the first entry.

Hope this helps!

Ray

  Randahl Fink Isaksen <[EMAIL PROTECTED]> wrote:

After introducing a lot of different changes in my EJBs I decided to erase my deployment directory (the folder /orion/application-deployments/rockit) in an attempt to make orion carry out a fresh and complete redeployment. Unfortunately now all I get is this:

 

Auto-deploying rockit-ejb.jar (No previous deployment found)... java.lang.NullPo

interException

        at com.evermind._eh._dyc(.:109)

        at com.evermind._fc._izd(.:198)

        at com.evermind._fc._de(.:63)

        at com.evermind._fpb._de(.:31)

        at com.evermind._eq._aa(.:280)

        at com.evermind._ed._aa(.:270)

        at com.evermind._ai._kmd(.:526)

        at com.evermind._aj._kmd(.:287)

        at com.evermind._aj._vxb(.:119)

        at com.evermind.server.ApplicationServer._sxc(.:1308)

        at com.evermind.server.ApplicationServer._ige(.:1265)

        at com.evermind.server.ApplicationServer._vxb(.:1003)

        at com.evermind._cxb.run(.:89)

        at java.lang.Thread.run(Thread.java:536)

        at com.evermind._bt.run(.:47)

 

It is kind of hard for me to guess whats going on since the stack trace is obfuscated, so as a long shot I am asking you guys if you have experienced something similar to this?

 

 

Yours Randahl

 


Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax



Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

Reply via email to