Okay. Thanks. I've added some tests that reproduce this issue, and I have published a fix. You should be able to update the Mirah netbeans plugin in the Netbeans update center - or install from https://github.com/shannah/mirah-nbm/blob/master/bin/ca-weblite-netbeans-mirah.nbm
Steve On Tue, Aug 7, 2018 at 9:48 AM, <[email protected]> wrote: > Steve, > > I upgraded the plugin through Netbeans. This did not fix the issue, > however it did change the error message a bit. It now shows 2 extra lines: > > Type params is T > Type kind is IDENTIFIER > > > > Failed to get signature for method > public <T>T get(String url, Class<T> type, long id) throws Exception; > message: Could not find class T > Type params is T > Type kind is IDENTIFIER > D:\Project\NetBeans\OrdyxMobileStage\nbproject\mirah-build-cn1.xml:152: > java.lang.RuntimeException: Could not find class for T > at ca.weblite.asm.JavaExtendedStubCompiler$2.visitMethod( > JavaExtendedStubCompiler.java:486) > at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:800) > at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68) > at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91) > at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99) > at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:133) > at ca.weblite.asm.JavaExtendedStubCompiler$2.visitClass( > JavaExtendedStubCompiler.java:806) > at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720) > at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68) > at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91) > at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99) > at com.sun.source.util.TreeScanner.visitCompilationUnit( > TreeScanner.java:120) > at ca.weblite.asm.JavaExtendedStubCompiler$2.visitCompilationUnit( > JavaExtendedStubCompiler.java:278) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit. > accept(JCTree.java:550) > at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68) > at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91) > at ca.weblite.asm.JavaExtendedStubCompiler.compile( > JavaExtendedStubCompiler.java:838) > at ca.weblite.asm.JavaExtendedStubCompiler.compileFile( > JavaExtendedStubCompiler.java:176) > at ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory( > JavaExtendedStubCompiler.java:213) > at ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory( > JavaExtendedStubCompiler.java:216) > at ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory( > JavaExtendedStubCompiler.java:216) > at ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory( > JavaExtendedStubCompiler.java:216) > at ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory( > JavaExtendedStubCompiler.java:195) > at ca.weblite.asm.WLMirahCompiler.compile(WLMirahCompiler.java:208) > at ca.weblite.mirah.ant.MirahcTask.execute(MirahcTask.java:158) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) > at sun.reflect.GeneratedMethodAccessor178.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.tools.ant.dispatch.DispatchUtils.execute( > DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:435) > at org.apache.tools.ant.Target.performTasks(Target.java:456) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) > at org.apache.tools.ant.Project.executeTarget(Project.java:1376) > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets( > DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1260) > at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run( > BridgeImpl.java:286) > at org.apache.tools.ant.module.run.TargetExecutor.run( > TargetExecutor.java:555) > at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) > > > On Tuesday, August 7, 2018 at 9:37:34 AM UTC-4, Steve Hannah wrote: >> >> It looks like your Mirah Netbeans plugin is a little out of date. I just >> did a rebuild with the latest and posted on github. >> https://github.com/shannah/mirah-nbm/blob/master/bin/ca-webl >> ite-netbeans-mirah.nbm >> >> You should also be able to update through the netbeans update center. >> >> Steve >> >> On Fri, Aug 3, 2018 at 9:49 PM, Shai Almog <[email protected]> wrote: >> >>> I don't know, this will have to wait for Steve who has a holiday on >>> Monday... >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "CodenameOne Discussions" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> Visit this group at https://groups.google.com/grou >>> p/codenameone-discussions. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/codenameone-discussions/f25851a6-c815-48ea-bc03-6afbfaae >>> 8313%40googlegroups.com >>> <https://groups.google.com/d/msgid/codenameone-discussions/f25851a6-c815-48ea-bc03-6afbfaae8313%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Steve Hannah >> Software Developer >> Codename One >> http://www.codenameone.com >> > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/ > group/codenameone-discussions. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/codenameone-discussions/3a31b7b9-5840-4bb1-a910- > 7081c2163f52%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/3a31b7b9-5840-4bb1-a910-7081c2163f52%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Steve Hannah Software Developer Codename One http://www.codenameone.com -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKXY1QVVanUj0rHvbSCEtGaeffFaHBy-qoW3rtT_v0Xp2w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
