{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/graal/issues/760","repository_url":"https://api.github.com/repos/oracle/graal","labels_url":"https://api.github.com/repos/oracle/graal/issues/760/labels{/name}","comments_url":"https://api.github.com/repos/oracle/graal/issues/760/comments","events_url":"https://api.github.com/repos/oracle/graal/issues/760/events","html_url":"https://github.com/oracle/graal/issues/760","id":373395298,"node_id":"MDU6SXNzdWUzNzMzOTUyOTg=","number":760,"title":"NoClassDefFoundError regressions since 1.0.0-rc7","user":{"login":"dsyer","id":124075,"node_id":"MDQ6VXNlcjEyNDA3NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/124075?v=4","gravatar_id":"","url":"https://api.github.com/users/dsyer","html_url":"https://github.com/dsyer","followers_url":"https://api.github.com/users/dsyer/followers","following_url":"https://api.github.com/users/dsyer/following{/other_user}","gists_url":"https://api.github.com/users/dsyer/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyer/subscriptions","organizations_url":"https://api.github.com/users/dsyer/orgs","repos_url":"https://api.github.com/users/dsyer/repos","events_url":"https://api.github.com/users/dsyer/events{/privacy}","received_events_url":"https://api.github.com/users/dsyer/received_events","type":"User","site_admin":false},"labels":[{"id":837757615,"node_id":"MDU6TGFiZWw4Mzc3NTc2MTU=","url":"https://api.github.com/repos/oracle/graal/labels/substrate","name":"substrate","color":"e2c102","default":false}],"state":"open","locked":false,"assignee":{"login":"cstancu","id":1731630,"node_id":"MDQ6VXNlcjE3MzE2MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/1731630?v=4","gravatar_id":"","url":"https://api.github.com/users/cstancu","html_url":"https://github.com/cstancu","followers_url":"https://api.github.com/users/cstancu/followers","following_url":"https://api.github.com/users/cstancu/following{/other_user}","gists_url":"https://api.github.com/users/cstancu/gists{/gist_id}","starred_url":"https://api.github.com/users/cstancu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstancu/subscriptions","organizations_url":"https://api.github.com/users/cstancu/orgs","repos_url":"https://api.github.com/users/cstancu/repos","events_url":"https://api.github.com/users/cstancu/events{/privacy}","received_events_url":"https://api.github.com/users/cstancu/received_events","type":"User","site_admin":false},"assignees":[{"login":"cstancu","id":1731630,"node_id":"MDQ6VXNlcjE3MzE2MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/1731630?v=4","gravatar_id":"","url":"https://api.github.com/users/cstancu","html_url":"https://github.com/cstancu","followers_url":"https://api.github.com/users/cstancu/followers","following_url":"https://api.github.com/users/cstancu/following{/other_user}","gists_url":"https://api.github.com/users/cstancu/gists{/gist_id}","starred_url":"https://api.github.com/users/cstancu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstancu/subscriptions","organizations_url":"https://api.github.com/users/cstancu/orgs","repos_url":"https://api.github.com/users/cstancu/repos","events_url":"https://api.github.com/users/cstancu/events{/privacy}","received_events_url":"https://api.github.com/users/cstancu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-10-24T09:44:17Z","updated_at":"2018-11-07T18:01:13Z","closed_at":null,"author_association":"NONE","body":"This happens with rc8 but not rc7.\r\n\r\n```\r\n...\r\n[target/demo:36]     analysis:  59,408.78 ms\r\nfatal error: java.lang.NoClassDefFoundError\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:598)\r\n\tat java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1005)\r\n\tat com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:419)\r\n\tat com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:278)\r\n\tat com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:375)\r\n\tat com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:104)\r\nCaused by: java.lang.NoClassDefFoundError\r\n\tat jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.lookupType(HotSpotJVMCIRuntime.java:464)\r\n\tat jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.lookupType(HotSpotResolvedObjectTypeImpl.java:957)\r\n\tat jdk.vm.ci.meta.UnresolvedJavaType.resolve(UnresolvedJavaType.java:92)\r\n\tat jdk.vm.ci.hotspot.HotSpotResolvedJavaFieldImpl.getType(HotSpotResolvedJavaFieldImpl.java:126)\r\n\tat com.oracle.graal.pointsto.meta.AnalysisType.<init>(AnalysisType.java:185)\r\n\tat com.oracle.graal.pointsto.meta.AnalysisUniverse.createType(AnalysisUniverse.java:251)\r\n\tat com.oracle.graal.pointsto.meta.AnalysisUniverse.lookupAllowUnresolved(AnalysisUniverse.java:193)\r\n\tat com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:170)\r\n\tat com.oracle.graal.pointsto.meta.AnalysisType.getEnclosingType(AnalysisType.java:947)\r\n\tat com.oracle.svm.hosted.analysis.Inflation.checkType(Inflation.java:153)\r\n\tat java.lang.Iterable.forEach(Iterable.java:75)\r\n\tat java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080)\r\n\tat com.oracle.svm.hosted.analysis.Inflation.checkObjectGraph(Inflation.java:130)\r\n\tat com.oracle.graal.pointsto.BigBang.checkObjectGraph(BigBang.java:590)\r\n\tat com.oracle.graal.pointsto.BigBang.finish(BigBang.java:562)\r\n\tat com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:691)\r\n\tat com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:402)\r\n\tat java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386)\r\n\tat java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)\r\n\tat java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)\r\n\tat java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)\r\n\tat java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)\r\nCaused by: java.lang.ClassNotFoundException: com.oracle.mxtool.junit.MxJUnitRequest\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat jdk.vm.ci.hotspot.CompilerToVM.lookupType(Native Method)\r\n\tat jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.lookupType(HotSpotJVMCIRuntime.java:456)\r\n```\r\n\r\nAny ideas for a workaround?"},"comment":{"url":"https://api.github.com/repos/oracle/graal/issues/comments/436718942","html_url":"https://github.com/oracle/graal/issues/760#issuecomment-436718942","issue_url":"https://api.github.com/repos/oracle/graal/issues/760","id":436718942,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjcxODk0Mg==","user":{"login":"cstancu","id":1731630,"node_id":"MDQ6VXNlcjE3MzE2MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/1731630?v=4","gravatar_id":"","url":"https://api.github.com/users/cstancu","html_url":"https://github.com/cstancu","followers_url":"https://api.github.com/users/cstancu/followers","following_url":"https://api.github.com/users/cstancu/following{/other_user}","gists_url":"https://api.github.com/users/cstancu/gists{/gist_id}","starred_url":"https://api.github.com/users/cstancu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstancu/subscriptions","organizations_url":"https://api.github.com/users/cstancu/orgs","repos_url":"https://api.github.com/users/cstancu/repos","events_url":"https://api.github.com/users/cstancu/events{/privacy}","received_events_url":"https://api.github.com/users/cstancu/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T18:01:13Z","updated_at":"2018-11-07T18:01:13Z","author_association":"MEMBER","body":"Can you please try with latest master? In https://github.com/oracle/graal/commit/d598be2ab629c68b9e939a11d9d5fda4954fc8cc we introduced a new option: `--allow-incomplete-classpath`. The type resolution errors should be reported at run time when the types are accessed for the first time, instead of during image building. This will be available in rc10."}}
{"actor":{"display_login":"cstancu"}}