I can not to open McIDAS-V

Useful hints
Post Reply
User avatar
glez_b
Posts: 87
Joined: Thu May 05, 2011 9:19 pm
Contact:

I can not to open McIDAS-V

Post by glez_b »

Try running a script and got this error:
Fatal error initializing resources
Java heap space
ava.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at org.apache.xerces.dom.DeferredDocumentImpl.getNodeValueString(Unknown Source)
at org.apache.xerces.dom.DeferredDocumentImpl.getNodeValueString(Unknown Source)
at org.apache.xerces.dom.DeferredCDATASectionImpl.synchronizeData(Unknown Source)
at org.apache.xerces.dom.CharacterDataImpl.getNodeValue(Unknown Source)
at ucar.unidata.xml.XmlEncoder.createPrimitiveObject(XmlEncoder.java:1848)
at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:2034)
at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:1998)
at ucar.unidata.xml.XmlEncoder.invokeMethod(XmlEncoder.java:2238)
at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:2175)
at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:1998)
at ucar.unidata.xml.XmlEncoder.invokeMethod(XmlEncoder.java:2238)
at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:2175)
at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:1998)
at ucar.unidata.xml.XmlEncoder.createObject(XmlEncoder.java:1670)
at ucar.unidata.xml.XmlEncoder.toObjectInner(XmlEncoder.java:641)
at ucar.unidata.xml.XmlEncoder.toObject(XmlEncoder.java:618)
at ucar.unidata.xml.XmlObjectStore.append(XmlObjectStore.java:343)
at ucar.unidata.xml.XmlObjectStore.init(XmlObjectStore.java:323)
at ucar.unidata.idv.StateManager.initState(StateManager.java:388)
at ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:306)
at ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:225)
at edu.wisc.ssec.mcidasv.McIDASV.<init>(McIDASV.java:179)
at edu.wisc.ssec.mcidasv.McIDASV.main(McIDASV.java:1560)


I must tell you that had not had this problem and my script were running well. Now I can not open McIDAS-V, which, running with this command:

/home/mcidas/McIDAS-V-System/runMcV




How to solve it?
Boris_MCS
User avatar
bobc
Posts: 939
Joined: Mon Nov 15, 2010 5:57 pm

Re: I can not to open McIDAS-V

Post by bobc »

Hi Boris -

Sorry to hear about your error. I have a few questions, though:

    1. Did you recently add/install any plugins? There have been cases where IDV users have installed a plugin and it caused a similar error message. To verify if a plugin is causing the problem, can you try starting McIDAS-V with 'runMcV -noplugins'. This '-noplugins' command line argument will start McIDAS-V without any plugins.
    2. Did you update McIDAS-V versions between when your script was working and now when it is failing?
    3. Can you please send us the script that produces the error message?
    4. When you try starting McIDAS-V with simply 'runMcV', you say that McIDAS-V won't start. Are there any error messages that you see?
    5. To verify that there is nothing locally corrupted on your machine, can you try renaming your McIDAS-V directory and starting McIDAS-V again?

Thanks -
Bob Carp
McIDAS User Services
User avatar
joleenf
Posts: 1120
Joined: Mon Jan 19, 2009 7:16 pm

Re: I can not to open McIDAS-V

Post by joleenf »

I am suddenly running into a similar error and cannot even send in the support form. The runMcV command is not fully opening McIDAS-V either. I updated to the latest version this morning, hoping that would solve the problem, but it did not. I tried setting the memory setting to 80% or available memory, which did not help either.

Here are the details from the error messages:
Attachments
mcidasv.log
(1005 Bytes) Downloaded 347 times
Screen Shot 2014-10-02 at 9.28.12 AM.png
User avatar
bobc
Posts: 939
Joined: Mon Nov 15, 2010 5:57 pm

Re: I can not to open McIDAS-V

Post by bobc »

Hi Joleen -

We have had some problems recently with our nightly builds getting pushed to the web server, and because of that today's nightly came out late. Looking at your mcidasv.log file, it looks like you are running the nightly from yesterday (10/1). There was a problem with this nightly where certain text characters were written out incorrectly to main.xml (in the McIDAS-V directory) and this caused error messages at startup. To verify that this might not be an issue, can you please do the following:

1. Update to today's nightly and try running McIDAS-V. Does this work?
2. Go to your McIDAS-V directory, and move a copy of main.xml to another directory and start McIDAS-V without any main.xml in your McIDAS-V directory. Does this work?

If McIDAS-V works when you do number 2, please let us know.

Also, have you recently installed any plugins? There have been users who saw this problem in the IDV in the past after installing a plugin.

Thanks -
Bob Carp
User avatar
joleenf
Posts: 1120
Joined: Mon Jan 19, 2009 7:16 pm

Re: I can not to open McIDAS-V

Post by joleenf »

Hi Bob,

No plugins were installed recently.

1.) I moved main.xml and that did the trick, I was able to open the version that was already installed on my machine.
2.) I downloaded the latest nightly, and that opened as well.

It seems that moving main.xml would have been sufficient, but I thought I would get the new nightly anyway.

Joleen
Post Reply