Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Exception in native code

  Asked By: Meenachi    Date: Dec 03    Category: Java    Views: 1381
  


I wanted to use a protected member of TextArea class and so I derived it to
a new class. Even if I give no implementation to that class and if I just
create object of new derived class, after typing some characters in the
textarea, I am getting an exception whose core dump is as follows. Please
suggest me why such errors come and how to come out of it.

CODE:

TextArea t=new TextArea(20,40)
{
/*protected void processKeyEvent(KeyEvent k)
{
System.out.println("Testing:"+k);
System.exit(0);
super.processKeyEvent(k);
}*/
};



ERROR LOG:



An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77FCB032
Function=_eFSQRT+0xD68
Library=C:\WINNT\system32\ntdll.dll

Current Java thread:
at sun.awt.windows.WTextComponentPeer.getText(Native Method)
at java.awt.TextComponent.getText(TextComponent.java:212)
- locked <02F22480> (a Messenger$1)
at java.awt.TextArea.appendText(TextArea.java:332)
- locked <02F22480> (a Messenger$1)
at java.awt.TextArea.append(TextArea.java:323)
at Messenger.append(MailClient2.java:67)
at MailClient2.frameAppend(MailClient2.java:26)
at ReadStream.run(MailClient2.java:52)

Dynamic libraries:
0x00400000 - 0x00406000 C:\j2sdk1.4.0-rc\bin\java.exe
0x77F80000 - 0x77FFB000 C:\WINNT\system32\ntdll.dll
0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C623000 C:\WINNT\system32\KERNEL32.DLL
0x77D30000 - 0x77D9E000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x6D330000 - 0x6D442000 C:\j2sdk1.4.0-rc\jre\bin\client\jvm.dll
0x77E10000 - 0x77E6F000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F79000 C:\WINNT\system32\GDI32.dll
0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
0x6D1D0000 - 0x6D1D7000 C:\j2sdk1.4.0-rc\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000 C:\j2sdk1.4.0-rc\jre\bin\verify.dll
0x6D210000 - 0x6D228000 C:\j2sdk1.4.0-rc\jre\bin\java.dll
0x6D320000 - 0x6D32D000 C:\j2sdk1.4.0-rc\jre\bin\zip.dll
0x6D000000 - 0x6D0F6000 C:\j2sdk1.4.0-rc\jre\bin\awt.dll
0x77800000 - 0x7781E000 C:\WINNT\system32\WINSPOOL.DRV
0x76620000 - 0x76631000 C:\WINNT\system32\MPR.DLL
0x75E60000 - 0x75E7A000 C:\WINNT\system32\IMM32.dll
0x77A50000 - 0x77B3C000 C:\WINNT\system32\ole32.dll
0x6D180000 - 0x6D1D0000 C:\j2sdk1.4.0-rc\jre\bin\fontmanager.dll
0x69510000 - 0x695D7000 C:\WINNT\system32\OPENGL32.dll
0x6FAC0000 - 0x6FADF000 C:\WINNT\system32\GLU32.dll
0x72800000 - 0x72846000 C:\WINNT\system32\DDRAW.dll
0x728A0000 - 0x728A6000 C:\WINNT\system32\DCIMAN32.dll
0x12E40000 - 0x1300A000 C:\WINNT\system32\ialmgicd.dll
0x76B20000 - 0x76B25000 C:\WINNT\system32\RICHED32.DLL
0x772B0000 - 0x7731C000 C:\WINNT\system32\RICHED20.dll
0x6D2D0000 - 0x6D2DD000 C:\j2sdk1.4.0-rc\jre\bin\net.dll
0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll
0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.DLL
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL
0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL
0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL
0x75150000 - 0x7515F000 C:\WINNT\system32\SAMLIB.DLL
0x75170000 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL
0x7C340000 - 0x7C34F000 C:\WINNT\system32\SECUR32.DLL
0x751C0000 - 0x751C6000 C:\WINNT\system32\NETRAP.DLL
0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL
0x7C0F0000 - 0x7C151000 C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77513000 C:\WINNT\system32\RASAPI32.DLL
0x774C0000 - 0x774D1000 C:\WINNT\system32\RASMAN.DLL
0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x63180000 - 0x631E5000 C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 C:\WINNT\system32\rasadhlp.dll
0x74FD0000 - 0x74FEE000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL

Local Time = Tue Nov 18 16:22:44 2003
Elapsed Time = 34
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-rc-b91 mixed mode)
#

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Exception in native code Or get search suggestion and latest updates.




Tagged: