Just delete the "SaveLayout" property from them and that should fix it.

I could also change the app so that finding an unknown property is not a fatal error.

On Apr 15, 2015, at 9:55 PM, Omar Moreno <[log in to unmask]> wrote:

Alright, after updating I got the new snapshot and I was able to save one with the default values and open it without any errors. 

Unfortunately, when I try loading an old settings file, the same error is still occurring.  This means that all of the settings files that were being used in the counting house are unusable and need to be updated.  I'll go ahead and update the ones used for monitoring the SVT.  I guess Nathan will need to update the ones used for the ECal

--Omar Moreno

On Wed, Apr 15, 2015 at 9:37 PM, Omar Moreno <[log in to unmask]> wrote:
Alright, I'll try to update again (did so this morning) and i'll try again.

On Wed, Apr 15, 2015 at 9:34 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
Hi, again.

It is likely that you just need to rebuild the monitoring-app jar from trunk to solve this (3.3.0-SNAPSHOT should be the current version after the release Monday), as I cannot reproduce the problem.  This property and its associated methods were removed completely including from from the default configuration.

In my bin jar from a clean copy of trunk, saving a “clean” property file, closing the app, and then loading it works fine.

—Jeremy

On Apr 15, 2015, at 5:36 PM, Nelson, Timothy Knight <[log in to unmask]> wrote:

There goes that monitoring app being useless again!

T

On Apr 15, 2015, at 8:26 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:

Probably just an old config with settings that were removed from the app....

If you manually setup these settings you want to use, save a new prop file, and reload it, does that work?

On Apr 15, 2015, at 5:22 PM, Omar Moreno <[log in to unmask]> wrote:

Hi Jeremy, 

I'm trying to load the monitoring app with some pre-defined settings as follows: 

java -jar hps-monitoring-app-3.2-SNAPSHOT-bin.jar -c settings.file

The monitoring starts up but then crashes with the following error: 

MonitoringApplication failed to initialize without errors! 
java.lang.RuntimeException: Property SaveLayout is missing a get method. 
    at org.hps.monitoring.application.model.AbstractModel.firePropertiesChanged(AbstractModel.java:63)
     ...
Caused by: java.lang.NullPointerException
   at org.hps.monitoring.application.model.AbstractModel.firePropertiesChanged(AbstracModel.java:59)
    ... 5 more

I'm able to save a file, however, I still see the same error when doing so. 

I was able to reproduce the same error by doing the following:

* Open the monitoring app.
* Save a settings file with the defaults loaded
* Close the monitoring app and run the command above

--Omar Moreno 


Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1



Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1







Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1