BeelGroup / Docear-Desktop

Docear's desktop version (GPL)
298 stars 90 forks source link

NPE after changing year attribute on mind map node #383

Closed stlanger closed 10 years ago

stlanger commented 10 years ago

Apr 07, 2014 5:51:39 PM org.freeplane.core.util.LogUtils severe SEVERE: java.lang.NullPointerException at javax.swing.text.View.setParent(View.java:339) at javax.swing.text.CompositeView.setParent(CompositeView.java:136) at javax.swing.text.FlowView.setParent(FlowView.java:289) at javax.swing.text.html.ParagraphView.setParent(ParagraphView.java:75) at javax.swing.text.View.setParent(View.java:342) at javax.swing.text.CompositeView.setParent(CompositeView.java:136) at javax.swing.text.html.BlockView.setParent(BlockView.java:72) at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setParent(HTMLEditorKit.java:1329) at javax.swing.text.View.setParent(View.java:342) at javax.swing.text.CompositeView.setParent(CompositeView.java:136) at javax.swing.text.html.BlockView.setParent(BlockView.java:72) at org.freeplane.core.ui.components.html.ScaledHTML.updateRenderer(ScaledHTML.java:65) at org.freeplane.view.swing.map.ZoomableLabelUI.propertyChange(ZoomableLabelUI.java:400) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at java.awt.Component.firePropertyChange(Component.java:8382) at javax.swing.JLabel.setText(JLabel.java:329) at org.freeplane.view.swing.map.ZoomableLabel.updateTextUnsafe(ZoomableLabel.java:115) at org.freeplane.view.swing.map.ZoomableLabel.updateText(ZoomableLabel.java:82) at org.freeplane.view.swing.map.MainView.updateText(MainView.java:479) at org.freeplane.view.swing.map.NodeView.update(NodeView.java:1333) at org.freeplane.view.swing.map.NodeView.nodeChanged(NodeView.java:850) at org.freeplane.features.map.NodeModel.fireNodeChanged(NodeModel.java:177) at org.freeplane.features.map.MapController.fireNodeChanged(MapController.java:522) at org.freeplane.features.map.MapController.nodeRefresh(MapController.java:797) at org.freeplane.features.map.MapController.nodeChanged(MapController.java:749) at org.freeplane.features.map.MapController.nodeChanged(MapController.java:744) at org.freeplane.view.swing.map.attribute.AttributeView.tableChanged(AttributeView.java:278) at org.freeplane.features.attribute.NodeAttributeTableModel.fireTableChanged(NodeAttributeTableModel.java:97) at org.freeplane.features.attribute.NodeAttributeTableModel.fireTableRowsInserted(NodeAttributeTableModel.java:113) at org.freeplane.features.attribute.mindmapmode.MAttributeController$InsertAttributeActor.act(MAttributeController.java:173) at org.freeplane.features.mode.mindmapmode.MModeController.execute(MModeController.java:139) at org.freeplane.features.attribute.mindmapmode.MAttributeController.performInsertRow(MAttributeController.java:600) at org.docear.plugin.bibtex.jabref.JabRefAttributes.updateReferenceToNode(JabRefAttributes.java:307) at org.docear.plugin.bibtex.jabref.JabRefAttributes.setReferenceToNode(JabRefAttributes.java:363) at org.docear.plugin.bibtex.ReferenceUpdater.updateReferenceNodes(ReferenceUpdater.java:266) at org.docear.plugin.bibtex.ReferenceUpdater.updateMap(ReferenceUpdater.java:108) at org.docear.plugin.bibtex.ReferenceUpdater.updateMindmap(ReferenceUpdater.java:93) at org.docear.plugin.core.mindmap.MindmapUpdateController$4.doInBackground(MindmapUpdateController.java:286) at org.docear.plugin.core.mindmap.MindmapUpdateController$4.doInBackground(MindmapUpdateController.java:222) at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at org.jdesktop.swingworker.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)

genzmehr commented 10 years ago

not much we can do at the moment except handling these errors and in this case ignoring it.