DX Application Performance Management

 View Only
Expand all | Collapse all

AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

  • 1.  AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Posted May 24, 2016 09:23 AM

    Hi guys

     

    I'm facing the error below inside the AutoProbe.log using the Agent 9.5.5 with WAS 8.5.5. (EM Server is 9.7)

     

    Anyone can help with that?

     

    Upgrading the agent version to 9.7 it will solve this?

     

    ---------------------------------- PegaActions.PBD ----------------------------

    SetFlag: PegaActions

    TurnOn: PegaActions

     

    IdentifyMatchingClassesAs: "com.pegarules.generated.activity.*" PegaActions

    TraceComplexMethodsIfFlagged: PegaActions BlamePointTracer "Pega|Actions|{classname}|{method}"

    ---------------------------------------------------------------------------------------

     

    thanks

     

    JMertin

    reian06

    Guenter_Grossberger

    coqca01

    strgu01

     

    ************************************************************************************************************************************************************************

    A problem occurred while processing com/pegarules/generated/activity/ra_action_getdecision_2223487f1f298b238539582a5465da06: Diagnos_Exception_Unknown_Constant_Type[15]

    ************************************************************************************************************************************************************************

    com.wily.diagnos.personality.java.classfile.constants.DGUnknownConstantTypeException: Diagnos_Exception_Unknown_Constant_Type[15]

      at com.wily.diagnos.personality.java.classfile.constants.DGConstant.createConstant(DGConstant.java:101)

      at com.wily.diagnos.personality.java.classfile.constants.DGConstantPool.<init>(DGConstantPool.java:82)

      at com.wily.diagnos.personality.java.classfile.DGClass.<init>(DGClass.java:246)

      at com.wily.diagnos.personality.java.compiler.DGStreamSingleCompiler.doNewModeledClass(DGStreamSingleCompiler.java:65)

      at com.wily.diagnos.cmp.batch.ASingleCompiler.compileOneClass(ASingleCompiler.java:82)

      at com.wily.diagnos.personality.java.JavaPersonality$JavaClassCompiler.compileOneClass(JavaPersonality.java:173)

      at com.wily.introscope.autoprobe.AutoProbeTransformer.transform(AutoProbeTransformer.java:1305)

      at com.wily.introscope.autoprobe.AutoProbeTransformer.transform(AutoProbeTransformer.java:1244)

      at com.wily.introscope.agent.transformer.TransformerAdministrator.doTransformClass(TransformerAdministrator.java:573)

      at com.wily.introscope.agent.transformer.TransformerAdministrator.transformClass(TransformerAdministrator.java:543)

      at com.wily.introscope.agent.enterprise.EnterpriseAgent.IAgent_transformClass(EnterpriseAgent.java:1043)

      at com.wily.introscope.agent.runtime.java.enterprise.Java2EnterpriseAgent.IAgent_transformClass(Java2EnterpriseAgent.java:135)

      at com.wily.introscope.agent.AgentShim.ProbeBuilderEntryPoint_transformClass(AgentShim.java:1270)

      at com.wily.introscope.api.instrument.ClassFileTransformerImpl.transform(ClassFileTransformerImpl.java:29)

      at sun.instrument.TransformerManager.transform(TransformerManager.java:201)

      at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:447)

      at java.lang.ClassLoader.defineClassImpl(Native Method)

      at java.lang.ClassLoader.defineClass(ClassLoader.java:331)

      at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$Loader.loadClass(PRClassLoaderDB.java:2228)

      at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$ClassElement.getClassForEntry(PRClassLoaderDB.java:1807)

      at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB.findClass(PRClassLoaderDB.java:931)

      at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB.loadClass(PRClassLoaderDB.java:1065)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:741)

      at com.pega.pegarules.generation.internal.vtable.asm.VirtualTableAssemblyHandler.load(VirtualTableAssemblyHandler.java:332)

      at com.pega.pegarules.generation.internal.vtable.asm.VirtualTableAssemblyHandler.loadForAspect(VirtualTableAssemblyHandler.java:155)

      at com.pega.pegarules.generation.internal.vtable.containers.ClassNameRuleContainer.upgrade(ClassNameRuleContainer.java:56)

      at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableCandidate.upgradeContainerFor(VirtualTableCandidate.java:286)

      at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableCandidate.getExecutableContainerFor(VirtualTableCandidate.java:220)

      at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.resolveToContainer(VirtualTableResolver.java:427)

      at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.resolveRule(VirtualTableResolver.java:154)

      at com.pega.pegarules.generation.internal.vtable.VirtualTableImpl.resolveRule(VirtualTableImpl.java:295)

      at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:474)

      at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3493)

      at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)

      at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:466)

      at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.runActivities(ServiceAPI.java:1896)

      at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:390)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)

      at java.lang.reflect.Method.invoke(Method.java:620)

      at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1277)

      at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1015)

      at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:848)

      at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)

      at com.pega.pegarules.integration.engine.internal.services.soap.SOAPService.invoke(SOAPService.java:589)

      at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327)

      at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270)

      at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)

      at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)

      at java.lang.reflect.Method.invoke(Method.java:620)

      at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)

      at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)

      at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)

      at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingException(AppServerBridgeToPega.java:246)

      at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:168)

      at com.pega.pegarules.internal.etier.interfaces.EJSLocalStatelessEngineBMT_f2439d86.invokeEngine(Unknown Source)

      at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)

      at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)

      at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:574)

      at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:374)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)

      at java.lang.reflect.Method.invoke(Method.java:620)

      at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)

      at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)

      at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)

      at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)

      at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1232)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:781)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:480)

      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1114)

      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3926)

      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)

      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1007)

      at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)

      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:287)

      at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1049)

      at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:643)

      at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)

      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)



  • 2.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]
    Best Answer

    Broadcom Employee
    Posted May 24, 2016 11:49 AM

    Basically this means that ra_action_getdecision_2223487f1f298b238539582a5465da06 did not fall into one of the known constants, for example, integer, float, long, double, class, method handler, method type, etc...

     

    You would have to find out what type this is by going to the Pega code at com/pegarules/generated/activity and inspecting ra_action_getdecision_2223487f1f298b238539582a5465da06

     

    Once you find out, please let us know so we can check if this has been fixed/added in a higher release.

     

    Thanks,
    Matt



  • 3.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Posted May 24, 2016 12:33 PM
      |   view attached

    Hi Matt

     

    This is what I understood as well - I just don't understand the reason.

     

    I got the class from the client right now and the only constant that I've found was PRStackFrame.Type..*

     

    Cheers



  • 4.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Broadcom Employee
    Posted May 24, 2016 12:44 PM

    Can't find much in that file.  However the stack trace gives this last line in the Pega code before handing it over to Java.

     

    Can you check at what is at this line?

    at com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$Loader.loadClass(PRClassLoaderDB.java:2228)

     

    Thanks,Matt



  • 5.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Posted May 25, 2016 08:12 AM

    The Pega Consultant here does't have access to the source code.

     

    The Pega Frontend has a option to save the request to a Java file.

     

    Do you think upgrading the Agent version will help?



  • 6.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Broadcom Employee
    Posted May 25, 2016 08:30 AM

    Try upgrading to 9.7 Agent and see if there is a difference.



  • 7.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Broadcom Employee
    Posted May 25, 2016 11:54 AM

    If upgrading does not help, then please open a support issue.



  • 8.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Broadcom Employee
    Posted May 25, 2016 09:12 AM

    Hi Cristiano:

        Please let us know if you plan to upgrade the agent and if there are further questions or the thread may be marked as closed

    Thanks

    Hal German



  • 9.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Posted May 25, 2016 05:00 PM

    I spoke with the WAS guys and they use the agent 9.5.5 version standard in all WAS 8.5.5 - This error is occurring in pre production environment.

     

    musma03

     

    Tomorrow I will ask to the Pega Consultant if he can find somebody to give the class you've mention.

     

    If I have the confirmation that this error can be solved in the version 9.7 I can argue with them - otherwise I can't ask them to change this now - they are doing another tasks as well.



  • 10.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Broadcom Employee
    Posted May 26, 2016 07:34 AM

    Hi Cristiano:

      Thanks for your last update. It looks like some good next steps including upgrading have been provided. Do you need any further assistance or may this thread be marked as closed?

     

    Thanks

    Hal German



  • 11.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Posted May 26, 2016 08:00 AM

    Thanks! Well... about to close - I was expecting someone says that they had the same problem and found a alternative.



  • 12.  Re: AutoProbe error Diagnos_Exception_Unknown_Constant_Type[15]

    Broadcom Employee
    Posted May 26, 2016 08:07 AM

    Thanks Cristiano:

          Marking as answered. Sometimes the alternative has not been found yet :-)

     

    Hal German