Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-50

utf-8 Conversion error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 1.0
    • Affects Version/s: 0.11
    • Component/s: None
    • None

      content.length() = 524598
      Exception in thread "main" java.lang.IllegalArgumentException: tried to save too large of an object. max size : 2098176
      at com.mongodb.ByteEncoder.putObject(ByteEncoder.java:175)
      at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:204)
      at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:163)
      at com.mongodb.DBApiLayer$MyCollection.insert(DBApiLayer.java:158)
      at org.riverock.proxy.ReadFileContent.main(ReadFileContent.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

        1. file-7762970531535664141.dat
          512 kB
          Serge
        2. ReadFileContent.java
          1 kB
          Serge

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            sergmain Serge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: