Hi all,

Just a quick note on a small bug I've stumbled across in Orion 1.0.

Implemented a Home interface method:
Collection findByDate(...)

And implemented the corresponding implementation class method:
ArrayList ejbFindByDate(...)

I assume this was a mistake on my part by having a different signature
on the findBy method in the implementation class than the home
interface class, although I haven't checked the spec to see if it should
be valid to return a sub-class in the implementation method.

Anyway when trying to deploy this bean Orion 1.0 does not flag a
compilation error, rather it drops out with the following exception:
(which took a while to resolve because there were alot of beans
being deployed and I couldn't tell which one was causing the problem).

Auto-deploying theappname-ejb... java.lang.NullPointerException
�� � � at com.evermind.server.ejb.compilation.ey.aaf(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.compilation.ew.aae(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.compilation.ew.<init>(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.compilation.ey.<init>(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.compilation.e_.zh(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.compilation.e7.abo(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.compilation.e_.o6(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.compilation.e1.o6(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.compilation.e6.o6(JAX, Compiled Code)
�� � � at com.evermind.server.ejb.EJBContainer.lj(JAX, Compiled Code)
�� � � at com.evermind.server.Application.lj(JAX, Compiled Code)
�� � � at com.evermind.server.Application.e7(JAX, Compiled Code)
�� � � at com.evermind.server.ApplicationServer.od(JAX, Compiled Code)
�� � � at com.evermind.server.ApplicationServer.aio(JAX, Compiled Code)
�� � � at com.evermind.server.ApplicationServer.e7(JAX, Compiled Code)
�� � � at com.evermind.server.ga.run(JAX, Compiled Code)
�� � � at java.lang.Thread.run(Thread.java, Compiled Code)
�� � � at com.evermind.util.e.run(JAX, Compiled Code)




Reply via email to