slisson / mps-tables

Table Editor Component for JetBrains MPS
Apache License 2.0
7 stars 3 forks source link

NPE when adding a new table row #58

Closed markusvoelter closed 11 years ago

markusvoelter commented 11 years ago

[2317812] ERROR - s.mps.nodeEditor.EditorManager - Failed to create cell for node [body] TableBlockTestBody [5149698356471780454] in test.ex.blocks.basic java.lang.NullPointerException at de.slisson.mps.tables.runtime.GridMapper.mergeTableNodeCollection(Unknown Source) at de.slisson.mps.tables.runtime.GridMapper.tableNodeToGrid(Unknown Source) at de.slisson.mps.tables.runtime.GridMapper.mergeTableNodeCollection(Unknown Source) at de.slisson.mps.tables.runtime.GridMapper.tableNodeToGrid(Unknown Source) at de.slisson.mps.tables.runtime.GridMapper.loadNode(Unknown Source) at de.slisson.mps.tables.runtime.TableEditor.loadModel(Unknown Source) at de.slisson.mps.tables.runtime.TableEditor.(Unknown Source) at com.lmsintl.accent.blocks.test.editor.TableBlockTestBody_Editor.createTable_tqtgoc_a1a(TableBlockTestBody_Editor.java:105) at com.lmsintl.accent.blocks.test.editor.TableBlockTestBody_Editor.createCollection_tqtgoc_b0(TableBlockTestBody_Editor.java:79) at com.lmsintl.accent.blocks.test.editor.TableBlockTestBody_Editor.createCollection_tqtgoc_a(TableBlockTestBody_Editor.java:56) at com.lmsintl.accent.blocks.test.editor.TableBlockTestBody_Editor.createEditorCell(TableBlockTestBody_Editor.java:48) at jetbrains.mps.nodeEditor.cells.EditorCellFactoryImpl.createEditorCell(EditorCellFactoryImpl.java:64) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell_internal(EditorManager.java:417) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell(EditorManager.java:374) at jetbrains.mps.nodeEditor.EditorContext.createNodeCell(EditorContext.java:161) at jetbrains.mps.nodeEditor.EditorContext.createNodeCell(EditorContext.java:202) at jetbrains.mps.nodeEditor.EditorContext.createNodeCell(EditorContext.java:58) at jetbrains.mps.lang.editor.cellProviders.RefNodeCellProvider.createRefCell(RefNodeCellProvider.java:36) at jetbrains.mps.lang.editor.cellProviders.AbstractReferentCellProvider.createCell_internal(AbstractReferentCellProvider.java:145) at jetbrains.mps.lang.editor.cellProviders.AbstractReferentCellProvider.createEditorCell(AbstractReferentCellProvider.java:101) at com.lmsintl.accent.blocks.test.editor.BlockUnitTest_Editor.createRefNode_ena1tw_f0(BlockUnitTest_Editor.java:97) at com.lmsintl.accent.blocks.test.editor.BlockUnitTest_Editor.createCollection_ena1tw_a(BlockUnitTest_Editor.java:31) at com.lmsintl.accent.blocks.test.editor.BlockUnitTest_Editor.createEditorCell(BlockUnitTest_Editor.java:19) at jetbrains.mps.nodeEditor.cells.EditorCellFactoryImpl.createEditorCell(EditorCellFactoryImpl.java:64) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell_internal(EditorManager.java:417) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell(EditorManager.java:374) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell(EditorManager.java:326) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell(EditorManager.java:326) at jetbrains.mps.nodeEditor.EditorContext.createNodeCell(EditorContext.java:161) at jetbrains.mps.nodeEditor.EditorContext.createNodeCell(EditorContext.java:202) at jetbrains.mps.lang.editor.cellProviders.RefNodeListHandler.createNodeCell(RefNodeListHandler.java:86) at jetbrains.mps.lang.editor.cellProviders.RefNodeListHandler.createNodeCell(RefNodeListHandler.java:74) at com.mbeddr.core.modules.editor.ImplementationModule_Editor$contentsListHandler_luh5hj_d0.createNodeCell(ImplementationModule_Editor.java:392) at jetbrains.mps.nodeEditor.cellProviders.AbstractCellListHandler.createInnerCells(AbstractCellListHandler.java:195) at jetbrains.mps.nodeEditor.cellProviders.AbstractCellListHandler.createCells(AbstractCellListHandler.java:175) at jetbrains.mps.nodeEditor.cellProviders.AbstractCellListHandler.createCells(AbstractCellListHandler.java:158) at com.mbeddr.core.modules.editor.ImplementationModule_Editor.createRefNodeList_luh5hj_d0(ImplementationModule_Editor.java:366) at com.mbeddr.core.modules.editor.ImplementationModule_Editor.createCollection_luh5hj_a(ImplementationModule_Editor.java:62) at com.mbeddr.core.modules.editor.ImplementationModule_Editor.createEditorCell(ImplementationModule_Editor.java:50) at jetbrains.mps.nodeEditor.cells.EditorCellFactoryImpl.createEditorCell(EditorCellFactoryImpl.java:64) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell_internal(EditorManager.java:417) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell(EditorManager.java:374) at jetbrains.mps.nodeEditor.EditorManager.createEditorCell(EditorManager.java:326) at jetbrains.mps.nodeEditor.EditorManager.createRootCell(EditorManager.java:161) at jetbrains.mps.nodeEditor.EditorManager.createRootCell(EditorManager.java:134) at jetbrains.mps.nodeEditor.EditorContext.createRootCell(EditorContext.java:167) at jetbrains.mps.nodeEditor.NodeEditorComponent.createRootCell(NodeEditorComponent.java:128) at jetbrains.mps.nodeEditor.EditorComponent$33$1.run(EditorComponent.java:1901) at jetbrains.mps.nodeEditor.EditorComponent.runSwapCellsActions(EditorComponent.java:2861) at jetbrains.mps.nodeEditor.EditorComponent.access$3400(EditorComponent.java:219) at jetbrains.mps.nodeEditor.EditorComponent$33.run(EditorComponent.java:1897) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runReadAction(WorkbenchModelAccess.java:105) at jetbrains.mps.project.ProjectRepository$ProjectModelAccess.runReadAction(ProjectRepository.java:99) at jetbrains.mps.nodeEditor.EditorComponent.rebuildEditorContent(EditorComponent.java:1879) at jetbrains.mps.nodeEditor.EditorComponent.handleEvents(EditorComponent.java:3004) at jetbrains.mps.nodeEditor.EditorComponent.access$4600(EditorComponent.java:219) at jetbrains.mps.nodeEditor.EditorComponent$MyEventsCollector.eventsHappened(EditorComponent.java:3342) at jetbrains.mps.smodel.EventsCollector$2.run(EventsCollector.java:203) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runWriteAction(WorkbenchModelAccess.java:148) at jetbrains.mps.smodel.EventsCollector.flush(EventsCollector.java:198) at jetbrains.mps.smodel.EventsCollector$MyModelAccessAdapter.commandFinished(EventsCollector.java:243) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.onCommandFinished(WorkbenchModelAccess.java:793) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.decCommandLevel(WorkbenchModelAccess.java:750) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.access$2900(WorkbenchModelAccess.java:55) at jetbrains.mps.ide.smodel.WorkbenchModelAccess$CommandRunnable$1.run(WorkbenchModelAccess.java:833) at jetbrains.mps.ide.smodel.WorkbenchModelAccess$4.run(WorkbenchModelAccess.java:161) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1013) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runWriteAction(WorkbenchModelAccess.java:168) at jetbrains.mps.ide.smodel.WorkbenchModelAccess$CommandRunnable.run(WorkbenchModelAccess.java:826) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:99) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runWriteActionInCommand(WorkbenchModelAccess.java:637) at jetbrains.mps.ide.smodel.WorkbenchModelAccess.runWriteActionInCommand(WorkbenchModelAccess.java:632) at jetbrains.mps.project.ProjectRepository$ProjectModelAccess.executeCommand(ProjectRepository.java:119) at jetbrains.mps.nodeEditor.EditorComponent.executeCommand(EditorComponent.java:2575) at jetbrains.mps.nodeEditor.EditorContext.executeCommand(EditorContext.java:447) at jetbrains.mps.nodeEditor.actions.ActionHandlerImpl.executeAction(ActionHandlerImpl.java:52) at jetbrains.mps.nodeEditor.actions.ActionHandlerImpl.executeAction(ActionHandlerImpl.java:42) at jetbrains.mps.ide.editor.actions.EditorActionUtils.callInsertAction(EditorActionUtils.java:78) at jetbrains.mps.ide.editor.actions.Insert_Action.doExecute(Insert_Action.java:71) at jetbrains.mps.workbench.action.BaseAction.actionPerformed(BaseAction.java:138) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:564) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:611) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:463) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:206) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:480) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:334) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

slisson commented 11 years ago

I hope I found all possible causes for this NPE (there are no line numbers in the stack trace). Reopen if not.

markusvoelter commented 11 years ago

ok. thanks.

On Thu, Oct 10, 2013 at 2:55 AM, slisson notifications@github.com wrote:

I hope I found all possible causes for this NPE (there are no line numbers in the stack trace). Reopen if not.

— Reply to this email directly or view it on GitHubhttps://github.com/slisson/mps-tables/issues/58#issuecomment-26044163 .

Markus Völter

voelter - ingenieurbüro für softwaretechnologie/itemis Ötztaler Strasse 38, 70327 Stuttgart-Untertürkheim, Germany

Phone: +49 (0) 171 / 86 01 869 Email: voelter@acm.org

http://www.voelter.de http://twitter.com/markusvoelter https://plus.google.com/116287041150844298254

http://dslbook.org http://mbeddr.com http://omegataupodcast.net