{"action":"created","issue":{"url":"https://api.github.com/repos/knime-ip/knip/issues/150","labels_url":"https://api.github.com/repos/knime-ip/knip/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/knime-ip/knip/issues/150/comments","events_url":"https://api.github.com/repos/knime-ip/knip/issues/150/events","html_url":"https://github.com/knime-ip/knip/issues/150","id":100287056,"number":150,"title":"Don't Save Start / End: NPE","user":{"login":"maierl","id":8655419,"avatar_url":"https://avatars.githubusercontent.com/u/8655419?v=3","gravatar_id":"","url":"https://api.github.com/users/maierl","html_url":"https://github.com/maierl","followers_url":"https://api.github.com/users/maierl/followers","following_url":"https://api.github.com/users/maierl/following{/other_user}","gists_url":"https://api.github.com/users/maierl/gists{/gist_id}","starred_url":"https://api.github.com/users/maierl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maierl/subscriptions","organizations_url":"https://api.github.com/users/maierl/orgs","repos_url":"https://api.github.com/users/maierl/repos","events_url":"https://api.github.com/users/maierl/events{/privacy}","received_events_url":"https://api.github.com/users/maierl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-11T10:52:24Z","updated_at":"2015-08-11T11:22:19Z","closed_at":null,"body":"In Knime 2.12 and stable Knip, when I have data behind a Don't Save End node, the workflow cannot be saved.\r\n```\r\nERROR SaveWorkflowRunnable            Could not save workflow\r\nDEBUG SaveWorkflowRunnable            Could not save workflow\r\njava.lang.NullPointerException\r\n\tat java.io.FileInputStream.<init>(Unknown Source)\r\n\tat org.knime.core.data.container.Buffer.addToZipFile(Buffer.java:1795)\r\n\tat org.knime.core.data.container.ContainerTable.saveToFile(ContainerTable.java:181)\r\n\tat org.knime.core.node.BufferedDataTable.save(BufferedDataTable.java:464)\r\n\tat org.knime.core.node.FileNodePersistor.saveBufferedDataTable(FileNodePersistor.java:1476)\r\n\tat org.knime.core.node.FileNodePersistor.saveInternalHeldTables(FileNodePersistor.java:1333)\r\n\tat org.knime.core.node.FileNodePersistor.save(FileNodePersistor.java:1247)\r\n\tat org.knime.core.node.workflow.FileNativeNodeContainerPersistor.save(FileNativeNodeContainerPersistor.java:509)\r\n\tat org.knime.core.node.workflow.FileSingleNodeContainerPersistor.save(FileSingleNodeContainerPersistor.java:604)\r\n\tat org.knime.core.node.workflow.FileWorkflowPersistor.saveNodeContainer(FileWorkflowPersistor.java:2229)\r\n\tat org.knime.core.node.workflow.FileWorkflowPersistor.saveContent(FileWorkflowPersistor.java:1999)\r\n\tat org.knime.core.node.workflow.FileWorkflowPersistor.save(FileWorkflowPersistor.java:1915)\r\n\tat org.knime.core.node.workflow.FileWorkflowPersistor.saveNodeContainer(FileWorkflowPersistor.java:2227)\r\n\tat org.knime.core.node.workflow.FileWorkflowPersistor.saveContent(FileWorkflowPersistor.java:1999)\r\n\tat org.knime.core.node.workflow.FileWorkflowPersistor.save(FileWorkflowPersistor.java:1915)\r\n\tat org.knime.core.node.workflow.WorkflowManager.save(WorkflowManager.java:7962)\r\n\tat org.knime.workbench.editor2.SaveWorkflowRunnable.run(SaveWorkflowRunnable.java:125)\r\n\tat org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)\r\nERROR WorkflowEditor                  Could not save workflow: Could not save workflow: null\r\nDEBUG WorkflowEditor                  Could not save workflow: Could not save workflow: null\r\njava.lang.reflect.InvocationTargetException\r\n\tat org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)\r\n\tat org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)\r\n\tat org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)\r\n\tat org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1162)\r\n\tat org.knime.workbench.editor2.WorkflowEditor.saveTo(WorkflowEditor.java:1529)\r\n\tat org.knime.workbench.editor2.WorkflowEditor.doSave(WorkflowEditor.java:1642)\r\n\tat org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151)\r\n\tat org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)\r\n\tat org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)\r\n\tat org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)\r\n\tat org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)\r\n\tat org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)\r\n\tat org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)\r\n\tat org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2649)\r\n\tat org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)\r\n\tat org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)\r\n\tat org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156)\r\n\tat org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429)\r\n\tat org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)\r\n\tat org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)\r\n\tat org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)\r\n\tat org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)\r\n\tat org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)\r\n\tat org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)\r\n\tat org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)\r\n\tat org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)\r\n\tat org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)\r\n\tat org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)\r\n\tat org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070)\r\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1112)\r\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1108)\r\n\tat org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1529)\r\n\tat org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4722)\r\n\tat org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:343)\r\n\tat org.eclipse.swt.widgets.Control.windowProc(Control.java:4610)\r\n\tat org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)\r\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5023)\r\n\tat org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)\r\n\tat org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)\r\n\tat org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)\r\n\tat org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)\r\n\tat org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)\r\n\tat org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)\r\n\tat org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:144)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1410)\r\nCaused by: org.eclipse.swt.SWTException: Invalid thread access\r\n\tat org.eclipse.swt.SWT.error(SWT.java:4441)\r\n\tat org.eclipse.swt.SWT.error(SWT.java:4356)\r\n\tat org.eclipse.swt.SWT.error(SWT.java:4327)\r\n\tat org.eclipse.swt.widgets.Widget.error(Widget.java:476)\r\n\tat org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:367)\r\n\tat org.eclipse.swt.widgets.ToolItem.setEnabled(ToolItem.java:630)\r\n\tat org.eclipse.jface.action.StatusLine.setCanceled(StatusLine.java:491)\r\n\tat org.eclipse.jface.action.StatusLineManager$1.setCanceled(StatusLineManager.java:189)\r\n\tat org.eclipse.core.runtime.ProgressMonitorWrapper.setCanceled(ProgressMonitorWrapper.java:132)\r\n\tat org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.setCanceled(EventLoopProgressMonitor.java:151)\r\n\tat org.knime.workbench.editor2.SaveWorkflowRunnable.run(SaveWorkflowRunnable.java:174)\r\n\tat org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)\r\nDEBUG NodeContainerEditPart            Image Normalizer 0:876 (CONFIGURED)\r\n```"},"comment":{"url":"https://api.github.com/repos/knime-ip/knip/issues/comments/129843485","html_url":"https://github.com/knime-ip/knip/issues/150#issuecomment-129843485","issue_url":"https://api.github.com/repos/knime-ip/knip/issues/150","id":129843485,"user":{"login":"maierl","id":8655419,"avatar_url":"https://avatars.githubusercontent.com/u/8655419?v=3","gravatar_id":"","url":"https://api.github.com/users/maierl","html_url":"https://github.com/maierl","followers_url":"https://api.github.com/users/maierl/followers","following_url":"https://api.github.com/users/maierl/following{/other_user}","gists_url":"https://api.github.com/users/maierl/gists{/gist_id}","starred_url":"https://api.github.com/users/maierl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maierl/subscriptions","organizations_url":"https://api.github.com/users/maierl/orgs","repos_url":"https://api.github.com/users/maierl/repos","events_url":"https://api.github.com/users/maierl/events{/privacy}","received_events_url":"https://api.github.com/users/maierl/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T11:22:19Z","updated_at":"2015-08-11T11:22:19Z","body":"stable (updated issue, too)"}}