You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Kevan Miller <ke...@gmail.com> on 2006/07/20 04:11:13 UTC
Re: [jira] Updated: (GERONIMO-1695) CORBA for EJB with Local interface only causes NPE
Hey Rick,
Thanks for the patches. However, looks like you don't have the
correct version of OpenEJB in your Geronimo trunk tree. G 1.2 is
using OpenEJB 2.2 (https://svn.codehaus.org/openejb/trunk/openejb2).
Might be that you checked out your version of OpenEJB before the
correct version of OpenEJB was added to the maven.xml in geronimo...
--kevan
On Jul 17, 2006, at 8:00 AM, Rick McGuire (JIRA) wrote:
> [ http://issues.apache.org/jira/browse/GERONIMO-1695?page=all ]
>
> Rick McGuire updated GERONIMO-1695:
> -----------------------------------
>
> Attachment: GERONIMO-1695.diff-1.2
>
> 1.2 version.
>
>> CORBA for EJB with Local interface only causes NPE
>> --------------------------------------------------
>>
>> Key: GERONIMO-1695
>> URL: http://issues.apache.org/jira/browse/
>> GERONIMO-1695
>> Project: Geronimo
>> Issue Type: Bug
>> Security Level: public(Regular issues)
>> Components: CORBA
>> Affects Versions: 1.0
>> Reporter: Aaron Mulder
>> Assigned To: Rick McGuire
>> Priority: Critical
>> Fix For: 1.2, 1.1.1
>>
>> Attachments: GERONIMO-1695.diff-1.1.1, GERONIMO-1695.diff-1.2
>>
>>
>> I have an EJB with a local interface and I tried applying CORBA
>> settings. It blows up during deployment. My guess is that it
>> wants a remote interface to be there, but somehow, the checks in
>> StandardServant:126 are not working and the interface just comes
>> up as null.
>> Caused by: java.lang.NullPointerException
>> at org.openejb.corba.util.Util.getAllInterfaces(Util.java:
>> 593)
>> at org.openejb.corba.util.Util.getAllMethods(Util.java:815)
>> at org.openejb.corba.util.Util.iiopMap(Util.java:608)
>> at org.openejb.corba.util.Util.mapOperationToMethod
>> (Util.java:604)
>> at org.openejb.corba.StandardServant.<init>
>> (StandardServant.java:135)
>> at org.openejb.corba.StandardServant.<init>
>> (StandardServant.java:116)
>> at org.openejb.corba.Adapter.<init>(Adapter.java:100)
>> ... 67 more
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the
> administrators: http://issues.apache.org/jira/secure/
> Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/
> software/jira
>
>
Re: [jira] Updated: (GERONIMO-1695) CORBA for EJB with Local interface
only causes NPE
Posted by Rick McGuire <ri...@gmail.com>.
Ok, I think I've got the change sorted out here to account for the
refactoring. I've updated the Jira with a new patch, but it probably
requires some careful scrutiny. The original patch updated
SessionBuilder, EntityBuilder and CMPEntityBuilder. Code from those
classes have been refactored into another class, which is where the
patch is being added. However, I'm not entirely certain that the
refactored code doesn't get used for cases where these checks are NOT
appropriate.
Rick
Kevan Miller wrote:
> Hey Rick,
> Thanks for the patches. However, looks like you don't have the correct
> version of OpenEJB in your Geronimo trunk tree. G 1.2 is using OpenEJB
> 2.2 (https://svn.codehaus.org/openejb/trunk/openejb2). Might be that
> you checked out your version of OpenEJB before the correct version of
> OpenEJB was added to the maven.xml in geronimo...
> --kevan
> On Jul 17, 2006, at 8:00 AM, Rick McGuire (JIRA) wrote:
>
>> [ http://issues.apache.org/jira/browse/GERONIMO-1695?page=all ]
>>
>> Rick McGuire updated GERONIMO-1695:
>> -----------------------------------
>>
>> Attachment: GERONIMO-1695.diff-1.2
>>
>> 1.2 version.
>>
>>> CORBA for EJB with Local interface only causes NPE
>>> --------------------------------------------------
>>>
>>> Key: GERONIMO-1695
>>> URL: http://issues.apache.org/jira/browse/GERONIMO-1695
>>> Project: Geronimo
>>> Issue Type: Bug
>>> Security Level: public(Regular issues)
>>> Components: CORBA
>>> Affects Versions: 1.0
>>> Reporter: Aaron Mulder
>>> Assigned To: Rick McGuire
>>> Priority: Critical
>>> Fix For: 1.2, 1.1.1
>>>
>>> Attachments: GERONIMO-1695.diff-1.1.1, GERONIMO-1695.diff-1.2
>>>
>>>
>>> I have an EJB with a local interface and I tried applying CORBA
>>> settings. It blows up during deployment. My guess is that it wants
>>> a remote interface to be there, but somehow, the checks in
>>> StandardServant:126 are not working and the interface just comes up
>>> as null.
>>> Caused by: java.lang.NullPointerException
>>> at org.openejb.corba.util.Util.getAllInterfaces(Util.java:593)
>>> at org.openejb.corba.util.Util.getAllMethods(Util.java:815)
>>> at org.openejb.corba.util.Util.iiopMap(Util.java:608)
>>> at
>>> org.openejb.corba.util.Util.mapOperationToMethod(Util.java:604)
>>> at
>>> org.openejb.corba.StandardServant.<init>(StandardServant.java:135)
>>> at
>>> org.openejb.corba.StandardServant.<init>(StandardServant.java:116)
>>> at org.openejb.corba.Adapter.<init>(Adapter.java:100)
>>> ... 67 more
>>
>> --This message is automatically generated by JIRA.
>> -
>> If you think it was sent incorrectly contact one of the
>> administrators: http://issues.apache.org/jira/secure/Administrators.jspa
>> -
>> For more information on JIRA, see:
>> http://www.atlassian.com/software/jira
>>
>>
>
>
Re: [jira] Updated: (GERONIMO-1695) CORBA for EJB with Local interface
only causes NPE
Posted by Rick McGuire <ri...@gmail.com>.
Kevan Miller wrote:
> Hey Rick,
> Thanks for the patches. However, looks like you don't have the correct
> version of OpenEJB in your Geronimo trunk tree. G 1.2 is using OpenEJB
> 2.2 (https://svn.codehaus.org/openejb/trunk/openejb2). Might be that
> you checked out your version of OpenEJB before the correct version of
> OpenEJB was added to the maven.xml in geronimo...
> --kevan
Yes, your assumption was correct. That code is QUITE different. I
believe somebody else is going to need to figure out the 1.2 version of
this. I haven't found anything that even resembles the code from the
original patch to figure out where these checks need to go.
Rick
> On Jul 17, 2006, at 8:00 AM, Rick McGuire (JIRA) wrote:
>
>> [ http://issues.apache.org/jira/browse/GERONIMO-1695?page=all ]
>>
>> Rick McGuire updated GERONIMO-1695:
>> -----------------------------------
>>
>> Attachment: GERONIMO-1695.diff-1.2
>>
>> 1.2 version.
>>
>>> CORBA for EJB with Local interface only causes NPE
>>> --------------------------------------------------
>>>
>>> Key: GERONIMO-1695
>>> URL: http://issues.apache.org/jira/browse/GERONIMO-1695
>>> Project: Geronimo
>>> Issue Type: Bug
>>> Security Level: public(Regular issues)
>>> Components: CORBA
>>> Affects Versions: 1.0
>>> Reporter: Aaron Mulder
>>> Assigned To: Rick McGuire
>>> Priority: Critical
>>> Fix For: 1.2, 1.1.1
>>>
>>> Attachments: GERONIMO-1695.diff-1.1.1, GERONIMO-1695.diff-1.2
>>>
>>>
>>> I have an EJB with a local interface and I tried applying CORBA
>>> settings. It blows up during deployment. My guess is that it wants
>>> a remote interface to be there, but somehow, the checks in
>>> StandardServant:126 are not working and the interface just comes up
>>> as null.
>>> Caused by: java.lang.NullPointerException
>>> at org.openejb.corba.util.Util.getAllInterfaces(Util.java:593)
>>> at org.openejb.corba.util.Util.getAllMethods(Util.java:815)
>>> at org.openejb.corba.util.Util.iiopMap(Util.java:608)
>>> at
>>> org.openejb.corba.util.Util.mapOperationToMethod(Util.java:604)
>>> at
>>> org.openejb.corba.StandardServant.<init>(StandardServant.java:135)
>>> at
>>> org.openejb.corba.StandardServant.<init>(StandardServant.java:116)
>>> at org.openejb.corba.Adapter.<init>(Adapter.java:100)
>>> ... 67 more
>>
>> --This message is automatically generated by JIRA.
>> -
>> If you think it was sent incorrectly contact one of the
>> administrators: http://issues.apache.org/jira/secure/Administrators.jspa
>> -
>> For more information on JIRA, see:
>> http://www.atlassian.com/software/jira
>>
>>
>
>