EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Can't start CSS RDB archiver
From: zunbeltz <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 07 Jan 2015 16:59:41 +0100
Hi, Kay,

The start() methods are the same in my version and the one in github.
Lines 115-117 are:
        thread = new Thread(this, "WriteThread");
        output.println("time to start: "+ currentData());
        thread.start();

I guess that the error is in the new Thread line because 116 line is composed of standard library functions (as far as my poor java knowledge helps).
Am  i correct or shuld I look if the currentData() is not working fine?

Thanks,

Zunbeltz


az., 2015.eko urtren 07a 14:26(e)an, Kasemir, Kay igorleak idatzi zuen:
Hi:

On Jan 7, 2015, at 6:55 AM, Zunbeltz Izaola <[email protected]>
  wrote:
I got an java.lang.NullPointerException

* 2015-01-07 12:39:23,296 FATAL [main] archive.engine.Application (?:?) -
Unhandled Main Loop Error
java.lang.NullPointerException
	at org.csstudio.archive.engine.model.WriteThread.start(WriteThread.java:116)
	at org.csstudio.archive.engine.model.EngineModel.start(EngineModel.java:330)
..
I can't find any odbious error in the configuration file.
(ArchiveEngineConfig seems to run fine).
Any idea what can be happening or where should I look?

We are runing a modified archiver that stores in hypertable DB.
You should check line 116 of WriteThread.java to see what's null.

But to do that, you need to use your version of the sources, since you have a modified version of the source code.
In the current version of WriteThread, the start() method only spreads lines ~90 .. 100 (https://github.com/ControlSystemStudio/cs-studio/blob/master/applications/plugins/org.csstudio.archive.engine/src/org/csstudio/archive/engine/model/WriteThread.java )

Thanks,
Kay

--
Dr. Zunbeltz Izaola
Accelerator Physics Group
ESS-Bilbao


Replies:
Re: Can't start CSS RDB archiver Kasemir, Kay
References:
Can't start CSS RDB archiver Zunbeltz Izaola
Re: Can't start CSS RDB archiver Kasemir, Kay

Navigate by Date:
Prev: Re: Problem building asyn R4-25 on Mac OSX Yosemite Henrique Almeida
Next: Re: Problems building EPICS base3.14.12.4 for i386 and armhf Jani Hakala
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Can't start CSS RDB archiver Kasemir, Kay
Next: Re: Can't start CSS RDB archiver Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·