Created
May 13, 2015 10:37
-
-
Save gab1one/1545b28e21f34cfc18fb to your computer and use it in GitHub Desktop.
UsingOps tutorial console output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.IllegalArgumentException: Cannot handle replace call to list in ij.Menus's public static synchronized java.lang.String[] getPlugins() | |
at net.imagej.patcher.CodeHacker.replaceCallInMethod(CodeHacker.java:725) | |
at net.imagej.patcher.CodeHacker.replaceCallInMethod(CodeHacker.java:650) | |
at net.imagej.patcher.LegacyExtensions.addExtraPlugins(LegacyExtensions.java:477) | |
at net.imagej.patcher.LegacyExtensions.injectHooks(LegacyExtensions.java:175) | |
at net.imagej.patcher.LegacyInjector.inject(LegacyInjector.java:308) | |
at net.imagej.patcher.LegacyInjector.injectHooks(LegacyInjector.java:109) | |
at net.imagej.patcher.LegacyEnvironment.initialize(LegacyEnvironment.java:101) | |
at net.imagej.patcher.LegacyEnvironment.applyPatches(LegacyEnvironment.java:495) | |
at net.imagej.patcher.LegacyInjector.preinit(LegacyInjector.java:397) | |
at net.imagej.patcher.LegacyInjector.preinit(LegacyInjector.java:376) | |
at net.imagej.legacy.DefaultLegacyService.<clinit>(DefaultLegacyService.java:124) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at java.lang.Class.newInstance(Class.java:442) | |
at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:302) | |
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269) | |
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231) | |
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194) | |
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:166) | |
at org.scijava.Context.<init>(Context.java:265) | |
at org.scijava.Context.<init>(Context.java:222) | |
at org.scijava.Context.<init>(Context.java:161) | |
at org.scijava.Context.<init>(Context.java:117) | |
at org.scijava.Context.<init>(Context.java:105) | |
at net.imagej.ImageJ.<init>(ImageJ.java:82) | |
at UsingOps.main(UsingOps.java:17) | |
Caused by: java.lang.RuntimeException: java.io.IOException: invalid constant type: 18 at 168 | |
at javassist.CtClassType.getClassFile2(CtClassType.java:204) | |
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:98) | |
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:84) | |
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:711) | |
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:688) | |
at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157) | |
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46) | |
at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242) | |
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:330) | |
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50) | |
at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:391) | |
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:355) | |
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50) | |
at javassist.compiler.Javac.compileStmnt(Javac.java:569) | |
at javassist.expr.MethodCall.replace(MethodCall.java:235) | |
at net.imagej.patcher.CodeHacker$7.edit(CodeHacker.java:686) | |
at javassist.expr.ExprEditor.loopBody(ExprEditor.java:192) | |
at javassist.expr.ExprEditor.doit(ExprEditor.java:91) | |
at javassist.CtBehavior.instrument(CtBehavior.java:679) | |
at net.imagej.patcher.CodeHacker$EagerExprEditor.instrument(CodeHacker.java:1279) | |
at net.imagej.patcher.CodeHacker.replaceCallInMethod(CodeHacker.java:670) | |
... 27 more | |
Caused by: java.io.IOException: invalid constant type: 18 at 168 | |
at javassist.bytecode.ConstPool.readOne(ConstPool.java:1044) | |
at javassist.bytecode.ConstPool.read(ConstPool.java:984) | |
at javassist.bytecode.ConstPool.<init>(ConstPool.java:125) | |
at javassist.bytecode.ClassFile.read(ClassFile.java:770) | |
at javassist.bytecode.ClassFile.<init>(ClassFile.java:114) | |
at javassist.CtClassType.getClassFile2(CtClassType.java:191) | |
... 47 more | |
java.lang.IllegalArgumentException: Cannot handle app name in ij.ImageJ's public <init>(java.applet.Applet applet, int mode) | |
at net.imagej.patcher.CodeHacker.replaceAppNameInCall(CodeHacker.java:446) | |
at net.imagej.patcher.LegacyExtensions.insertAppNameHooks(LegacyExtensions.java:406) | |
at net.imagej.patcher.LegacyExtensions.injectHooks(LegacyExtensions.java:292) | |
at net.imagej.patcher.LegacyInjector.inject(LegacyInjector.java:308) | |
at net.imagej.patcher.LegacyInjector.injectHooks(LegacyInjector.java:109) | |
at net.imagej.patcher.LegacyEnvironment.initialize(LegacyEnvironment.java:101) | |
at net.imagej.patcher.LegacyEnvironment.applyPatches(LegacyEnvironment.java:495) | |
at net.imagej.patcher.LegacyInjector.preinit(LegacyInjector.java:397) | |
at net.imagej.patcher.LegacyInjector.preinit(LegacyInjector.java:376) | |
at net.imagej.legacy.DefaultLegacyService.<clinit>(DefaultLegacyService.java:124) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at java.lang.Class.newInstance(Class.java:442) | |
at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:302) | |
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269) | |
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231) | |
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194) | |
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:166) | |
at org.scijava.Context.<init>(Context.java:265) | |
at org.scijava.Context.<init>(Context.java:222) | |
at org.scijava.Context.<init>(Context.java:161) | |
at org.scijava.Context.<init>(Context.java:117) | |
at org.scijava.Context.<init>(Context.java:105) | |
at net.imagej.ImageJ.<init>(ImageJ.java:82) | |
at UsingOps.main(UsingOps.java:17) | |
Caused by: java.lang.RuntimeException: java.io.IOException: invalid constant type: 18 at 1 | |
at javassist.CtClassType.getClassFile2(CtClassType.java:204) | |
at javassist.CtClassType.subtypeOf(CtClassType.java:304) | |
at javassist.CtClassType.subtypeOf(CtClassType.java:319) | |
at javassist.compiler.MemberResolver.compareSignature(MemberResolver.java:235) | |
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:107) | |
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:84) | |
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:711) | |
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:688) | |
at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157) | |
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46) | |
at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242) | |
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:330) | |
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50) | |
at javassist.compiler.Javac.compileStmnt(Javac.java:569) | |
at javassist.expr.MethodCall.replace(MethodCall.java:235) | |
at net.imagej.patcher.CodeHacker$4.edit(CodeHacker.java:427) | |
at net.imagej.patcher.CodeHacker$4.edit(CodeHacker.java:441) | |
at javassist.expr.ExprEditor.loopBody(ExprEditor.java:220) | |
at javassist.expr.ExprEditor.doit(ExprEditor.java:91) | |
at javassist.CtBehavior.instrument(CtBehavior.java:679) | |
at net.imagej.patcher.CodeHacker$EagerExprEditor.instrument(CodeHacker.java:1279) | |
at net.imagej.patcher.CodeHacker.replaceAppNameInCall(CodeHacker.java:402) | |
... 26 more | |
Caused by: java.io.IOException: invalid constant type: 18 at 1 | |
at javassist.bytecode.ConstPool.readOne(ConstPool.java:1044) | |
at javassist.bytecode.ConstPool.read(ConstPool.java:984) | |
at javassist.bytecode.ConstPool.<init>(ConstPool.java:125) | |
at javassist.bytecode.ClassFile.read(ClassFile.java:770) | |
at javassist.bytecode.ClassFile.<init>(ClassFile.java:114) | |
at javassist.CtClassType.getClassFile2(CtClassType.java:191) | |
... 47 more | |
[INFO] Found 200 ops | |
[INFO] Available operations: | |
[111.0] (net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.real.DoubleType, net.imglib2.img.basictypeaccess.array.DoubleArray> image) = net.imagej.ops.arithmetic.add.parallel.AddConstantToArrayDoubleImageP(net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.real.DoubleType, net.imglib2.img.basictypeaccess.array.DoubleArray> image, byte value) | |
[110.0] (net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.integer.ByteType, net.imglib2.img.basictypeaccess.array.ByteArray> image) = net.imagej.ops.arithmetic.add.parallel.AddConstantToArrayByteImageP(net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.integer.ByteType, net.imglib2.img.basictypeaccess.array.ByteArray> image, byte value) | |
[101.0] (net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.real.DoubleType, net.imglib2.img.basictypeaccess.array.DoubleArray> image) = net.imagej.ops.arithmetic.add.AddConstantToArrayDoubleImage(net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.real.DoubleType, net.imglib2.img.basictypeaccess.array.DoubleArray> image, double value) | |
[100.0] (net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.integer.ByteType, net.imglib2.img.basictypeaccess.array.ByteArray> image) = net.imagej.ops.arithmetic.add.AddConstantToArrayByteImage(net.imglib2.img.array.ArrayImg<net.imglib2.type.numeric.integer.ByteType, net.imglib2.img.basictypeaccess.array.ByteArray> image, byte value) | |
[100.0] (java.lang.Object result) = net.imagej.ops.onthefly.ArithmeticOp$AddOp(java.lang.Object result, java.lang.Object a, java.lang.Object b) | |
[0.6] (double a) = net.imagej.ops.arithmetic.add.AddConstantToDouble(double a, double b) | |
[0.5] (long a) = net.imagej.ops.arithmetic.add.AddConstantToLong(long a, long b) | |
[0.4] (float a) = net.imagej.ops.arithmetic.add.AddConstantToFloat(float a, float b) | |
[0.3] (int a) = net.imagej.ops.arithmetic.add.AddConstantToInteger(int a, int b) | |
[0.2] (short a) = net.imagej.ops.arithmetic.add.AddConstantToShort(short a, short b) | |
[0.1] (byte a) = net.imagej.ops.arithmetic.add.AddConstantToByte(byte a, byte b) | |
[0.0] (net.imglib2.IterableRealInterval<capture of ?> image) = net.imagej.ops.arithmetic.add.AddConstantToImageInPlace(net.imglib2.IterableRealInterval<capture of ?> image, capture of ? value) | |
[0.0] (net.imglib2.IterableInterval<capture of ?> a) = net.imagej.ops.arithmetic.add.AddRandomAccessibleIntervalToIterableInterval(net.imglib2.IterableInterval<capture of ?> a, net.imglib2.RandomAccessibleInterval<capture of ?> b) | |
[0.0] (net.imglib2.img.planar.PlanarImg<net.imglib2.type.numeric.real.DoubleType, net.imglib2.img.basictypeaccess.array.DoubleArray> image) = net.imagej.ops.arithmetic.add.AddConstantToPlanarDoubleImage(net.imglib2.img.planar.PlanarImg<net.imglib2.type.numeric.real.DoubleType, net.imglib2.img.basictypeaccess.array.DoubleArray> image, double value) | |
[-100.0] (capture of ? out?) = net.imagej.ops.arithmetic.add.AddConstantToNumericType(capture of ? out?, capture of ? in, capture of ? value) | |
[-10000.0] (net.imglib2.RandomAccessibleInterval<capture of ?> out) = net.imagej.ops.arithmetic.add.AddConstantToImageFunctional(net.imglib2.RandomAccessibleInterval<capture of ?> out, net.imglib2.IterableInterval<capture of ?> in, capture of ? value) | |
[INFO] What is 2 + 5? 7.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See imagej/tutorials#13