[jboss-jira] [JBoss JIRA] Created: (JBAS-4681) Generated Corba stub throws BAD_OPERATION on toString() when not connected to the ORB

Adrian Brock (JIRA) jira-events at lists.jboss.org
Thu Sep 6 11:16:11 EDT 2007


Generated Corba stub throws BAD_OPERATION on toString() when not connected to the ORB
-------------------------------------------------------------------------------------

                 Key: JBAS-4681
                 URL: http://jira.jboss.com/jira/browse/JBAS-4681
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossAS-4.2.1.GA
            Reporter: Adrian Brock
         Assigned To: Adrian Brock
             Fix For:  JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA


The generated Corba stub throws a BAD_OPERATION for toString()
when the stub has no delegate.

e.g. This stacktrace from the testsuite with TRACE enabled for org.jboss.ejb

17:03:48,917 ERROR [LogInterceptor] EJBException in method: public abstract java.lang.Object javax.ejb.EJBObject.getPrimaryKey() throws java.rmi.RemoteException, causedBy:
org.omg.CORBA.BAD_OPERATION: The delegate has not been set!  vmcid: 0x0  minor code: 0  completed: No
        at org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java:53)
        at org.omg.CORBA.portable.ObjectImpl._orb(ObjectImpl.java:295)
        at org.jboss.test.bankiiop.interfaces._Account_Stub.toString(Unknown Source)
        at java.lang.String.valueOf(String.java:2615)
        at java.util.AbstractCollection.toString(AbstractCollection.java:454)
        at java.lang.String.valueOf(String.java:2615)
        at java.lang.StringBuilder.append(StringBuilder.java:116)
        at org.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader$AbstractResultSetReader.get(JDBCResultSetReader.java:494)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list