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

panic in TestHandlingBSON

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      task: https://evergreen.mongodb.com/task/mongo_tools_osx_108_unit_91b7a7b31129e7d61696078897feefff090e621f_15_06_04_18_32_30
      logs: https://evergreen.mongodb.com/test_log/55709a9a3ff12266c200013c#L36

      details:

         * /data/mci/src/mongorestore/filepath_test.go 
         Line 172: - runtime error: invalid memory address or nil pointer dereference 
         goroutine 12 [running]:
         _/data/mci/src/mongorestore.(*MongoRestore).getInfoFromFilename(0xc2080951e0, 0x45ae370, 0x1d, 0x0, 0x0, 0xc2080019e1)
         	_/data/mci/src/mongorestore/_test/_obj_test/filepath.go:147 +0x4a2
         _/data/mci/src/mongorestore.(*MongoRestore).handleBSONInsteadOfDirectory(0xc2080951e0, 0x45ae370, 0x1d, 0x0, 0x0)
         	_/data/mci/src/mongorestore/_test/_obj_test/filepath.go:489 +0x8e
         _/data/mci/src/mongorestore.funcĀ·017()
         	/data/mci/src/mongorestore/filepath_test.go:172 +0x4a
         _/data/mci/src/mongorestore.TestHandlingBSON(0xc208071c20)
         	/data/mci/src/mongorestore/filepath_test.go:199 +0x1da
         testing.tRunner(0xc208071c20, 0x4d95190)
         	/usr/local/go/src/testing/testing.go:447 +0xbf
         created by testing.RunTests
         	/usr/local/go/src/testing/testing.go:555 +0xa8b
         
         goroutine 1 [chan receive]:
         testing.RunTests(0x4c2e110, 0x4d95160, 0x8, 0x8, 0xc20805be01)
         	/usr/local/go/src/testing/testing.go:556 +0xad6
         testing.(*M).Run(0xc20800aff0, 0x4daf340)
         	/usr/local/go/src/testing/testing.go:485 +0x6c
         main.main()
         	_/data/mci/src/mongorestore/_test/_testmain.go:122 +0x291
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: