Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-785

Cannot mongoimport NumberLong with quotation marks

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.4
    • Affects Version/s: 3.0.3
    • Component/s: mongoimport
    • Environment:
      Default mongod instance

      http://docs.mongodb.org/manual/reference/mongodb-extended-json/#numberlong

      "NumberLong is a 64 bit signed integer. You must include quotation marks or it will be interpreted as a floating point number, resulting in a loss of accuracy."

      Attempting to mongoimport a NumberLong with quotes:
      mongoimport --db test --collection <<coll>> --file <<file>>

      2015-06-12T09:34:59.542-0700 connected to: 127.0.0.1:27017
      panic: interface conversion: interface is string, not json.Number [recovered]
      panic: interface conversion: interface is string, not json.Number

      goroutine 68 [running]:
      runtime.panic(0x8015c0, 0xc08200aa80)
      C:/go/src/pkg/runtime/panic.c:279 +0x11f
      github.com/mongodb/mongo-tools/common/json.func┬╖002()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:181 +0x8b
      runtime.panic(0x8015c0, 0xc08200aa80)
      C:/go/src/pkg/runtime/panic.c:248 +0x1d3
      github.com/mongodb/mongo-tools/common/json.(*decodeState).getNumberLong(0xc08205e800, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/number.go:110 +0x1a2
      github.com/mongodb/mongo-tools/common/json.(*decodeState).getExtendedLiteral(0xc08205e800, 0xc08200a925, 0xa, 0x10, 0x0, 0x0, 0x317280)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/mongo_extjson.go:305 +0x494
      github.com/mongodb/mongo-tools/common/json.(*decodeState).literalInterface(0xc08205e800, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:1137 +0x36d
      github.com/mongodb/mongo-tools/common/json.(*decodeState).valueInterface(0xc08205e800, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:980 +0x62
      github.com/mongodb/mongo-tools/common/json.(*decodeState).bsonDInterface(0xc08205e800, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:1044 +0x265
      github.com/mongodb/mongo-tools/common/json.(*decodeState).bsonDocument(0xc08205e800, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:358 +0x6b
      github.com/mongodb/mongo-tools/common/json.(*decodeState).unmarshalBsonD(0xc08205e800, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:190 +0x12d
      github.com/mongodb/mongo-tools/common/json.UnmarshalBsonD(0xc08200a900, 0x35, 0x35, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:107 +0x157
      github.com/mongodb/mongo-tools/mongoimport.JSONConverter.Convert(0xc08200a900, 0x35, 0x35, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/json.go:142 +0x86
      github.com/mongodb/mongo-tools/mongoimport.(*JSONConverter).Convert(0xc0820e8260, 0x0, 0x0, 0x0, 0x0, 0x0)
      <autogenerated>:8 +0xc5
      github.com/mongodb/mongo-tools/mongoimport.(*importWorker).processDocuments(0xc0820904c0, 0xc082090400, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:380 +0x145
      github.com/mongodb/mongo-tools/mongoimport.func┬╖002(0xc0820126e0, 0xc0820cc000, 0xc082092300)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:268 +0xa9
      created by github.com/mongodb/mongo-tools/mongoimport.streamDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:275 +0x36c

      goroutine 16 [chan receive]:
      github.com/mongodb/mongo-tools/mongoimport.channelQuorumError(0xc0820069c0, 0x2, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:67 +0x77
      github.com/mongodb/mongo-tools/mongoimport.(*MongoImport).importDocuments(0xc082046750, 0x320ad0, 0xc0820065a0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:352 +0xbd1
      github.com/mongodb/mongo-tools/mongoimport.(*MongoImport).ImportDocuments(0xc082046750, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:287 +0x4a5
      main.main()
      C:/data/mci/shell/src/src/mongo-tools-repo/mongoimport/main/mongoimport.go:70 +0x6d6

      goroutine 17 [syscall]:
      runtime.goexit()
      C:/go/src/pkg/runtime/proc.c:1445

      goroutine 19 [finalizer wait]:
      runtime.park(0x415b40, 0xae8b80, 0xae6829)
      C:/go/src/pkg/runtime/proc.c:1369 +0xac
      runtime.parkunlock(0xae8b80, 0xae6829)
      C:/go/src/pkg/runtime/proc.c:1385 +0x42
      runfinq()
      C:/go/src/pkg/runtime/mgc0.c:2644 +0xdd
      runtime.goexit()
      C:/go/src/pkg/runtime/proc.c:1445

      goroutine 20 [syscall]:
      os/signal.loop()
      C:/go/src/pkg/os/signal/signal_unix.go:21 +0x25
      created by os/signal.init┬╖1
      C:/go/src/pkg/os/signal/signal_unix.go:27 +0x39

      goroutine 26 [select]:
      github.com/mongodb/mongo-tools/common/progress.(*Bar).start(0xc08200c6e0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/progress/progress_bar.go:181 +0x108
      created by github.com/mongodb/mongo-tools/common/progress.(*Bar).Start
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/progress/progress_bar.go:103 +0xb9

      goroutine 25 [chan receive]:
      github.com/mongodb/mongo-tools/common/signals.Handle()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/signals/signals_windows.go:14 +0xe5
      created by main.main
      C:/data/mci/shell/src/src/mongo-tools-repo/mongoimport/main/mongoimport.go:16 +0x38

      goroutine 27 [sleep]:
      time.Sleep(0x1dcd6500)
      C:/Users/gopher/AppData/Local/Temp/1/makerelease745458658/go/src/pkg/runtime/time.goc:39 +0x38
      gopkg.in/mgo%2ev2.(*mongoCluster).syncServersLoop(0xc08205e000)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/gopkg.in/mgo.v2/cluster.go:365 +0x250
      created by gopkg.in/mgo%2ev2.newCluster
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/gopkg.in/mgo.v2/cluster.go:76 +0x178

      goroutine 34 [runnable]:
      github.com/mongodb/mongo-tools/mongoimport.(*MongoImport).runInsertionWorker(0xc082046750, 0xc0820cc000, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:429 +0xb41
      github.com/mongodb/mongo-tools/mongoimport.func┬╖009()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:379 +0x85
      created by github.com/mongodb/mongo-tools/mongoimport.(*MongoImport).ingestDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:386 +0x1b2

      goroutine 29 [IO wait]:
      net.runtime_pollWait(0x321c00, 0x72, 0x0)
      C:/Users/gopher/AppData/Local/Temp/1/makerelease745458658/go/src/pkg/runtime/netpoll.goc:146 +0x6d
      net.(*pollDesc).Wait(0xc082074470, 0x72, 0x0, 0x0)
      C:/go/src/pkg/net/fd_poll_runtime.go:84 +0x4d
      net.(*ioSrv).ExecIO(0xc08203e210, 0xc082074360, 0x885a30, 0x7, 0x963fa8, 0x0, 0x0, 0x0)
      C:/go/src/pkg/net/fd_windows.go:188 +0x242
      net.(*netFD).Read(0xc082074300, 0xc0820527e0, 0x24, 0x24, 0x0, 0x0, 0x0)
      C:/go/src/pkg/net/fd_windows.go:458 +0x156
      net.(*conn).Read(0xc08203e230, 0xc0820527e0, 0x24, 0x24, 0x0, 0x0, 0x0)
      C:/go/src/pkg/net/net.go:122 +0xee
      gopkg.in/mgo%2ev2.fill(0x321d08, 0xc08203e230, 0xc0820527e0, 0x24, 0x24, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/gopkg.in/mgo.v2/socket.go:502 +0x86
      gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc08205a620)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/gopkg.in/mgo.v2/socket.go:519 +0x126
      created by gopkg.in/mgo%2ev2.newSocket
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/gopkg.in/mgo.v2/socket.go:166 +0x2f5

      goroutine 65 [sleep]:
      time.Sleep(0x12a05f200)
      C:/Users/gopher/AppData/Local/Temp/1/makerelease745458658/go/src/pkg/runtime/time.goc:39 +0x38
      gopkg.in/mgo%2ev2.(*mongoServer).pinger(0xc08205a540, 0xc08205a501)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/gopkg.in/mgo.v2/server.go:297 +0x125
      created by gopkg.in/mgo%2ev2.newServer
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/gopkg.in/mgo.v2/server.go:90 +0xf8

      goroutine 30 [chan receive]:
      github.com/mongodb/mongo-tools/mongoimport.channelQuorumError(0xc082006a20, 0x2, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:67 +0x77
      github.com/mongodb/mongo-tools/mongoimport.(*JSONInputReader).StreamDocument(0xc0820065a0, 0x0, 0xc0820cc000, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/json.go:136 +0x1b9
      github.com/mongodb/mongo-tools/mongoimport.func┬╖007()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:344 +0x61
      created by github.com/mongodb/mongo-tools/mongoimport.(*MongoImport).importDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:345 +0xb73

      goroutine 31 [semacquire]:
      sync.runtime_Semacquire(0xc08207c350)
      C:/Users/gopher/AppData/Local/Temp/1/makerelease745458658/go/src/pkg/runtime/sema.goc:199 +0x37
      sync.(*WaitGroup).Wait(0xc08207e200)
      C:/go/src/pkg/sync/waitgroup.go:129 +0x152
      github.com/mongodb/mongo-tools/mongoimport.(*MongoImport).ingestDocuments(0xc082046750, 0xc0820cc000, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:388 +0x1e0
      github.com/mongodb/mongo-tools/mongoimport.func┬╖008()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:349 +0x45
      created by github.com/mongodb/mongo-tools/mongoimport.(*MongoImport).importDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/mongoimport.go:350 +0xbb5

      goroutine 81 [runnable]:
      github.com/mongodb/mongo-tools/mongoimport.func┬╖005()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/json.go:126 +0x565
      created by github.com/mongodb/mongo-tools/mongoimport.(*JSONInputReader).StreamDocument
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/json.go:129 +0x14c

      goroutine 82 [semacquire]:
      sync.runtime_Semacquire(0xc08208c3a0)
      C:/Users/gopher/AppData/Local/Temp/1/makerelease745458658/go/src/pkg/runtime/sema.goc:199 +0x37
      sync.(*WaitGroup).Wait(0xc0820903c0)
      C:/go/src/pkg/sync/waitgroup.go:129 +0x152
      github.com/mongodb/mongo-tools/mongoimport.streamDocuments(0x0, 0x4, 0xc0820126e0, 0xc0820cc000, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:283 +0x3f6
      github.com/mongodb/mongo-tools/mongoimport.func┬╖006()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/json.go:133 +0x63
      created by github.com/mongodb/mongo-tools/mongoimport.(*JSONInputReader).StreamDocument
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/json.go:134 +0x19d

      goroutine 66 [running]:
      goroutine running on other thread; stack unavailable
      created by github.com/mongodb/mongo-tools/mongoimport.streamDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:275 +0x36c

      goroutine 67 [running]:
      goroutine running on other thread; stack unavailable
      created by github.com/mongodb/mongo-tools/mongoimport.streamDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:275 +0x36c

      goroutine 69 [runnable]:
      github.com/mongodb/mongo-tools/mongoimport.(*importWorker).processDocuments(0xc0820904e0, 0xc082090400, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:375 +0x249
      github.com/mongodb/mongo-tools/mongoimport.func┬╖002(0xc0820126e0, 0xc0820cc000, 0xc082092300)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:268 +0xa9
      created by github.com/mongodb/mongo-tools/mongoimport.streamDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:275 +0x36c
      panic: interface conversion: interface is string, not json.Number [recovered]
      panic: interface conversion: interface is string, not json.Number

      goroutine 67 [running]:
      runtime.panic(0x8015c0, 0xc0820b4100)
      C:/go/src/pkg/runtime/panic.c:279 +0x11f
      github.com/mongodb/mongo-tools/common/json.func┬╖002()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:181 +0x8b
      runtime.panic(0x8015c0, 0xc0820b4100)
      C:/go/src/pkg/runtime/panic.c:248 +0x1d3
      github.com/mongodb/mongo-tools/common/json.(*decodeState).getNumberLong(0xc0820b2200, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/number.go:110 +0x1a2
      github.com/mongodb/mongo-tools/common/json.(*decodeState).getExtendedLiteral(0xc0820b2200, 0xc08200a8ea, 0xa, 0x11, 0x0, 0x0, 0x315e00)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/mongo_extjson.go:305 +0x494
      github.com/mongodb/mongo-tools/common/json.(*decodeState).literalInterface(0xc0820b2200, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:1137 +0x36d
      github.com/mongodb/mongo-tools/common/json.(*decodeState).valueInterface(0xc0820b2200, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:980 +0x62
      github.com/mongodb/mongo-tools/common/json.(*decodeState).bsonDInterface(0xc0820b2200, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:1044 +0x265
      github.com/mongodb/mongo-tools/common/json.(*decodeState).bsonDocument(0xc0820b2200, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:358 +0x6b
      github.com/mongodb/mongo-tools/common/json.(*decodeState).unmarshalBsonD(0xc0820b2200, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:190 +0x12d
      github.com/mongodb/mongo-tools/common/json.UnmarshalBsonD(0xc08200a8c0, 0x3b, 0x3b, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:107 +0x157
      github.com/mongodb/mongo-tools/mongoimport.JSONConverter.Convert(0xc08200a8c0, 0x3b, 0x3b, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/json.go:142 +0x86
      github.com/mongodb/mongo-tools/mongoimport.(*JSONConverter).Convert(0xc0820e8060, 0x0, 0x0, 0x0, 0x0, 0x0)
      <autogenerated>:8 +0xc5
      github.com/mongodb/mongo-tools/mongoimport.(*importWorker).processDocuments(0xc0820904a0, 0xc082090400, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:380 +0x145
      github.com/mongodb/mongo-tools/mongoimport.func┬╖002(0xc0820126e0, 0xc0820cc000, 0xc082092300)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:268 +0xa9
      created by github.com/mongodb/mongo-tools/mongoimport.streamDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:275 +0x36c
      panic: interface conversion: interface is string, not json.Number [recovered]
      panic: interface conversion: interface is string, not json.Number

      goroutine 66 [running]:
      runtime.panic(0x8015c0, 0xc082072040)
      C:/go/src/pkg/runtime/panic.c:279 +0x11f
      github.com/mongodb/mongo-tools/common/json.func┬╖002()
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:181 +0x8b
      runtime.panic(0x8015c0, 0xc082072040)
      C:/go/src/pkg/runtime/panic.c:248 +0x1d3
      github.com/mongodb/mongo-tools/common/json.(*decodeState).getNumberLong(0xc0820e2000, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/number.go:110 +0x1a2
      github.com/mongodb/mongo-tools/common/json.(*decodeState).getExtendedLiteral(0xc0820e2000, 0xc08200a8a7, 0xa, 0x13, 0x0, 0x0, 0x317400)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/mongo_extjson.go:305 +0x494
      github.com/mongodb/mongo-tools/common/json.(*decodeState).literalInterface(0xc0820e2000, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:1137 +0x36d
      github.com/mongodb/mongo-tools/common/json.(*decodeState).valueInterface(0xc0820e2000, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:980 +0x62
      github.com/mongodb/mongo-tools/common/json.(*decodeState).bsonDInterface(0xc0820e2000, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:1044 +0x265
      github.com/mongodb/mongo-tools/common/json.(*decodeState).bsonDocument(0xc0820e2000, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:358 +0x6b
      github.com/mongodb/mongo-tools/common/json.(*decodeState).unmarshalBsonD(0xc0820e2000, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:190 +0x12d
      github.com/mongodb/mongo-tools/common/json.UnmarshalBsonD(0xc08200a880, 0x3a, 0x3a, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/json/decode.go:107 +0x157
      github.com/mongodb/mongo-tools/mongoimport.JSONConverter.Convert(0xc08200a880, 0x3a, 0x3a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/json.go:142 +0x86
      github.com/mongodb/mongo-tools/mongoimport.(*JSONConverter).Convert(0xc082005e80, 0x0, 0x0, 0x0, 0x0, 0x0)
      <autogenerated>:8 +0xc5
      github.com/mongodb/mongo-tools/mongoimport.(*importWorker).processDocuments(0xc082090480, 0xc082090400, 0x0, 0x0)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:380 +0x145
      github.com/mongodb/mongo-tools/mongoimport.func┬╖002(0xc0820126e0, 0xc0820cc000, 0xc082092300)
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:268 +0xa9
      created by github.com/mongodb/mongo-tools/mongoimport.streamDocuments
      C:/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoimport/common.go:275 +0x36c

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevinl Kevin Liew
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: