{"action":"opened","issue":{"url":"https://api.github.com/repos/mulesoft-labs/data-weave-intellij-plugin/issues/21","repository_url":"https://api.github.com/repos/mulesoft-labs/data-weave-intellij-plugin","labels_url":"https://api.github.com/repos/mulesoft-labs/data-weave-intellij-plugin/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft-labs/data-weave-intellij-plugin/issues/21/comments","events_url":"https://api.github.com/repos/mulesoft-labs/data-weave-intellij-plugin/issues/21/events","html_url":"https://github.com/mulesoft-labs/data-weave-intellij-plugin/issues/21","id":364211112,"node_id":"MDU6SXNzdWUzNjQyMTExMTI=","number":21,"title":"NPE when creating input file","user":{"login":"TroyCornwall","id":38477490,"node_id":"MDQ6VXNlcjM4NDc3NDkw","avatar_url":"https://avatars0.githubusercontent.com/u/38477490?v=4","gravatar_id":"","url":"https://api.github.com/users/TroyCornwall","html_url":"https://github.com/TroyCornwall","followers_url":"https://api.github.com/users/TroyCornwall/followers","following_url":"https://api.github.com/users/TroyCornwall/following{/other_user}","gists_url":"https://api.github.com/users/TroyCornwall/gists{/gist_id}","starred_url":"https://api.github.com/users/TroyCornwall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TroyCornwall/subscriptions","organizations_url":"https://api.github.com/users/TroyCornwall/orgs","repos_url":"https://api.github.com/users/TroyCornwall/repos","events_url":"https://api.github.com/users/TroyCornwall/events{/privacy}","received_events_url":"https://api.github.com/users/TroyCornwall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-26T21:04:30Z","updated_at":"2018-09-26T21:04:30Z","closed_at":null,"author_association":"NONE","body":"Reproduction steps: \r\n\r\nAdd new input -> insert a name -> Ok \r\n\r\nTriggers a fatal IDE error\r\n\r\n\r\nStacktrace: \r\n```\r\njava.lang.NullPointerException\r\n\tat org.mule.tooling.lang.dw.service.WeaveRuntimeContextManager.lambda$createMappingTestFolder$8(WeaveRuntimeContextManager.java:398)\r\n\tat com.intellij.openapi.application.WriteAction.compute(WriteAction.java:119)\r\n\tat org.mule.tooling.lang.dw.service.WeaveRuntimeContextManager.createMappingTestFolder(WeaveRuntimeContextManager.java:392)\r\n\tat org.mule.tooling.lang.dw.service.WeaveRuntimeContextManager.findOrCreateMappingTestFolder(WeaveRuntimeContextManager.java:369)\r\n\tat org.mule.tooling.lang.dw.service.WeaveRuntimeContextManager.createScenario(WeaveRuntimeContextManager.java:377)\r\n\tat org.mule.tooling.lang.dw.preview.ui.AddInputDialog.getOrCreateScenario(AddInputDialog.java:104)\r\n\tat org.mule.tooling.lang.dw.preview.ui.AddInputDialog.lambda$doOKAction$1(AddInputDialog.java:79)\r\n\tat com.intellij.openapi.application.WriteAction.run(WriteAction.java:105)\r\n\tat org.mule.tooling.lang.dw.preview.ui.AddInputDialog.doOKAction(AddInputDialog.java:78)\r\n\tat com.intellij.openapi.ui.DialogWrapper$OkAction.doAction(DialogWrapper.java:1880)\r\n\tat com.intellij.openapi.ui.DialogWrapper$DialogWrapperAction.actionPerformed(DialogWrapper.java:1840)\r\n\tat javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)\r\n\tat javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)\r\n\tat javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)\r\n\tat javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)\r\n\tat javax.swing.AbstractButton.doClick(AbstractButton.java:376)\r\n\tat javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208)\r\n\tat javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)\r\n\tat javax.swing.JComponent.processKeyBinding(JComponent.java:2883)\r\n\tat javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)\r\n\tat javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)\r\n\tat javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2975)\r\n\tat javax.swing.JComponent.processKeyBindings(JComponent.java:2967)\r\n\tat javax.swing.JComponent.processKeyEvent(JComponent.java:2846)\r\n\tat java.awt.Component.processEvent(Component.java:6325)\r\n\tat java.awt.Container.processEvent(Container.java:2237)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4903)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2295)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4725)\r\n\tat java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)\r\n\tat java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)\r\n\tat java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)\r\n\tat java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)\r\n\tat java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)\r\n\tat com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.java:27)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4774)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2295)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2746)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4725)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:98)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:715)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:737)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:735)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:734)\r\n\tat com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:700)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)\r\n\tat java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)\r\n\tat java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)\r\n\tat java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)\r\n\tat java.awt.Dialog.show(Dialog.java:1077)\r\n\tat com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:698)\r\n\tat com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:430)\r\n\tat com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1690)\r\n\tat com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1639)\r\n\tat org.mule.tooling.lang.dw.preview.WeavePreviewComponent$5.actionPerformed(WeavePreviewComponent.java:195)\r\n\tat com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:220)\r\n\tat com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:237)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:204)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:146)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:391)\r\n\tat java.awt.Component.processEvent(Component.java:6313)\r\n\tat java.awt.Container.processEvent(Container.java:2237)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4903)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2295)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4725)\r\n\tat java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)\r\n\tat java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)\r\n\tat java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2281)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2746)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4725)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:98)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:715)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:737)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:735)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:734)\r\n\tat com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n\r\n```"}}
{"actor":{"display_login":"TroyCornwall"}}