That is a bug in Java, not a bug in Ptolemy II.
Java should not crash, no matter what Ptolemy II does.

What platform are you on?
  I'm guessing Windows NT.
What service pack?
You might try a different OS, or upgrade your current OS to
the most recent service pack.
 
It looks like you are running under Java 1.3.1_06
Ptolemy II 2.0.1 works best under Java 1.3.1
Try using the most recent version of Java 1.3.1, which is
1.3.1_07, see
http://java.sun.com/j2se/1.3/download.html

There is a slightly similar bug at
http://developer.java.sun.com/developer/bugParade/bugs/4410477.html
at the bottom someone reports a similar error, but there is no
solution.

You could also try running under Java 1.4.1.  Note that the
code generator facility in Ptolemy II 2.0.1 will not work with
Java 1.4.1, but everything else should.

BTW - 2.0.1 is not backward compatible with 1.0.1's library.
2.0.1 will convert 1.0.1 libraries to be compatible to 2.0.1.
The ptolemy/moml/filter/*.java classes do the conversion, which
is summarized in the release notes
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII2.0/ptII2.0.1/doc/ptII2.0.release.htm
In principle, it should be possible to convert from Ptolemy II 2.0.1
back to Ptolemy 1.0.1. I would probably use xslt to do this though,

-Christopher

--------

    Our project started using Ptolemy in 2001. We used the Ptolemy version
    1.0.1 to build a good deal of self-defined library. Now, we are using
    Ptolemy2.0.1 and try to import our library. Unfortunately, the 2.0.1
    is incompatible with 1.0.1's library. 2.0.1 can't open or import the
    library, with error showing in a txt file.
         How can we solve this problem? As it is non-sense to rebuild our
    library.
    
    Thanks
    
b    
    // txt file shows error
    An unexpected exception has been detected in native code outside the
    VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
    PC=0x6d0d9c03
    Function name=Java_sun_awt_Win32GraphicsConfig_getBounds
    Library=F:\jdk\jre\bin\awt.dll
    
    Current Java thread:
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(WToolkit.java:183)
        at java.lang.Thread.run(Thread.java:479)
    
    Dynamic libraries:
    0x00400000 - 0x00455000     F:\Ptolemy\vergil.exe
    0x77F80000 - 0x77FF9000     F:\WINNT\System32\ntdll.dll
    0x77D90000 - 0x77DEA000     F:\WINNT\system32\ADVAPI32.dll
    0x77E60000 - 0x77F36000     F:\WINNT\system32\KERNEL32.DLL
    0x77D20000 - 0x77D8F000     F:\WINNT\system32\RPCRT4.DLL
    0x77DF0000 - 0x77E54000     F:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7C000     F:\WINNT\system32\GDI32.DLL
    0x777E0000 - 0x777E7000     F:\WINNT\system32\VERSION.dll
    0x75950000 - 0x75956000     F:\WINNT\system32\LZ32.DLL
    0x75E00000 - 0x75E1A000     F:\WINNT\System32\IMM32.DLL
    0x6D420000 - 0x6D4F9000     f:\jdk\jre\bin\hotspot\jvm.dll
    0x77530000 - 0x77560000     F:\WINNT\System32\WINMM.dll
    0x78000000 - 0x78046000     F:\WINNT\system32\MSVCRT.dll
    0x67ED0000 - 0x67ED7000     F:\WINNT\System32\serwvdrv.dll
    0x66360000 - 0x66367000     F:\WINNT\System32\umdmxfrm.dll
    0x6D220000 - 0x6D227000     f:\jdk\jre\bin\hpi.dll
    0x6D3B0000 - 0x6D3BD000     f:\jdk\jre\bin\verify.dll
    0x6D250000 - 0x6D266000     f:\jdk\jre\bin\java.dll
    0x6D3C0000 - 0x6D3CD000     f:\jdk\jre\bin\zip.dll
    0x6D020000 - 0x6D12A000     F:\jdk\jre\bin\awt.dll
    0x777C0000 - 0x777DD000     F:\WINNT\System32\WINSPOOL.DRV
    0x77A30000 - 0x77B24000     F:\WINNT\system32\ole32.dll
    0x6D1E0000 - 0x6D21B000     F:\jdk\jre\bin\fontmanager.dll
    0x72700000 - 0x72746000     F:\WINNT\System32\DDRAW.dll
    0x727A0000 - 0x727A6000     F:\WINNT\System32\DCIMAN32.dll
    0x10000000 - 0x10170000     F:\WINNT\System32\i81xgicd.dll
    0x0D970000 - 0x0D9CD000     F:\WINNT\System32\i81xGDEV.DLL
    0x6E260000 - 0x6E266000     F:\WINNT\System32\INDICDLL.dll
    0x6D190000 - 0x6D1B2000     F:\jdk\jre\bin\dcpr.dll
    0x77900000 - 0x77922000     F:\WINNT\system32\imagehlp.dll
    0x72900000 - 0x7292D000     F:\WINNT\system32\DBGHELP.dll
    0x68E00000 - 0x68E0B000     F:\WINNT\System32\PSAPI.DLL
    
    Local Time = Fri Jan 31 16:16:37 2003
    Elapsed Time = 748
    #
    # The exception above was detected in native code outside the VM
    #
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_06-b01 mixed mode)
    #
--------

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to