Bug #1668

RCP: FCA, if editor area is splitted, when closing a sub-area, the square constraint of CA chart leads to a null exception

Added by Sebastien Jacquot over 3 years ago. Updated 12 months ago.

Status:Closed Start date:02/10/2016
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Charts Spent time: -
Target version:TXM 0.8.0

Description


Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at org.txm.tbx.chartsengine.jfreechart.JFCChartsEngine.squareOffGraph(JFCChartsEngine.java:2470)
    at org.txm.rcp.chartsengine.jfreechart.themes.base.swing.ItemSelectionChartPanel$1.componentResized(ItemSelectionChartPanel.java:164)
    at java.awt.Component.processComponentEvent(Component.java:6342)
    at java.awt.Component.processEvent(Component.java:6296)

Steps to reproduce

  • create a CA chart editor
  • create a concordance editor
  • move the concordance editor below the CA chart so the area splits in two parts
  • close the bottom concordance editor

History

#1 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 3 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot over 3 years ago

(Also refact squareOffGraph() to squareOffChart() or squareOff())

#4 Updated by Sebastien Jacquot 12 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#5 Updated by Sebastien Jacquot 12 months ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

Also available in: Atom PDF