{"action":"created","issue":{"url":"https://api.github.com/repos/liias/monkey/issues/1","repository_url":"https://api.github.com/repos/liias/monkey","labels_url":"https://api.github.com/repos/liias/monkey/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/liias/monkey/issues/1/comments","events_url":"https://api.github.com/repos/liias/monkey/issues/1/events","html_url":"https://github.com/liias/monkey/issues/1","id":148252968,"number":1,"title":"ClassCastException running project in IntelliJ Idea 2016.1.1","user":{"login":"shendrix","id":3128597,"avatar_url":"https://avatars.githubusercontent.com/u/3128597?v=3","gravatar_id":"","url":"https://api.github.com/users/shendrix","html_url":"https://github.com/shendrix","followers_url":"https://api.github.com/users/shendrix/followers","following_url":"https://api.github.com/users/shendrix/following{/other_user}","gists_url":"https://api.github.com/users/shendrix/gists{/gist_id}","starred_url":"https://api.github.com/users/shendrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shendrix/subscriptions","organizations_url":"https://api.github.com/users/shendrix/orgs","repos_url":"https://api.github.com/users/shendrix/repos","events_url":"https://api.github.com/users/shendrix/events{/privacy}","received_events_url":"https://api.github.com/users/shendrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-14T05:00:41Z","updated_at":"2016-04-14T16:42:57Z","closed_at":null,"body":"I created a new project and when trying to run it, I receive the stack trace below. I am using:\r\nIntelliJ 2016.1.1: Build #IU-145.597, built on March 29, 2016\r\nJRE: 1.8.0_60-b27 x86\r\nJVM: Java HotSpot(TM) Server VM by Oracle Corporation\r\n\r\n<pre>\r\nError:Internal error: (java.util.concurrent.ExecutionException) java.lang.ClassCastException: org.jetbrains.jps.model.impl.JpsDummyElementImpl cannot be cast to org.jetbrains.jps.model.JpsSimpleElement\r\njava.util.concurrent.ExecutionException: java.lang.ClassCastException: org.jetbrains.jps.model.impl.JpsDummyElementImpl cannot be cast to org.jetbrains.jps.model.JpsSimpleElement\r\n\tat java.util.concurrent.FutureTask.report(FutureTask.java:122)\r\n\tat java.util.concurrent.FutureTask.get(FutureTask.java:192)\r\n\tat org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModules(JpsProjectLoader.java:281)\r\n\tat org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModules(JpsProjectLoader.java:238)\r\n\tat org.jetbrains.jps.model.serialization.JpsProjectLoader.loadFromDirectory(JpsProjectLoader.java:124)\r\n\tat org.jetbrains.jps.model.serialization.JpsProjectLoader.loadProject(JpsProjectLoader.java:100)\r\n\tat org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:41)\r\n\tat org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:45)\r\n\tat org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:78)\r\n\tat org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:266)\r\n\tat org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:125)\r\n\tat org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:232)\r\n\tat org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:44)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassCastException: org.jetbrains.jps.model.impl.JpsDummyElementImpl cannot be cast to org.jetbrains.jps.model.JpsSimpleElement\r\n\tat io.github.liias.monkey.jps.model.JpsMonkeyModelSerializerExtension.loadRootModel(JpsMonkeyModelSerializerExtension.java:23)\r\n\tat org.jetbrains.jps.model.serialization.module.JpsModuleRootModelSerializer.loadRootModel(JpsModuleRootModelSerializer.java:145)\r\n\tat org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModule(JpsProjectLoader.java:310)\r\n\tat org.jetbrains.jps.model.serialization.JpsProjectLoader.access$000(JpsProjectLoader.java:62)\r\n\tat org.jetbrains.jps.model.serialization.JpsProjectLoader$2.call(JpsProjectLoader.java:276)\r\n\tat org.jetbrains.jps.model.serialization.JpsProjectLoader$2.call(JpsProjectLoader.java:273)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:187)\r\n\t... 6 more\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/liias/monkey/issues/comments/210042801","html_url":"https://github.com/liias/monkey/issues/1#issuecomment-210042801","issue_url":"https://api.github.com/repos/liias/monkey/issues/1","id":210042801,"user":{"login":"shendrix","id":3128597,"avatar_url":"https://avatars.githubusercontent.com/u/3128597?v=3","gravatar_id":"","url":"https://api.github.com/users/shendrix","html_url":"https://github.com/shendrix","followers_url":"https://api.github.com/users/shendrix/followers","following_url":"https://api.github.com/users/shendrix/following{/other_user}","gists_url":"https://api.github.com/users/shendrix/gists{/gist_id}","starred_url":"https://api.github.com/users/shendrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shendrix/subscriptions","organizations_url":"https://api.github.com/users/shendrix/orgs","repos_url":"https://api.github.com/users/shendrix/repos","events_url":"https://api.github.com/users/shendrix/events{/privacy}","received_events_url":"https://api.github.com/users/shendrix/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T16:42:57Z","updated_at":"2016-04-14T16:42:57Z","body":"Hi,\r\nThanks for the quick response. I had another (non-IQ) module in the project. Once I removed that, the error went away"}}