0

Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.Users.np.JFreeChart.getXYPlot()" because "this.chart" is null at com.Users.np.NewMain.loop(NewMain.java:277) at com.Users.np.NewMain.main(NewMain.java:132)

Akshay Kala
  • 159
  • 1
  • 1
  • 4
  • Please describe your code instead of giving the error. – Jibeee Jun 03 '21 at 14:22
  • public DateAxis getDomainAxis() { // TODO Auto-generated method stub return null; } -> returning null beacuse of this , what can be returned by this method? – Akshay Kala Jun 03 '21 at 15:09
  • If this is not a duplicate, please [edit] your question to include a [mcve] that shows your revised approach. – trashgod Jun 03 '21 at 17:52

0 Answers0