I am evaluating YourKit for a hedge fund that uses Sybase as the backend database and hibernate for peristance.
JDK is 1.5_06
The build of YourKit is 5.0_06 build #690, protocol is JVMTI
Hibernate is release 3.0.5 (all collections are set to lazy=false as per the other post on hibernate)
Sybase Driver is jConnect 6.0.5 (Note that this does not support all the metadata functions in the spec, but the app has no problems unless the profiler is running in which case the metadata invocations throw exeptions and the application crashes).
First Cause is:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
--> This is the bad BOY org.hibernate.cfg.SettingsFactory.getDatabaseMajorVersion(SettingsFactory.java:289)
--> END bad BOY
at org.hibernate.cfg.SettingsFactory.buildSettings( SettingsFactory.java:76)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
Root Cause is:
Caused by: com.sybase.jdbc3.utils.UnimplementedOperationException: The method com.sybase.jdbc3.jdbc.SybDatabaseMetaData.getDatabaseMajorVersion() has not been completed and should not be called.
at com.sybase.jdbc3.jdbc.ErrorMessage.raiseRuntimeException(Unknown Source)
at com.sybase.jdbc3.utils.Debug.notImplemented(Unknown Source)
at com.sybase.jdbc3.jdbc.SybDatabaseMetaData.getDatabaseMajorVersion(Unknown Source)
... 15 more
Result is:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1001986d, pid=3444, tid=3448
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
YourKit 5.0.8 Fails With Sybase and Hibernate
-
- Posts: 1
- Joined: Tue Jan 10, 2006 5:51 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Please send JVM crash log to [email protected]