Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368923 - [Examples] Xviewer Example test throws exception
Summary: [Examples] Xviewer Example test throws exception
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Donald Dunne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 04:18 EST by Wim Jongman CLA
Modified: 2021-07-05 11:40 EDT (History)
0 users

See Also:


Attachments
[Examples] Xviewer Example test throws exception (2.35 KB, patch)
2012-01-26 15:58 EST, S. Cook CLA
wim.jongman: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wim Jongman CLA 2012-01-18 04:18:50 EST
18-jan-2012 10:16:50 org.eclipse.nebula.widgets.xviewer.example.util.MyLog log
SEVERE: Invalid path: C:\UserData
java.lang.Exception: used to get a stack trace
	at org.eclipse.nebula.widgets.xviewer.example.util.MyLog.log(MyLog.java:30)
	at org.eclipse.nebula.widgets.xviewer.example.util.MyLib.readListFromDir(MyLib.java:92)
	at org.eclipse.nebula.widgets.xviewer.example.MyXViewerCustomizations.getSavedCustDatas(MyXViewerCustomizations.java:50)
	at org.eclipse.nebula.widgets.xviewer.customize.CustomizeManager.getSavedCustDatas(CustomizeManager.java:431)
	at org.eclipse.nebula.widgets.xviewer.action.TableCustomizationDropDownAction.getMenu(TableCustomizationDropDownAction.java:57)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:530)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.nebula.widgets.xviewer.example.MyXViewerTest.main(MyXViewerTest.java:81)
Comment 1 S. Cook CLA 2012-01-26 15:58:56 EST
Created attachment 210151 [details]
[Examples] Xviewer Example test throws exception

Modified MyXViewerCustomizations class. Removed hard coded dependency on "C:/UserData" and replaced with System.getProperty("user.home")
Comment 2 Donald Dunne CLA 2012-04-30 13:55:37 EDT
Changes made as per Shawn's comment.