java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • JMX Problem
    via by 3004,
  • JMX: custom MBean & LogBroadcaster
    via by 3004,
  • Spring OSGI transaction management
    via by xluo,
  • In version 1.1 of spring, it is not possible to use SingleConnectionDataSource in an ant task due to a classloader issue. On construction of the SingleConnectionDataSource an IllegalArgumentException is thrown. Example: java.lang.IllegalArgumentException: interface org.springframework.jdbc.datasource.ConnectionProxy is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:331) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552) at org.springframework.jdbc.datasource.SingleConnectionDataSource.getCloseSuppressingConnectionProxy(SingleConnectionDataSource.java:190) at org.springframework.jdbc.datasource.SingleConnectionDataSource.init(SingleConnectionDataSource.java:134) at org.springframework.jdbc.datasource.SingleConnectionDataSource.<init>(SingleConnectionDataSource.java:93) at ScdsProblem.<init>(ScdsProblem.java:17) at ScdsProblemTask.execute(ScdsProblemTask.java:10) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) This does not occur in spring 1.0.2. I will attach the code for the (simple, example) ant task from which this stacktrace is derived.
    via by Rhett Sutphin,
  • JBoss EJB Deployment Problem
    via by 843830,
  • In version 1.1 of spring, it is not possible to use SingleConnectionDataSource in an ant task due to a classloader issue. On construction of the SingleConnectionDataSource an IllegalArgumentException is thrown. Example: java.lang.IllegalArgumentException: interface org.springframework.jdbc.datasource.ConnectionProxy is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:331) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552) at org.springframework.jdbc.datasource.SingleConnectionDataSource.getCloseSuppressingConnectionProxy(SingleConnectionDataSource.java:190) at org.springframework.jdbc.datasource.SingleConnectionDataSource.init(SingleConnectionDataSource.java:134) at org.springframework.jdbc.datasource.SingleConnectionDataSource.<init>(SingleConnectionDataSource.java:93) at ScdsProblem.<init>(ScdsProblem.java:17) at ScdsProblemTask.execute(ScdsProblemTask.java:10) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:301) at org.apache.tools.ant.Target.performTasks(Target.java:328) at org.apache.tools.ant.Project.executeTarget(Project.java:1215) at org.apache.tools.ant.Project.executeTargets(Project.java:1063) at org.apache.tools.ant.Main.runBuild(Main.java:632) at org.apache.tools.ant.Main.startAnt(Main.java:183) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) This does not occur in spring 1.0.2. I will attach the code for the (simple, example) ant task from which this stacktrace is derived.
    via by Rhett Sutphin,
  • Proxy prolbem
    via by 843798,
  • Jboss 7.1.1 - HornetQ reconnect errors
    via Stack Overflow by Venu
    ,
  • Not possible to mock GL from JOGL
    via by robert.varttinen,
    • java.lang.IllegalArgumentException: void is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:331) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552) at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.java:152) at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHomeImpl.java:241) at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(UnknownSource) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308) at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    14 more bugmates