Ticket #4 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Null pointer exception adding an indicator to a newly created row

Reported by: maccaf Owned by: maccaf
Priority: high Milestone: 1.0M1
Component: charts Version: devel
Severity: critical Keywords:
Cc: OS: All

Description

Steps to reproduce:

  • Add an indicator to a new row
  • Click on that row and then try to add an indicator

Stack trace:

java.lang.NullPointerException
	at net.sourceforge.eclipsetrader.charts.actions.NewIndicatorAction.run(NewIndicatorAction.java:67)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at net.sourceforge.eclipsetrader.Application.run(Application.java:31)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

Attachments

http%3A%2F%2Feclipsetrader.maccasoft.com-4.xml.zip Download (3.7 KB) - added by maccaf 5 years ago.
mylar/context/zip

Change History

comment:1 Changed 5 years ago by maccaf

Deleting a newly created tab, on an existing row:

Caused by: java.lang.NullPointerException
	at net.sourceforge.eclipsetrader.charts.views.ChartView$32.run(ChartView.java:1256)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	... 20 more

comment:2 Changed 5 years ago by maccaf

  • Status changed from new to closed
  • Resolution set to fixed

Changed 5 years ago by maccaf

mylar/context/zip

comment:3 Changed 5 years ago by maccaf

Problem caused by [506] that prevented the assignment of the object id.

Fixed with [510].

Note: See TracTickets for help on using tickets.