java ex_schema example fails

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • WT2.9.0
    • Affects Version/s: WT2.8.0
    • Component/s: None
    • None
    • None
    • None

      When running ex_schema.java, code under the section labeled List the records in the table using raw mode results in an exception:

      Exception: com.wiredtiger.db.WiredTigerPackingException: Format mismatch. Wanted: U, got: r
      com.wiredtiger.db.WiredTigerPackingException: Format mismatch. Wanted: U, got: r
      at com.wiredtiger.db.PackFormatInputStream.checkType(PackFormatInputStream.java:118)
      at com.wiredtiger.db.PackInputStream.getByteArray(PackInputStream.java:130)
      at com.wiredtiger.db.Cursor.getKeyByteArray(Cursor.java:302)
      at com.wiredtiger.examples.ex_schema.schemaExample(ex_schema.java:199)
      at com.wiredtiger.examples.ex_schema.main(ex_schema.java:391)

              Assignee:
              Donald Anderson
              Reporter:
              Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: