Quantcast

When I use hsqldb I have problems with GUI

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

When I use hsqldb I have problems with GUI

Александр Свиридов
I can't understand how RDB can be linked with GUI but I've checked several times. I have osgi javafx application. when I install hsqldb and use database I have strange problems:
Before that I used h2 and I didn't have nothing like that. And the only thing is changesd is the RDB. I've checked on centos 7.1 and win 7 (VBOX)

1) When I press CTRL+SHIFT I get a lot of the following exceptions:
java.lang.ArrayIndexOutOfBoundsException: 85
    at sun.awt.X11.XEvent.getFieldsAsString(XEvent.java:86)
    at sun.awt.X11.XWrapperBase.toString(XWrapperBase.java:37)
    at sun.awt.X11.XEvent.toString(XEvent.java:8)
    at java.lang.String.valueOf(String.java:2994)
    at sun.util.logging.PlatformLogger$JavaLoggerProxy.doLog(PlatformLogger.java:626)
    at sun.util.logging.PlatformLogger.finer(PlatformLogger.java:387)
    at sun.awt.X11.XToolkit.run(XToolkit.java:586)
    at sun.awt.X11.XToolkit.run(XToolkit.java:532)
    at java.lang.Thread.run(Thread.java:745)
2) My javafx data binding stop working
3) When I close application via CTRL+C I get the following:

^C=========== Performance Statistics =============

Time:
com.sun.webkit.perf.WCFontPerfLogger.GETASCENT: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETLINEGAP: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETGLYPHWIDTH: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETDESCENT: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.HASH: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETLINESPACING: 1ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.HASUNIFORMLINEMETRICS: 1ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETXHEIGHT: 1ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETGLYPHCODES: 32ms, 0.11%
com.sun.webkit.perf.WCFontPerfLogger.TOTALTIME: 29131ms, 100.00%

Invocations count:
com.sun.webkit.perf.WCFontPerfLogger.GETASCENT: 1
com.sun.webkit.perf.WCFontPerfLogger.GETLINEGAP: 1
com.sun.webkit.perf.WCFontPerfLogger.GETDESCENT: 1
com.sun.webkit.perf.WCFontPerfLogger.HASH: 1
com.sun.webkit.perf.WCFontPerfLogger.GETLINESPACING: 1
com.sun.webkit.perf.WCFontPerfLogger.HASUNIFORMLINEMETRICS: 1
com.sun.webkit.perf.WCFontPerfLogger.GETXHEIGHT: 1
com.sun.webkit.perf.WCFontPerfLogger.TOTALTIME: 1
com.sun.webkit.perf.WCFontPerfLogger.GETGLYPHCODES: 2
com.sun.webkit.perf.WCFontPerfLogger.GETGLYPHWIDTH: 4
================================================

=========== Performance Statistics =============

Time:
com.sun.webkit.perf.WCGraphicsPerfLogger.RESTORESTATE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SET_FONT_SMOOTHING_TYPE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCLIP_R: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCOMPOSITE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.DISPOSE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SAVESTATE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCLIP_IIII: 1ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.TRANSLATE: 1ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.FLUSH: 2ms, 0.01%
com.sun.webkit.perf.WCGraphicsPerfLogger.DRAWSTRING_GV: 7ms, 0.02%
com.sun.webkit.perf.WCGraphicsPerfLogger.FILLRECT_FFFFI: 18ms, 0.06%
com.sun.webkit.perf.WCGraphicsPerfLogger.TOTALTIME: 29135ms, 100.00%

Invocations count:
com.sun.webkit.perf.WCGraphicsPerfLogger.TOTALTIME: 1
com.sun.webkit.perf.WCGraphicsPerfLogger.DRAWSTRING_GV: 13
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCLIP_R: 17
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCLIP_IIII: 17
com.sun.webkit.perf.WCGraphicsPerfLogger.RESTORESTATE: 34
com.sun.webkit.perf.WCGraphicsPerfLogger.SAVESTATE: 34
com.sun.webkit.perf.WCGraphicsPerfLogger.TRANSLATE: 34
com.sun.webkit.perf.WCGraphicsPerfLogger.SET_FONT_SMOOTHING_TYPE: 44
com.sun.webkit.perf.WCGraphicsPerfLogger.FILLRECT_FFFFI: 45
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCOMPOSITE: 68
com.sun.webkit.perf.WCGraphicsPerfLogger.DISPOSE: 88
com.sun.webkit.perf.WCGraphicsPerfLogger.FLUSH: 88
================================================

=========== Performance Statistics =============

Time:
com.sun.webkit.perf.Locks.TOTALTIME: 29772ms, 100.00%

Invocations count:
com.sun.webkit.perf.Locks.TOTALTIME: 1


HOW TO FIX IT?




--
Александр Свиридов
------------------------------------------------------------------------------

_______________________________________________
Hsqldb-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/hsqldb-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: When I use hsqldb I have problems with GUI

Александр Свиридов
Thank you for your answer. I user the last release. The link you provided - they say that the bug was fixed. So should I exclude swing classes? Are these classes in some certain package? If I have such a problem it means it's a bug, isn't it?


Четверг, 11 июня 2015, 15:17 +01:00 от Fred Toussi <[hidden email]>:
The hsqldb.jar contains the DatabaseManagerSwing which is a GUI app. You can compile HSQLDB with the Gradle or Ant (see the /build directory) as hsqldbmain.jar which excludes the Swing classes.
 
There was an old bug that showed some JDK had a problem with the Swing classes. https://sourceforge.net/p/hsqldb/bugs/1304/
 
Fred
 
On Thu, Jun 11, 2015, at 00:29, Александр Свиридов wrote:
I can't understand how RDB can be linked with GUI but I've checked several times. I have osgi javafx application. when I install hsqldb and use database I have strange problems:
Before that I used h2 and I didn't have nothing like that. And the only thing is changesd is the RDB. I've checked on centos 7.1 and win 7 (VBOX)

1) When I press CTRL+SHIFT I get a lot of the following exceptions:
java.lang.ArrayIndexOutOfBoundsException: 85
    at sun.awt.X11.XEvent.getFieldsAsString(XEvent.java:86)
    at sun.awt.X11.XWrapperBase.toString(XWrapperBase.java:37)
    at sun.awt.X11.XEvent.toString(XEvent.java:8)
    at java.lang.String.valueOf(String.java:2994)
    at sun.util.logging.PlatformLogger$JavaLoggerProxy.doLog(PlatformLogger.java:626)
    at sun.util.logging.PlatformLogger.finer(PlatformLogger.java:387)
    at sun.awt.X11.XToolkit.run(XToolkit.java:586)
    at sun.awt.X11.XToolkit.run(XToolkit.java:532)
    at java.lang.Thread.run(Thread.java:745)
2) My javafx data binding stop working
3) When I close application via CTRL+C I get the following:

^C=========== Performance Statistics =============

Time:
com.sun.webkit.perf.WCFontPerfLogger.GETASCENT: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETLINEGAP: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETGLYPHWIDTH: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETDESCENT: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.HASH: 0ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETLINESPACING: 1ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.HASUNIFORMLINEMETRICS: 1ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETXHEIGHT: 1ms, 0.00%
com.sun.webkit.perf.WCFontPerfLogger.GETGLYPHCODES: 32ms, 0.11%
com.sun.webkit.perf.WCFontPerfLogger.TOTALTIME: 29131ms, 100.00%

Invocations count:
com.sun.webkit.perf.WCFontPerfLogger.GETASCENT: 1
com.sun.webkit.perf.WCFontPerfLogger.GETLINEGAP: 1
com.sun.webkit.perf.WCFontPerfLogger.GETDESCENT: 1
com.sun.webkit.perf.WCFontPerfLogger.HASH: 1
com.sun.webkit.perf.WCFontPerfLogger.GETLINESPACING: 1
com.sun.webkit.perf.WCFontPerfLogger.HASUNIFORMLINEMETRICS: 1
com.sun.webkit.perf.WCFontPerfLogger.GETXHEIGHT: 1
com.sun.webkit.perf.WCFontPerfLogger.TOTALTIME: 1
com.sun.webkit.perf.WCFontPerfLogger.GETGLYPHCODES: 2
com.sun.webkit.perf.WCFontPerfLogger.GETGLYPHWIDTH: 4
================================================

=========== Performance Statistics =============

Time:
com.sun.webkit.perf.WCGraphicsPerfLogger.RESTORESTATE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SET_FONT_SMOOTHING_TYPE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCLIP_R: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCOMPOSITE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.DISPOSE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SAVESTATE: 0ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCLIP_IIII: 1ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.TRANSLATE: 1ms, 0.00%
com.sun.webkit.perf.WCGraphicsPerfLogger.FLUSH: 2ms, 0.01%
com.sun.webkit.perf.WCGraphicsPerfLogger.DRAWSTRING_GV: 7ms, 0.02%
com.sun.webkit.perf.WCGraphicsPerfLogger.FILLRECT_FFFFI: 18ms, 0.06%
com.sun.webkit.perf.WCGraphicsPerfLogger.TOTALTIME: 29135ms, 100.00%

Invocations count:
com.sun.webkit.perf.WCGraphicsPerfLogger.TOTALTIME: 1
com.sun.webkit.perf.WCGraphicsPerfLogger.DRAWSTRING_GV: 13
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCLIP_R: 17
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCLIP_IIII: 17
com.sun.webkit.perf.WCGraphicsPerfLogger.RESTORESTATE: 34
com.sun.webkit.perf.WCGraphicsPerfLogger.SAVESTATE: 34
com.sun.webkit.perf.WCGraphicsPerfLogger.TRANSLATE: 34
com.sun.webkit.perf.WCGraphicsPerfLogger.SET_FONT_SMOOTHING_TYPE: 44
com.sun.webkit.perf.WCGraphicsPerfLogger.FILLRECT_FFFFI: 45
com.sun.webkit.perf.WCGraphicsPerfLogger.SETCOMPOSITE: 68
com.sun.webkit.perf.WCGraphicsPerfLogger.DISPOSE: 88
com.sun.webkit.perf.WCGraphicsPerfLogger.FLUSH: 88
================================================

=========== Performance Statistics =============

Time:
com.sun.webkit.perf.Locks.TOTALTIME: 29772ms, 100.00%

Invocations count:
com.sun.webkit.perf.Locks.TOTALTIME: 1


HOW TO FIX IT?




--
Александр Свиридов
------------------------------------------------------------------------------
_______________________________________________
Hsqldb-user mailing list


------------------------------------------------------------------------------

_______________________________________________
Hsqldb-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/hsqldb-user
Loading...