Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

native code outside the VM

Status
Not open for further replies.

gawdknows

Technical User
Mar 4, 2003
95
IN
All

when I try to run a 4gl tool that does a call into JAVA.
However right at the moment of execution, I get an error saying:

B.T.W I must admit, if I run this program on a different PC with just JDK 1.3 , I see no problems at all.

But on this problem PC(NT4), I see, that at one moment of time JDK 1.4 was installed, then omitted from the 'classpath' to accomodate only jdk1.3.

Actually Jdk 1.3 is the env. where the programme must be run and as said before, works just fine.

I am assuming this error has to do something with the VM, but can any of the gurus out there just point what could be the nature/possible-source of such an error message.




********************error********************************
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x10003839
Function name=(N/A)
Library=C:\WINNT\System32\URTLc.dll

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.



Current Java thread:
at com.compuware.uniface.Uniface.ueopen(Native Method)
at com.compuware.uniface.UnifaceVM.<init>(UnifaceVM.java:90)
at com.compuware.uniface.uvmHandler.initCallIn(uvmHandler.java:87)
at com.compuware.uniface.uvmHandler.<init>(uvmHandler.java:65)
at java.lang.reflect.Constructor.newInstance(Native Method)
at com.compuware.uniface.UnifaceComponent.initInternal(UnifaceComponent.java:109)
at com.compuware.uniface.UnifaceComponent.<init>(UnifaceComponent.java:60)
at Summation.<init>(Summation.java:13)
at SummationBean.checkInstantiated(SummationBean.java:76)
at SummationBean.summa(SummationBean.java:49)
at JavaFrame.button1_actionPerformed(banerjee.java:173)
at JavaFrame$1.actionPerformed(banerjee.java:118)
at java.awt.Button.processActionEvent(Button.java:324)
at java.awt.Button.processEvent(Button.java:297)
at java.awt.Component.dispatchEventImpl(Component.java:2588)
at java.awt.Component.dispatchEvent(Component.java:2492)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

Dynamic libraries:
0x00400000 - 0x00405000 g:\jdk1.3.1_03\bin\java.exe
0x77F60000 - 0x77FBE000 C:\WINNT\System32\ntdll.dll
0x77DC0000 - 0x77DFF000 C:\WINNT\system32\ADVAPI32.dll
0x77F00000 - 0x77F5E000 C:\WINNT\system32\KERNEL32.dll
0x77E70000 - 0x77EC5000 C:\WINNT\system32\USER32.dll
0x77ED0000 - 0x77EFC000 C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E67000 C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x6D420000 - 0x6D4F0000 g:\jdk1.3.1_03\jre\bin\hotspot\jvm.dll
0x77FD0000 - 0x77FFA000 C:\WINNT\System32\WINMM.dll
0x6BD00000 - 0x6BD1A000 C:\WINNT\System32\CS32BA11.DLL
0x6D220000 - 0x6D227000 g:\jdk1.3.1_03\jre\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 g:\jdk1.3.1_03\jre\bin\verify.dll
0x6D250000 - 0x6D266000 g:\jdk1.3.1_03\jre\bin\java.dll
0x6D3C0000 - 0x6D3CD000 g:\jdk1.3.1_03\jre\bin\zip.dll
0x6D020000 - 0x6D12A000 G:\jdk1.3.1_03\jre\bin\awt.dll
0x77C00000 - 0x77C18000 C:\WINNT\System32\WINSPOOL.DRV
0x76AB0000 - 0x76AB5000 C:\WINNT\System32\IMM32.dll
0x77B20000 - 0x77BD7000 C:\WINNT\system32\ole32.dll
0x6D1E0000 - 0x6D21B000 G:\jdk1.3.1_03\jre\bin\fontmanager.dll
0x08F50000 - 0x08F58000 G:\KillAdd\KILLDLL.dll
0x13C00000 - 0x13C1A000 D:\usys7206\psys\bin\jni11.dll
0x10000000 - 0x10100000 C:\WINNT\System32\URTLc.dll
0x77D80000 - 0x77DB2000 C:\WINNT\system32\comdlg32.dll
0x77C40000 - 0x77D7C000 C:\WINNT\system32\SHELL32.dll
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.dll
0x776D0000 - 0x776D8000 C:\WINNT\system32\WSOCK32.dll
0x776B0000 - 0x776C4000 C:\WINNT\system32\WS2_32.dll
0x776A0000 - 0x776A7000 C:\WINNT\system32\WS2HELP.dll
0x10400000 - 0x1056B000 C:\WINNT\System32\YRTLc.dll
0x77920000 - 0x77942000 C:\WINNT\System32\imagehlp.dll
0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL

Local Time = Thu Jun 12 13:57:18 2003
Elapsed Time = 17
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_03-b03 mixed mode)
#
*****************end error*******************************
Thanks to all, for any pointers.

Thx

 
I don't know for sure, but I guess if no-one comes with a better idea ...

Run your code with a -verbose on and see exactly which JDK (1.3 or 1.4) the VM is loading classes from. In the past I've seen bizaar errors which turned out to be conflicts between two JDKs on the same machine.

I would check out the Windows registry, and what java JDKs and JREs are installed. Blow away the version which you don't need, making sure all PATH and CLASSPATH vars are clean, and that the registry is clean.

Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top