{"action":"opened","issue":{"url":"https://api.github.com/repos/JetBrains/anko/issues/105","labels_url":"https://api.github.com/repos/JetBrains/anko/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/JetBrains/anko/issues/105/comments","events_url":"https://api.github.com/repos/JetBrains/anko/issues/105/events","html_url":"https://github.com/JetBrains/anko/issues/105","id":114735739,"number":105,"title":"DSL ERROR","user":{"login":"liaction","id":7907819,"avatar_url":"https://avatars.githubusercontent.com/u/7907819?v=3","gravatar_id":"","url":"https://api.github.com/users/liaction","html_url":"https://github.com/liaction","followers_url":"https://api.github.com/users/liaction/followers","following_url":"https://api.github.com/users/liaction/following{/other_user}","gists_url":"https://api.github.com/users/liaction/gists{/gist_id}","starred_url":"https://api.github.com/users/liaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liaction/subscriptions","organizations_url":"https://api.github.com/users/liaction/orgs","repos_url":"https://api.github.com/users/liaction/repos","events_url":"https://api.github.com/users/liaction/events{/privacy}","received_events_url":"https://api.github.com/users/liaction/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T03:31:10Z","updated_at":"2015-11-03T03:31:10Z","closed_at":null,"body":"\r\n\r\n\r\n\r\n\tclass MainActivity: Activity() {\r\n\t    override fun onCreate(savedInstanceState: Bundle?) {\r\n\t        super.onCreate(savedInstanceState)\r\n\t        verticalLayout {\r\n\t            textView {\r\n\t                text = \"Hello Kotlin !\"\r\n\t            }\r\n\t        }\r\n\t    }\r\n\t}\r\n\r\n\r\nopen the DSL Preview  and press Refresh \r\n\r\n\r\n\r\norg.jetbrains.android.facet.AndroidFacet.isGradleProject()Z\r\njava.lang.NoSuchMethodError: org.jetbrains.android.facet.AndroidFacet.isGradleProject()Z\r\n\tat org.jetbrains.kotlin.android.dslpreview.DslPreviewToolWindowManager.render(DslPreviewToolWindowManager.kt:265)\r\n\tat org.jetbrains.kotlin.android.dslpreview.DslPreviewToolWindowManager$RefreshDslAction.actionPerformed(DslPreviewToolWindowManager.kt:365)\r\n\tat com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:163)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:127)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:304)\r\n\tat java.awt.Component.processEvent(Component.java:6270)\r\n\tat java.awt.Container.processEvent(Container.java:2229)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4861)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2287)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4687)\r\n\tat java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)\r\n\tat java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)\r\n\tat java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2273)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2719)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4687)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)\r\n\tat java.awt.EventQueue.access$200(EventQueue.java:103)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:682)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:680)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:696)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:694)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:693)\r\n\tat com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:734)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:97)\r\n\r\n\r\n(kotlin 1.0.0-beta-1103 and anko 0.7.2)\r\n"}}