java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira

SpringSource Issue Tracker | Sergio Martinez | 4 years ago
  1. 0

    I keep getting the following error when trying to run the code: import javax.xml.transform.Source import javax.xml.transform.TransformerFactory import javax.xml.transform.stream.StreamResult import javax.xml.transform.stream.StreamSource def input = ''' <?xml version="1.0" ?> <persons> <person username="JS1"> <name>John</name> <family_name>Smith</family_name> </person> <person username="ND1"> <name>Nancy</name> <family_name>Davolio</family_name> </person> </persons> '''.trim() def xslt = ''' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/persons"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Testing XML Example</title> </head> <body> <h1>Persons</h1> <ul> <xsl:apply-templates select="person"> <xsl:sort select="family_name" /> </xsl:apply-templates> </ul> </body> </html> </xsl:template> <xsl:template match="person"> <li> <xsl:value-of select="family_name"/>, <xsl:value-of select="name"/> </li> </xsl:template> </xsl:stylesheet> '''.trim() def factory = TransformerFactory.newInstance() def transformer = factory.newTransformer(new StreamSource(new StringReader(xslt))) transformer.transform(new StreamSource(new StringReader(input)), new StreamResult(System.out)) Error: Error java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira | Error at com.springsource.loaded.agent.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:91) | Error at sun.instrument.TransformerManager.transform(TransformerManager.java:188) | Error at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424) | Error at java.lang.ClassLoader.defineClass1(Native Method) | Error at java.lang.ClassLoader.defineClass(ClassLoader.java:791) | Error at java.lang.ClassLoader.defineClass(ClassLoader.java:634) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl$TransletClassLoader.defineClass(TemplatesImpl.java:133) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.defineTransletClasses(TemplatesImpl.java:327) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:364) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.newTransformer(TemplatesImpl.java:398) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:672) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl$newTransformer.call(Unknown Source) | Error at com.rebett.service.downloadProductFeed$$ENlI4q1X.XSLTProcessData(downloadProductFeed.groovy:91) | Error at com.rebett.service.downloadProductFeed$$DNlI4q1X.__execute(Unknown Source) | Error at com.rebett.service.downloadProductFeed$XSLTProcessData.call(Unknown Source) | Error at com.rebett.service.ImportService$$ENlHoCBv.importFromPortal(ImportService.groovy:31) | Error at com.rebett.service.ImportService$$DNlHoCBv.importFromPortal(Unknown Source) | Error at com.rebett.service.ImportService.importFromPortal(ImportService.groovy) | Error at com.rebett.service.ImportService$$FastClassByCGLIB$$610bfcc.invoke(<generated>) | Error at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) | Error at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) | Error at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) | Error at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) | Error at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) | Error at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) | Error at com.rebett.service.ImportService$$EnhancerByCGLIB$$3962ade2.importFromPortal(<generated>) | Error at com.rebett.service.ImportService$importFromPortal.call(Unknown Source) | Error at com.rebett.service.PortalService$_executeJob_closure3.doCall(PortalService.groovy:173) | Error at sun.reflect.GeneratedMethodAccessor1200.invoke(Unknown Source) | Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | Error at java.lang.reflect.Method.invoke(Method.java:601) | Error at com.springsource.loaded.ri.OriginalClassInvoker.invoke(OriginalClassInvoker.java:34) | Error at com.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1260) | Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:226) | Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52) | Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) | Error at com.rebett.service.PortalService$_executeJob_closure3.doCall(PortalService.groovy) | Error at sun.reflect.GeneratedMethodAccessor1199.invoke(Unknown Source) | Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | Error at java.lang.reflect.Method.invoke(Method.java:601) | Error at com.springsource.loaded.ri.OriginalClassInvoker.invoke(OriginalClassInvoker.java:34) | Error at com.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1260) | Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) | Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047) | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110) | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) | Error at groovy.lang.Closure.call(Closure.java:412) | Error at com.rebett.service.PortalService$_executeJob_closure3.call(PortalService.groovy) | Error at groovy.lang.Closure.call(Closure.java:406) | Error at com.rebett.service.PortalService$_executeJob_closure3.call(PortalService.groovy) | Error at groovy.lang.Closure.run(Closure.java:490) | Error at com.rebett.service.PortalService$_executeJob_closure3.run(PortalService.groovy) | Error at java.lang.Thread.run(Thread.java:722) | Error Caused by: java.lang.NullPointerException | Error at com.springsource.loaded.agent.JVMPlugin.accept(JVMPlugin.java:131) | Error at com.springsource.loaded.agent.SpringLoadedPreProcessor.preProcess(SpringLoadedPreProcessor.java:99) | Error at com.springsource.loaded.agent.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:89) | Error ... 53 more

    SpringSource Issue Tracker | 4 years ago | Sergio Martinez
    java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira
  2. 0

    I keep getting the following error when trying to run the code: import javax.xml.transform.Source import javax.xml.transform.TransformerFactory import javax.xml.transform.stream.StreamResult import javax.xml.transform.stream.StreamSource def input = ''' <?xml version="1.0" ?> <persons> <person username="JS1"> <name>John</name> <family_name>Smith</family_name> </person> <person username="ND1"> <name>Nancy</name> <family_name>Davolio</family_name> </person> </persons> '''.trim() def xslt = ''' <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/persons"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Testing XML Example</title> </head> <body> <h1>Persons</h1> <ul> <xsl:apply-templates select="person"> <xsl:sort select="family_name" /> </xsl:apply-templates> </ul> </body> </html> </xsl:template> <xsl:template match="person"> <li> <xsl:value-of select="family_name"/>, <xsl:value-of select="name"/> </li> </xsl:template> </xsl:stylesheet> '''.trim() def factory = TransformerFactory.newInstance() def transformer = factory.newTransformer(new StreamSource(new StringReader(xslt))) transformer.transform(new StreamSource(new StringReader(input)), new StreamResult(System.out)) Error: Error java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira | Error at com.springsource.loaded.agent.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:91) | Error at sun.instrument.TransformerManager.transform(TransformerManager.java:188) | Error at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424) | Error at java.lang.ClassLoader.defineClass1(Native Method) | Error at java.lang.ClassLoader.defineClass(ClassLoader.java:791) | Error at java.lang.ClassLoader.defineClass(ClassLoader.java:634) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl$TransletClassLoader.defineClass(TemplatesImpl.java:133) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.defineTransletClasses(TemplatesImpl.java:327) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:364) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.newTransformer(TemplatesImpl.java:398) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:672) | Error at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl$newTransformer.call(Unknown Source) | Error at com.rebett.service.downloadProductFeed$$ENlI4q1X.XSLTProcessData(downloadProductFeed.groovy:91) | Error at com.rebett.service.downloadProductFeed$$DNlI4q1X.__execute(Unknown Source) | Error at com.rebett.service.downloadProductFeed$XSLTProcessData.call(Unknown Source) | Error at com.rebett.service.ImportService$$ENlHoCBv.importFromPortal(ImportService.groovy:31) | Error at com.rebett.service.ImportService$$DNlHoCBv.importFromPortal(Unknown Source) | Error at com.rebett.service.ImportService.importFromPortal(ImportService.groovy) | Error at com.rebett.service.ImportService$$FastClassByCGLIB$$610bfcc.invoke(<generated>) | Error at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) | Error at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) | Error at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) | Error at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) | Error at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) | Error at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) | Error at com.rebett.service.ImportService$$EnhancerByCGLIB$$3962ade2.importFromPortal(<generated>) | Error at com.rebett.service.ImportService$importFromPortal.call(Unknown Source) | Error at com.rebett.service.PortalService$_executeJob_closure3.doCall(PortalService.groovy:173) | Error at sun.reflect.GeneratedMethodAccessor1200.invoke(Unknown Source) | Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | Error at java.lang.reflect.Method.invoke(Method.java:601) | Error at com.springsource.loaded.ri.OriginalClassInvoker.invoke(OriginalClassInvoker.java:34) | Error at com.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1260) | Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:226) | Error at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52) | Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) | Error at com.rebett.service.PortalService$_executeJob_closure3.doCall(PortalService.groovy) | Error at sun.reflect.GeneratedMethodAccessor1199.invoke(Unknown Source) | Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | Error at java.lang.reflect.Method.invoke(Method.java:601) | Error at com.springsource.loaded.ri.OriginalClassInvoker.invoke(OriginalClassInvoker.java:34) | Error at com.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1260) | Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) | Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047) | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110) | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) | Error at groovy.lang.Closure.call(Closure.java:412) | Error at com.rebett.service.PortalService$_executeJob_closure3.call(PortalService.groovy) | Error at groovy.lang.Closure.call(Closure.java:406) | Error at com.rebett.service.PortalService$_executeJob_closure3.call(PortalService.groovy) | Error at groovy.lang.Closure.run(Closure.java:490) | Error at com.rebett.service.PortalService$_executeJob_closure3.run(PortalService.groovy) | Error at java.lang.Thread.run(Thread.java:722) | Error Caused by: java.lang.NullPointerException | Error at com.springsource.loaded.agent.JVMPlugin.accept(JVMPlugin.java:131) | Error at com.springsource.loaded.agent.SpringLoadedPreProcessor.preProcess(SpringLoadedPreProcessor.java:99) | Error at com.springsource.loaded.agent.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:89) | Error ... 53 more

    SpringSource Issue Tracker | 4 years ago | Sergio Martinez
    java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira
  3. 0

    Grails User (Old Archive) - ERROR: java.lang.RuntimeException: Reloading agent exited via exception

    nabble.com | 7 months ago
    java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [STS-2851] ClassCircularityErrors thrown using agent class reloading - SpringSource Issue Tracker

    springsource.com | 1 year ago
    java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira
  6. 0

    Grails User (Old Archive) - grails reloading agent exited via exception

    nabble.com | 7 months ago
    java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.springsource.loaded.agent.JVMPlugin.accept()
    2. com.springsource.loaded
      ClassPreProcessorAgentAdapter.transform
      1. com.springsource.loaded.agent.JVMPlugin.accept(JVMPlugin.java:131)
      2. com.springsource.loaded.agent.SpringLoadedPreProcessor.preProcess(SpringLoadedPreProcessor.java:99)
      3. com.springsource.loaded.agent.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:89)
      3 frames
    3. Java RT
      TransformerFactoryImpl$newTransformer.call
      1. sun.instrument.TransformerManager.transform(TransformerManager.java:188)
      2. sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
      3. java.lang.ClassLoader.defineClass1(Native Method)
      4. java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      5. java.lang.ClassLoader.defineClass(ClassLoader.java:634)
      6. com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl$TransletClassLoader.defineClass(TemplatesImpl.java:133)
      7. com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.defineTransletClasses(TemplatesImpl.java:327)
      8. com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:364)
      9. com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.newTransformer(TemplatesImpl.java:398)
      10. com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:672)
      11. com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl$newTransformer.call(Unknown Source)
      11 frames
    4. com.rebett.service
      ImportService$$FastClassByCGLIB$$610bfcc.invoke
      1. com.rebett.service.downloadProductFeed$$ENlI4q1X.XSLTProcessData(downloadProductFeed.groovy:91)
      2. com.rebett.service.downloadProductFeed$$DNlI4q1X.__execute(Unknown Source)
      3. com.rebett.service.downloadProductFeed$XSLTProcessData.call(Unknown Source)
      4. com.rebett.service.ImportService$$ENlHoCBv.importFromPortal(ImportService.groovy:31)
      5. com.rebett.service.ImportService$$DNlHoCBv.importFromPortal(Unknown Source)
      6. com.rebett.service.ImportService.importFromPortal(ImportService.groovy)
      7. com.rebett.service.ImportService$$FastClassByCGLIB$$610bfcc.invoke(<generated>)
      7 frames
    5. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
      1 frame
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      2 frames
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      1 frame
    8. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
      2 frames
    9. com.rebett.service
      PortalService$_executeJob_closure3.doCall
      1. com.rebett.service.ImportService$$EnhancerByCGLIB$$3962ade2.importFromPortal(<generated>)
      2. com.rebett.service.ImportService$importFromPortal.call(Unknown Source)
      3. com.rebett.service.PortalService$_executeJob_closure3.doCall(PortalService.groovy:173)
      3 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1200.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      3 frames
    11. com.springsource.loaded
      ReflectiveInterceptor.jlrMethodInvoke
      1. com.springsource.loaded.ri.OriginalClassInvoker.invoke(OriginalClassInvoker.java:34)
      2. com.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1260)
      2 frames
    12. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:226)
      2. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
      3 frames
    13. com.rebett.service
      PortalService$_executeJob_closure3.doCall
      1. com.rebett.service.PortalService$_executeJob_closure3.doCall(PortalService.groovy)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1199.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      3 frames
    15. com.springsource.loaded
      ReflectiveInterceptor.jlrMethodInvoke
      1. com.springsource.loaded.ri.OriginalClassInvoker.invoke(OriginalClassInvoker.java:34)
      2. com.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1260)
      2 frames
    16. Groovy
      Closure.call
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
      4. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
      6. groovy.lang.Closure.call(Closure.java:412)
      6 frames
    17. com.rebett.service
      PortalService$_executeJob_closure3.call
      1. com.rebett.service.PortalService$_executeJob_closure3.call(PortalService.groovy)
      1 frame
    18. Groovy
      Closure.call
      1. groovy.lang.Closure.call(Closure.java:406)
      1 frame
    19. com.rebett.service
      PortalService$_executeJob_closure3.call
      1. com.rebett.service.PortalService$_executeJob_closure3.call(PortalService.groovy)
      1 frame
    20. Groovy
      Closure.run
      1. groovy.lang.Closure.run(Closure.java:490)
      1 frame
    21. com.rebett.service
      PortalService$_executeJob_closure3.run
      1. com.rebett.service.PortalService$_executeJob_closure3.run(PortalService.groovy)
      1 frame
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame