bug in metamodel #409

Closed
thradec opened this Issue Feb 8, 2014 · 0 comments

Projects

None yet

2 participants

@thradec
Ceylon member
java.lang.RuntimeException: While reflectively instantiating class ceylon.language.SeeAnnotation
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.addAnnotation(Metamodel.java:583)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.addAnnotation(Metamodel.java:558)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.annotations(Metamodel.java:625)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.annotations(Metamodel.java:612)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Predicates$AnnotatedWith.accept(Predicates.java:344)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Predicates$AnnotatedWith.accept(Predicates.java:328)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Predicates$Or.accept(Predicates.java:160)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Predicates$And.accept(Predicates.java:115)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.FreePackage.filteredMembers(FreePackage.java:151)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.FreePackage.annotatedMembers(FreePackage.java:138)
    at ceylon.test.internal.DefaultTestExecutor.findCallbacks$priv$(executors.ceylon:243)
    at ceylon.test.internal.DefaultTestExecutor.access$300(executors.ceylon:264)
    at ceylon.test.internal.DefaultTestExecutor$7.$call$(executors.ceylon:119)
    at ceylon.test.internal.DefaultTestExecutor$6.$call$(executors.ceylon:115)
    at ceylon.test.internal.DefaultTestExecutor$5.$call$(executors.ceylon:95)
    at ceylon.test.internal.DefaultTestExecutor.execute(executors.ceylon:61)
    at ceylon.test.internal.GroupTestExecutor.execute(executors.ceylon:295)
    at ceylon.test.internal.TestRunnerImpl.run(TestRunnerImpl.ceylon:49)
    at test.ceylon.test.suite.shouldRunTest2_.shouldRunTest2(core.ceylon:63)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.AppliedFunction.$call$(AppliedFunction.java:257)
    at com.redhat.ceylon.compiler.java.Util.apply(Util.java:924)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.apply(Metamodel.java:1094)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.AppliedFunction.apply(AppliedFunction.java:413)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.FreeFunction.invoke(FreeFunction.java:262)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.FreeFunction.invoke(FreeFunction.java:251)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.FreeFunction.invoke(FreeFunction.java:244)
    at ceylon.test.internal.DefaultTestExecutor.invokeFunction$priv$(executors.ceylon:265)
    at ceylon.test.internal.DefaultTestExecutor.invokeTest$priv$(executors.ceylon:260)
    at ceylon.test.internal.DefaultTestExecutor.access$000(executors.ceylon:264)
    at ceylon.test.internal.DefaultTestExecutor$4.$call$(executors.ceylon)
    at ceylon.test.internal.DefaultTestExecutor$10.$call$(executors.ceylon:172)
    at ceylon.test.internal.DefaultTestExecutor$11.$call$(executors.ceylon:178)
    at ceylon.test.internal.DefaultTestExecutor$9.$call$(executors.ceylon:154)
    at ceylon.test.internal.DefaultTestExecutor$8.$call$(executors.ceylon:144)
    at ceylon.test.internal.DefaultTestExecutor$7.$call$(executors.ceylon:135)
    at ceylon.test.internal.DefaultTestExecutor$6.$call$(executors.ceylon:115)
    at ceylon.test.internal.DefaultTestExecutor$5.$call$(executors.ceylon:95)
    at ceylon.test.internal.DefaultTestExecutor.execute(executors.ceylon:61)
    at ceylon.test.internal.TestRunnerImpl.run(TestRunnerImpl.ceylon:49)
    at test.ceylon.test.suite.run_.run(run.ceylon:12)
    at test.ceylon.test.suite.run_.main(run.ceylon)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at ceylon.modules.api.runtime.SecurityActions.invokeRunInternal(SecurityActions.java:58)
    at ceylon.modules.api.runtime.SecurityActions.invokeRun(SecurityActions.java:48)
    at ceylon.modules.api.runtime.AbstractRuntime.invokeRun(AbstractRuntime.java:85)
    at ceylon.modules.api.runtime.AbstractRuntime.execute(AbstractRuntime.java:145)
    at ceylon.modules.api.runtime.AbstractRuntime.execute(AbstractRuntime.java:129)
    at ceylon.modules.Main.execute(Main.java:69)
    at ceylon.modules.Main.main(Main.java:42)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.jboss.modules.Module.run(Module.java:270)
    at org.jboss.modules.Main.main(Main.java:294)
    at ceylon.modules.bootstrap.CeylonRunTool.run(CeylonRunTool.java:208)
    at com.redhat.ceylon.common.tools.CeylonTool.run(CeylonTool.java:343)
    at com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:283)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:89)
    at com.redhat.ceylon.launcher.Launcher.main(Launcher.java:21)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedConstructorAccessor41.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.addAnnotation(Metamodel.java:578)
    ... 66 more
Caused by: java.lang.RuntimeException: Could not find type: process in ceylon.language
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.metamodelError(DeclarationParser.java:237)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.metamodelNotFound(DeclarationParser.java:241)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.makeClassOrInterface(DeclarationParser.java:274)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.class_(DeclarationParser.java:220)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.type(DeclarationParser.java:203)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.declaration(DeclarationParser.java:165)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.package_(DeclarationParser.java:157)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.module(DeclarationParser.java:101)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.DeclarationParser.ref(DeclarationParser.java:67)
    at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.parseMetamodelReferences(Metamodel.java:778)
    at ceylon.language.SeeAnnotation.<init>(annotations.ceylon:139)
    ... 70 more
@tombentley tombentley was assigned by thradec Feb 8, 2014
@thradec thradec added this to the 1.1 milestone Feb 8, 2014
@thradec thradec added the Metamodel label Feb 8, 2014
@tombentley tombentley added a commit that closed this issue Mar 24, 2014
@tombentley tombentley Fix #409 afb3ad6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment