In my appln user on the form selects dateand based on that record displayed on the table on button event.But on button event I'm getting JVM error as:
An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c901010, pid=4080, tid=2660 # # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing) # Problematic frame: # C [ntdll.dll+0x1010] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp #
Are you calling a third party application? Because this error is not caused by Java code but by native code. So unless you're using a third party application with a bug, or you've found a bug in the JVM.
Can you try to find out what the last line of Java code is that executes successfully before this error?
What happens if you close() your pstmt and rs? Which is a good thing to do anyway - always close() (Prepared)Statements, ResultSets, Connections and even Readers and InputStreams when you're done with them.
You could also try using a different ODBC connector. I've read the default Sun implementation can be buggy at times. If you check the JDBC forum in the Saloon you're sure to find a good replacement.