HSQLDB error when using JAVA1.7

Help
2013-05-29
2014-01-19
  • viniciusmss

    viniciusmss - 2013-05-29

    Hello!

    Does HSQLDB work with JAVA1.7 ? If not, will it work? Do you have a schedule?

    If you compile the code below with JAVA1.6 and run the test below through JRE1.6, no problem occurs. But if you compile it with JAVA1.7 and run the test below through JRE1.7, the program will exit abruptly and a file hs_err_pid will be created.

    The test (to reproduce the error):

    1 - Compile and run the code below with JRE1.7
    2 - It will open a JFileChooser
    3 - Click the button to List Details of the files (at top right)
    4 - It will show a table of the files and its details
    5 - Click on the header of the table
    6 - The program will exit abruptly and a file hs_err_pid will be created
    7 - It always happens to me, but if it does not happen to you, I can grant you remote access to my computer and show you./quote]

    The code is:

    import java.sql.DriverManager;
    import java.sql.SQLException;
    import javax.swing.JFileChooser;
    import javax.swing.JOptionPane;
    public class TesteFileChooser{
      public static void main(String[] args){                     
          try{
              //If you comment the code below, no error will occur
              DriverManager.getConnection(
                      "jdbc:hsqldb:file:C:/DB_Test/DB_Test", 
                      "userAdmin", "pass");
          }catch(SQLException e){
              JOptionPane.showMessageDialog(null,e.getMessage());
          }               
          JFileChooser chooser = new JFileChooser("C:");      
          chooser.showOpenDialog(null);               
          System.exit(0);
      }
    }
    

    The error inside the hs_err_pid file that is created:


    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x006a7dc8, pid=2744, tid=360
    #
    # JRE version: 7.0_21-b11
    # Java VM: Java HotSpot(TM) Client VM (23.21-b01 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # C  0x006a7dc8

     
  • viniciusmss

    viniciusmss - 2013-05-29

    Forgot to mention… I am using HSQLDB 2.2.9

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks