Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4948736

PointBase 4.5 problem: bad table (bufferField: invalid field)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • solaris_9u6
    • core-libs
    • sparc
    • solaris


      Pointbase version that exhibits the problem:
      pbembedded45GA217.jar
      driver major version=4
      driver minor version=5
      driver version=4.5 GA build 217

      This problem is found while testing Message Queue 3.5 using PointBase as the persistent store.
      After data is stored and deleted in the database, one of the tables will become unusable as can be seen by the exceptions thrown.

      2 exceptions had been observed:-

      SQLException:

      [31/Oct/2003:13:47:02 PST] [B1060]: Loading persistent data...
      [31/Oct/2003:13:47:04 PST] ERROR [B4038]: Failed to load interest states from store:^M
      java.sql.SQLException: [SELECT MID, CUID, STATE FROM IMQILIST35]: Pointbase Internal Error: bufferField: invalid field - Free Field false 32639 32641 > 4058.^M[31/Oct/2003:13:47:04 PST] ERROR [B3000]: Could not open persistent message store:^M
      com.sun.messaging.jmq.jmsserver.util.BrokerException: Failed to load interest states from store^
      %

      NullPointExcpetion:

      [21/Oct/2003:12:52:58 PDT] [B1060]: Loading persistent data...
      Exception in thread "main" java.lang.NullPointerException
      at com.pointbase.table.tableRowPageGroupEnum.releaseLockAndLatches(Unknown Source)
      at com.pointbase.table.tableRowPageGroupEnum.releaseResources(Unknown Source)
      at com.pointbase.table.tableScanPagesEnum.releaseResources(Unknown Source)
      at com.pointbase.table.tableAccess.releaseResources(Unknown Source)
      at com.pointbase.ref.refTable.releaseResources(Unknown Source)
      at com.pointbase.qexp.qexpQueryBlock.releaseTablesInQueryBlock(Unknown Source)
      at com.pointbase.qexp.qexpQueryTop.releaseTables(Unknown Source)
      at com.pointbase.qexp.qexpQueryTop.releaseResources(Unknown Source)
      at com.pointbase.select.selectCommand.releaseResources(Unknown Source)
      at com.pointbase.api.apiStatement.scanReleaseResources(Unknown Source)
      at com.pointbase.api.apiStatement.releaseResources(Unknown Source)
      at com.pointbase.api.apiStatement.processCancel(Unknown Source)
      at com.pointbase.api.apiStatement.doExecute(Unknown Source)
      at com.pointbase.api.apiStatement.execute(Unknown Source)
      at com.pointbase.api.apiStatement.execute(Unknown Source)
      at com.pointbase.jdbc.jdbcPreparedStatement.executeQuery(Unknown Source)
      at com.sun.messaging.jmq.jmsserver.persist.jdbc.StateTable.loadStates(StateTable.java:290)
      at com.sun.messaging.jmq.jmsserver.persist.jdbc.StateTable.<init>(StateTable.java:110)
      at com.sun.messaging.jmq.jmsserver.persist.jdbc.JDBCStore.<init>(JDBCStore.java:123)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      at java.lang.Class.newInstance0(Class.java:308)
      at java.lang.Class.newInstance(Class.java:261)
      at com.sun.messaging.jmq.jmsserver.persist.StoreManager.getStore(StoreManager.java:104)
      at com.sun.messaging.jmq.jmsserver.Globals.getStore(Globals.java:529)
      at com.sun.messaging.jmq.jmsserver.Broker.<init>(Broker.java:548)
      at com.sun.messaging.jmq.jmsserver.Broker.main(Broker.java:1420)
      %

      The error log generated by PointBase is attached.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: