Actions
Bug #5669
closedProcessing of wrong test template
Start date:
03/03/2015
Due date:
% Done:
0%
Estimated time:
Detected in build:
2.1.4-beta-150219
Platform:
Published in build:
150324
Description
If I use minimips/templates/minimips_base.rb as a template, it will result in the following exception. This file was told to be a system one and should not be used as a test template, so MicroTESK should correctly process it not throwing the exception.
java.lang.NullPointerException at ru.ispras.fortress.util.InvariantChecks.checkNotNull(InvariantChecks.java:38) at ru.ispras.microtesk.test.template.TemplateProduct.<init>(Unknown Source) at ru.ispras.microtesk.test.template.TemplateProduct.<init>(Unknown Source) at ru.ispras.microtesk.test.template.TemplateProduct$Builder.build(Unknown Source) at ru.ispras.microtesk.test.template.Template.getProduct(Unknown Source) at ru.ispras.microtesk.test.TestEngine.process(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:455) at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:316) at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:61) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:188) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at org.jruby.runtime.invokedynamic.InvocationLinker.invocationFallback(InvocationLinker.java:149) at C_3a_.work.microtesk_minus_2_dot_1_dot_4_minus_beta_minus_150219.lib.ruby.microtesk.chained_2_rescue_1$RUBY$SYNTHETICmain(C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:48) at C_3a_.work.microtesk_minus_2_dot_1_dot_4_minus_beta_minus_150219.lib.ruby.microtesk.block_0$RUBY$main(C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:44) at C_3a_$work$microtesk_minus_2_dot_1_dot_4_minus_beta_minus_150219$lib$ruby$microtesk$block_0$RUBY$main.call(C_3a_$work$microtesk_minus_2_dot_1_dot_4_minus_beta_minus_150219$lib$ruby$microtesk$block_0$RUBY$main) at org.jruby.runtime.CompiledBlock19.yield(CompiledBlock19.java:139) at org.jruby.runtime.Block.yield(Block.java:130) at org.jruby.RubyHash$13.visit(RubyHash.java:1270) at org.jruby.RubyHash.visitAll(RubyHash.java:627) at org.jruby.RubyHash.iteratorVisitAll(RubyHash.java:1221) at org.jruby.RubyHash.each_pairCommon(RubyHash.java:1266) at org.jruby.RubyHash.each19(RubyHash.java:1257) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at org.jruby.runtime.invokedynamic.InvocationLinker.invocationFallback(InvocationLinker.java:224) at C_3a_.work.microtesk_minus_2_dot_1_dot_4_minus_beta_minus_150219.lib.ruby.microtesk.method__1$RUBY$main(C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:43) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at org.jruby.runtime.invokedynamic.InvocationLinker.invocationFallback(InvocationLinker.java:132) at C_3a_.work.microtesk_minus_2_dot_1_dot_4_minus_beta_minus_150219.lib.ruby.microtesk.__file__(C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:111) at C_3a_.work.microtesk_minus_2_dot_1_dot_4_minus_beta_minus_150219.lib.ruby.microtesk.load(C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb) at org.jruby.Ruby.runScript(Ruby.java:815) at org.jruby.Ruby.runScript(Ruby.java:808) at org.jruby.Ruby.runNormally(Ruby.java:679) at org.jruby.Ruby.runFromMain(Ruby.java:528) at org.jruby.Main.doRunFromMain(Main.java:390) at org.jruby.Main.internalRun(Main.java:279) at org.jruby.Main.run(Main.java:221) at org.jruby.Main.main(Main.java:201) InvariantChecks.java:38:in `checkNotNull': java.lang.NullPointerException from null:-1:in `<init>' from null:-1:in `<init>' from null:-1:in `build' from null:-1:in `getProduct' from null:-1:in `process' from null:-2:in `invoke0' from null:-1:in `invoke' from null:-1:in `invoke' from null:-1:in `invoke' from JavaMethod.java:455:in `invokeDirectWithExceptionHandling' from JavaMethod.java:316:in `invokeDirect' from InstanceMethodInvoker.java:61:in `call' from CachingCallSite.java:326:in `cacheAndCall' from CachingCallSite.java:170:in `call' from CallOneArgNode.java:57:in `interpret' from NewlineNode.java:105:in `interpret' from BlockNode.java:71:in `interpret' from ASTInterpreter.java:75:in `INTERPRET_METHOD' from InterpretedMethod.java:182:in `call' from DefaultMethod.java:188:in `call' from null:-1:in `invokeWithArguments' from InvocationLinker.java:149:in `invocationFallback' from C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:48:in `chained_2_rescue_1$RUBY$SYNTHETICmain' from C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:44:in `block_0$RUBY$main' from C_3a_$work$microtesk_minus_2_dot_1_dot_4_minus_beta_minus_150219$lib$ruby$microtesk$block_0$RUBY$main:-1:in `call' from CompiledBlock19.java:139:in `yield' from Block.java:130:in `yield' from RubyHash.java:1270:in `visit' from RubyHash.java:627:in `visitAll' from RubyHash.java:1221:in `iteratorVisitAll' from RubyHash.java:1266:in `each_pairCommon' from RubyHash.java:1257:in `each19' from null:-1:in `invokeWithArguments' from null:-1:in `invokeWithArguments' from null:-1:in `invokeWithArguments' from InvocationLinker.java:224:in `invocationFallback' from C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:43:in `method__1$RUBY$main' from null:-1:in `invokeWithArguments' from null:-1:in `invokeWithArguments' from null:-1:in `invokeWithArguments' from null:-1:in `invokeWithArguments' from InvocationLinker.java:132:in `invocationFallback' from C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:111:in `__file__' from C:\work\microtesk-2.1.4-beta-150219/lib/ruby/microtesk.rb:-1:in `load' from Ruby.java:815:in `runScript' from Ruby.java:808:in `runScript' from Ruby.java:679:in `runNormally' from Ruby.java:528:in `runFromMain' from Main.java:390:in `doRunFromMain' from Main.java:279:in `internalRun' from Main.java:221:in `run' from Main.java:201:in `main'
Updated by Alexander Kamkin over 9 years ago
- Subject changed from Processing of wrong test template to [template] Processing of wrong test template
- Target version set to 2.1
Updated by Alexander Kamkin over 9 years ago
- Priority changed from Normal to High
Updated by Alexander Kamkin over 9 years ago
- Subject changed from [template] Processing of wrong test template to Processing of wrong test template
- Category set to 43
Updated by Andrei Tatarnikov over 9 years ago
After r3304 (fix for Bug #5691) this exception does not occur.
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from New to Resolved
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from Resolved to Closed
- Published in build set to 150324
Actions