[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1658) pecified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader

Waldemar Kłaczyński (JIRA) jira-events at lists.jboss.org
Tue Dec 23 10:35:55 EST 2008


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Waldemar Kłaczyński updated EJBTHREE-1658:
------------------------------------------

    Description: 
SEVERE: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1
java.lang.RuntimeException: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1
        at org.jboss.ejb3.common.lang.SerializableMethod.getClassFromName(SerializableMethod.java:348)
        at org.jboss.ejb3.common.lang.SerializableMethod.toMethod(SerializableMethod.java:238)
        at org.jboss.ejb3.common.lang.SerializableMethod.toMethod(SerializableMethod.java:219)
        at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.
        at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:236)
        at org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101)SEVERE: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1


  was:
SEVERE: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1
java.lang.RuntimeException: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1
        at org.jboss.ejb3.common.lang.SerializableMethod.getClassFromName(SerializableMethod.java:348)
        at org.jboss.ejb3.common.lang.SerializableMethod.toMethod(SerializableMethod.java:238)
        at org.jboss.ejb3.common.lang.SerializableMethod.toMethod(SerializableMethod.java:219)
        at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.
        at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:236)
        at org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101)SEVERE: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1

My sugestion is:

in: org.jboss.ejb3.common.classloader.PrimitiveAwareClassLoader.findClass(String name)
add:
      /*
       * Handle Primitives arrays
       */
      if (name.equals(byte[].class.getName()))
      {
         return byte[].class;
      }
      if (name.equals(short[].class.getName()))
      {
         return short[].class;
      }
      if (name.equals(int[].class.getName()))
      {
         return int[].class;
      }
      if (name.equals(long[].class.getName()))
      {
         return long[].class;
      }
      if (name.equals(char[].class.getName()))
      {
         return char[].class;
      }
      if (name.equals(boolean[].class.getName()))
      {
         return boolean[].class;
      }
      if (name.equals(float[].class.getName()))
      {
         return float[].class;
      }
      if (name.equals(double[].class.getName()))
      {
         return double[].class;
      }

after: 
      /*
       * Handle Primitives
       */
      if (name.equals(void.class.getName())) 
      ......
      if (name.equals(double.class.getName()))
      {
         return double.class;
      }





 



> pecified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader
> ----------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-1658
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1658
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 1.0.0-Beta11
>         Environment: Linux, 2.6.27.7-134.fc10.x86_64
>            Reporter: Waldemar Kłaczyński
>             Fix For: 1.0.0-Beta12
>
>
> SEVERE: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1
> java.lang.RuntimeException: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1
>         at org.jboss.ejb3.common.lang.SerializableMethod.getClassFromName(SerializableMethod.java:348)
>         at org.jboss.ejb3.common.lang.SerializableMethod.toMethod(SerializableMethod.java:238)
>         at org.jboss.ejb3.common.lang.SerializableMethod.toMethod(SerializableMethod.java:219)
>         at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.
>         at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:236)
>         at org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101)SEVERE: Specified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader at 601bb1

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

       




More information about the jboss-jira mailing list