Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 163559

Summary: NPE in LogView highligh update
Product: z_Archived Reporter: Eugene Chan <ewchan>
Component: TPTPAssignee: Yasuhisa Gotoh <gotohy>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P1 CC: apnan, jkubasta, labadie
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Eugene Chan CLA 2006-11-06 11:55:18 EST
To reproduce:
1.import log
2.select a default filter to highlight, click OK. Log View refreshes with highlighting
3.open highlight dialog, unselect filter in step 2, and click OK. Error dialog shows.
4.Log view is refreshed with highlighting updated.

java.lang.NullPointerException
at org.eclipse.tptp.platform.log.views.internal.views.LogLabelProvider.updateHighlighRecordInPage(LogLabelProvider.java:107)
at org.eclipse.tptp.platform.log.views.internal.views.LogLabelProvider$1.propertyChange(LogLabelProvider.java:76)
at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:372)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java(Compiled Code))
at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:369)
at org.eclipse.tptp.platform.log.views.internal.util.FiltersEditColorDialog.okPressed(FiltersEditColorDialog.java:483)
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:508)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled Code))
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.tptp.platform.log.views.internal.views.LogViewer$3.run(LogViewer.java:234)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
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$6.handleEvent(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
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:84)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:59)
at java.lang.reflect.Method.invoke(Method.java:390)
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)
Comment 1 Eugene Chan CLA 2007-02-01 00:01:31 EST
Target to future. Cannot be contained in 4.4 due to limitation of resource.
Comment 2 Eric Labadie CLA 2007-08-09 14:01:45 EDT
This is required from AC perspective
Comment 3 Alex Nan CLA 2007-10-30 20:05:13 EDT
Targetting 4.5 i2.
Comment 4 Alex Nan CLA 2007-11-05 18:20:38 EST
Changing target to 4.5 i4.
Comment 5 Alex Nan CLA 2007-12-12 00:09:24 EST
Targetting to i5, couldn't be contained in i4.
Comment 6 Yasuhisa Gotoh CLA 2008-01-20 04:45:18 EST
Cannot reproduce the problem with the TPTP 4.5 M4 driver.
No error dialog and no exception in the .log file.
Comment 7 Alex Nan CLA 2008-01-23 00:13:20 EST
Please test again to make sure you are not missing something and return if you cannot reproduce.
Comment 8 Yasuhisa Gotoh CLA 2008-01-28 11:21:12 EST
Tried again but could not reproduce this defect with the TPTP 4.5 driver.
Returning...
Comment 9 Eugene Chan CLA 2009-02-24 17:07:53 EST
CLOSE BUG