Bug 4440 - testSaveLoad(frysk.gui.monitor.observers.TestObserverSaveLoad)java.lang.NullPointerException
Summary: testSaveLoad(frysk.gui.monitor.observers.TestObserverSaveLoad)java.lang.NullP...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-30 21:50 UTC by Andrew Cagney
Modified: 2007-05-03 20:08 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2007-04-30 21:50:45 UTC
testSaveLoad(frysk.gui.monitor.observers.TestObserverSaveLoad)java.lang.NullPointerException
   at frysk.gui.monitor.ObjectFactory.loadObject(TestRunner)
   at frysk.gui.monitor.observers.TestObserverSaveLoad.testSaveLoad(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

Linux nettle 2.6.20-1.2312.fc5 #1 Tue Apr 10 15:09:44 EDT 2007 i686 i686 i386
GNU/Linux
Comment 1 Sami Wagiaalla 2007-05-03 21:08:49 UTC
2007-05-03  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* test/GuiTestCase.java: New file.
	* test/TestWindowFactorization.java: Now extends GuiTestCase and
	calls super.setUp().
	* test/TestPrototypeCopying.java: Now extends GuiTestCase.
	Changed it to pass OBSERVERS_TEST_DIR when constructing
	ObserverManager.
	* test/TestSessionSaveLoad.java: Ditto.
	* test/TestTagsetSaveLoad.java: Ditto.
	* test/TestFilterManager.java: Removed duplicate addtion of
	taskProcParentNameFilter.
	* sessions/SessionManager.java: Changed constructor to take a file
	argument represnting save directory.
	Replaced use of String paths with Files.
	* Gui.java: Changed code to use File instead of String paths.
	
	2007-05-03  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* observers/TestObserverSaveLoad.java: Now inherets from GuiTestCase.
	uses temporary test directories instead of default ones.
	* observers/ObserverManager.java: Replaced use of String paths with
	File objects.
	Constructor now takes a file argument indicating the save direcotry.
	* SaveableXXX.java: Spelling fix.
	* EventLogger.java: Replaced use of String paths with File objects.
	* ObjectFactory.java: Ditto.
	
	2007-05-03  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* tags/TagsetManager.java: Changed constructor to take a string
	argument representing save directory.
	Replaced use of String paths with File objects.
	
	2007-05-03  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* EventLogger.java: Replaced use of FRYSK_DIR with
	getFryskDir();
	* Config.java (getFryskDir): New fucntion.
	(getFryskTestDir): New function.
	removed global String variable FRYSK_DIR.