Crash when clicking on a text shape while editing another text shape

Bug #1362187 reported by arno_b
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LaTeXDraw
Fix Released
Medium
arno_b

Bug Description

Using 3.2dev.
Add a text shape
Start to add another text shape (ie click on the canvas to show the field but do not press enter)
click on the first text shape. => NPE

java.lang.NullPointerException
 at net.sf.latexdraw.instruments.PencilLink.interimFeedback(Pencil.scala:172)
 at org.malai.instrument.Link.interactionStarts(Link.java:240)
 at org.malai.interaction.Interaction.notifyHandlersOnStart(Interaction.java:159)
 at org.malai.interaction.Interaction.onStarting(Interaction.java:616)
 at org.malai.interaction.InitState.onOutgoing(InitState.java:36)
 at org.malai.interaction.Interaction.executeTransition(Interaction.java:276)
 at org.malai.interaction.Interaction.checkTransition(Interaction.java:307)
 at org.malai.interaction.Interaction.onPressure(Interaction.java:456)
 at org.malai.swing.interaction.SwingEventManager.mousePressed(SwingEventManager.java:213)
 at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
 at java.awt.Component.processMouseEvent(Component.java:6524)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
 at java.awt.Component.processEvent(Component.java:6292)
 at java.awt.Container.processEvent(Container.java:2234)
 at java.awt.Component.dispatchEventImpl(Component.java:4883)
 at java.awt.Container.dispatchEventImpl(Container.java:2292)
 at java.awt.Component.dispatchEvent(Component.java:4705)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4530)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
 at java.awt.Container.dispatchEventImpl(Container.java:2278)
 at java.awt.Window.dispatchEventImpl(Window.java:2739)
 at java.awt.Component.dispatchEvent(Component.java:4705)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
 at java.awt.EventQueue.access$400(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:697)
 at java.awt.EventQueue$3.run(EventQueue.java:691)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
 at java.awt.EventQueue$4.run(EventQueue.java:719)
 at java.awt.EventQueue$4.run(EventQueue.java:717)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

arno_b (arno.b)
Changed in latexdraw:
importance: High → Medium
Revision history for this message
arno_b (arno.b) wrote :
Changed in latexdraw:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.