Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2550

java ex_schema example fails

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0
    • Affects Version/s: WT2.8.0
    • Component/s: None
    • Labels:
      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@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: