At 12:56 AM 4/14/2010, you wrote:
The latest version of electric i.e, v9.00d, throws exception when
trying to plot Hspice ac analysis. Here is the log:

Reading HSpice Transient analysis...
Done reading Transient analysis
Reading HSpice AC analysis...
Done reading AC analysis
java.lang.NullPointerException at
com.sun.electric.tool.simulation.AnalogSignal.calcBounds(AnalogSignal.java:106)

Thank you for this bug report.

This is a report of a prerelease of Electric, so most regular GNU users are not affected by the problem.

Electric 9.00 has a problem reading AC0 files and we are working on it. In the meantime, you can either delete the "ac0" file so Electric doesn't read it and crash, or you can patch the crash with this fix:

In the module "com.sun.electric.tool.simulation.AnalogSignal.java" is the method calcBounds(). Find this line in that method:
--------------------------------------
Signal waveform = getWaveform(sweep);
--------------------------------------

after that line add this one:
--------------------------------------
if (waveform == null) continue;
--------------------------------------

You will still get a crash if you try to look at the AC0 data, but at least with this patch you can see the Transient data.

-Steven Rubin
--
You received this message because you are subscribed to the Google Groups "Electric 
VLSI Editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/electricvlsi?hl=en.

Reply via email to