[
https://issues.jboss.org/browse/RTGOV-299?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on RTGOV-299:
-----------------------------------------------
Julian Coleman <jcoleman(a)redhat.com> changed the Status of [bug
1028794|https://bugzilla.redhat.com/show_bug.cgi?id=1028794] from MODIFIED to ON_QA
SLA reports sample deployment exception
---------------------------------------
Key: RTGOV-299
URL:
https://issues.jboss.org/browse/RTGOV-299
Project: RTGov (Run Time Governance)
Issue Type: Bug
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 2.0.0.M1
When deploying the SLA reports sample, it now throws the following exception:
{noformat}
14:00:24,007 SEVERE [org.overlord.rtgov.internal.reports.loader.jee.JEEReportsLoader]
(ServerService Thread Pool -- 89) Failed to register reports: [Error: not a statement, or
badly formed structure]
[Near : {... long respTime=calcResponseTime(activity, i, ....}]
^
[Line: 105, Column: 19]
at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:299)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2114)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.ast.TypedVarNode.<init>(TypedVarNode.java:52)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.procTypedNode(AbstractParser.java:1412)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:794)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.nextTokenSkipSymbols(AbstractParser.java:188)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:156)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2114)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.ast.IfNode.<init>(IfNode.java:64) [mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.createBlockToken(AbstractParser.java:1497)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser._captureBlock(AbstractParser.java:1700)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.captureCodeBlock(AbstractParser.java:1542)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:380)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:128)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2114)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.ast.IfNode.<init>(IfNode.java:64) [mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.createBlockToken(AbstractParser.java:1497)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser._captureBlock(AbstractParser.java:1700)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.captureCodeBlock(AbstractParser.java:1542)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:380)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:128)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2114)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.ast.IfNode.<init>(IfNode.java:64) [mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.createBlockToken(AbstractParser.java:1497)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser._captureBlock(AbstractParser.java:1700)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.captureCodeBlock(AbstractParser.java:1542)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:380)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:128)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2114)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.ast.ForNode.buildForEach(ForNode.java:132) [mvel2-2.1.7.Final.jar:]
at org.mvel2.ast.ForNode.<init>(ForNode.java:49) [mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.createBlockToken(AbstractParser.java:1501)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser._captureBlock(AbstractParser.java:1729)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.captureCodeBlock(AbstractParser.java:1565)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:395)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:128)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:62)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.MVEL.compileExpression(MVEL.java:810) [mvel2-2.1.7.Final.jar:]
at org.mvel2.MVEL.compileExpression(MVEL.java:820) [mvel2-2.1.7.Final.jar:]
at org.mvel2.MVEL.compileExpression(MVEL.java:723) [mvel2-2.1.7.Final.jar:]
at org.overlord.rtgov.reports.MVELReportGenerator.init(MVELReportGenerator.java:53)
[reports-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at org.overlord.rtgov.reports.ReportDefinition.preInit(ReportDefinition.java:108)
[reports-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.overlord.rtgov.reports.AbstractReportsLoader.preInit(AbstractReportsLoader.java:35)
[reports-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at
org.overlord.rtgov.internal.reports.loader.jee.JEEReportsLoader.init(JEEReportsLoader.java:96)
[reports-loader-jee-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_07]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_07]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_07]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_07]
at
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:130)
[jboss-as-ee-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at
org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:73)
[jboss-as-weld-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at
org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:95)
[jboss-as-ee-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at
org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
[jboss-as-ee-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:248)
[jboss-as-ejb3-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:344)
[jboss-as-ejb3-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:66)
[jboss-as-ejb3-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
[jboss-as-ejb3-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
[jboss-as-ee-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
[jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at
org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)
[jboss-as-ee-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:85)
[jboss-as-ee-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:126)
[jboss-as-ejb3-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:141)
[jboss-as-ejb3-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
[jboss-as-ee-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_07]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_07]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.NullPointerException
at org.mvel2.compiler.PropertyVerifier.getMethod(PropertyVerifier.java:576)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.PropertyVerifier.getBeanProperty(PropertyVerifier.java:300)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.PropertyVerifier.analyze(PropertyVerifier.java:117)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:381)
[mvel2-2.1.7.Final.jar:]
at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:273)
[mvel2-2.1.7.Final.jar:]
... 80 more
14:00:24,039 INFO [org.jboss.web] (ServerService Thread Pool -- 89) JBAS018210: Register
web context: /sla-report
{noformat}
This appears to be related to use of mvel 2.1.6/7.
If the defined function is not called (i.e. comment out and use default of 0), it does
not cause the exception - so appears to be a problem in the compiler attempting to resolve
the function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira