I hava a two classes MainDataBase(parent) and SignUpDatabase.When i call methods of SignUpDatabase seperately,its working fine and when i call two methods same time it shows error.
My classes are :
Parent Class is
Child Class is
The exception is
Connection Already Created
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c90100b, pid=1000, tid=3912
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C [ntdll.dll+0x100b]
# An error report file with more information is saved as hs_err_pid1000.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp #
Java Result: 1
This is a JVM crash. Usually I would recommend updating to a more recent JDK (a good idea anyway) and if the problem still occurs sending it to Sun (now Oracle, I guess). But given where it is aborting I suspect that your NIC driver might be bad. Try updating the driver to the latest level. If that does not solve the problem, try to code on another machine. If the problem happens there also, send the issue to Sun/Oracle.
Another possibility: what database are you using and what driver? Be very specific as to which driver. If could be the driver that is crashing.