Solr Error. Cannot open case

Hello. I have been using Autopsy for months on the same case. Recently, I am unable to open up my case. It gives me an error that reads:

Could not close case resources for Solr Keyword Search Service service: java.lang.NullPointerException

I am running as a single user and everything is running on the same PC. Any help would be greatly appreciated.

You are going to need to provide more information for people to be able to possibly provide help.
There should be more information about the NullPointerException in the autopsy.log files in %APPDATA%\autopsy\var\log (assuming you are running on Windows) and in your case output folder under “Log”.

Here is a file from my Log folder:

2020-01-20 12:38:36.612 org.sleuthkit.autopsy.casemodule.Case closeAppServiceCaseResources
SEVERE: Solr Keyword Search Service service failed to open case resources
java.util.concurrent.ExecutionException: java.lang.NullPointerException
java.util.concurrent.FutureTask.report(FutureTask.java:122)
java.util.concurrent.FutureTask.get(FutureTask.java:192)
org.sleuthkit.autopsy.casemodule.Case.closeAppServiceCaseResources(Case.java:2487)
org.sleuthkit.autopsy.casemodule.Case.close(Case.java:2436)
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1906)
org.sleuthkit.autopsy.casemodule.Case.lambda$open$5(Case.java:1779)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
java.lang.NullPointerException
java.util.concurrent.FutureTask.report(FutureTask.java:122)
java.util.concurrent.FutureTask.get(FutureTask.java:192)
org.sleuthkit.autopsy.casemodule.Case.closeAppServiceCaseResources(Case.java:2487)
org.sleuthkit.autopsy.casemodule.Case.close(Case.java:2436)
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1906)
org.sleuthkit.autopsy.casemodule.Case.lambda$open$5(Case.java:1779)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Is there anything else in the log? At the point where this NPE happens, it seems like something has already gone wrong in opening the case and that’s why we’re trying to close the case resources.

That is all that is in the log folder - the one in the AppData looks like this:

2020-01-20 12:43:39.754 org.sleuthkit.autopsy.casemodule.Case openAsCurrentCase
SEVERE: Error opening Josh Guimond (josh_guimond_20190514_081458) in C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond as the current case
org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
java.util.concurrent.ExecutionException: org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sleuthkit.datamodel.TskCoreException: Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sqlite.SQLiteException: [SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed)
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
2020-01-20 12:43:39.77 org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel lambda$null$0
SEVERE: Error opening case with metadata file path C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\Josh Guimond.aut
org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
java.util.concurrent.ExecutionException: org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sleuthkit.datamodel.TskCoreException: Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sqlite.SQLiteException: [SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed)
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
2020-01-20 12:47:36.074 org.sleuthkit.autopsy.keywordsearch.Server stop
INFO: Stopping Solr server from: C:\Program Files\Autopsy-4.13.0\autopsy\solr
2020-01-20 12:47:36.075 org.sleuthkit.autopsy.keywordsearch.Server runSolrCommand
INFO: Running Solr command: [C:\Program Files\Autopsy-4.13.0\jre\bin\java, -Xmx512m, -DSTOP.PORT=34343, -Djetty.port=23232, -DSTOP.KEY=jjk#09s, -jar, start.jar, --stop]
2020-01-20 12:47:36.159 org.sleuthkit.autopsy.keywordsearch.Server runSolrCommand
INFO: Finished running Solr command
2020-01-20 12:47:36.159 org.sleuthkit.autopsy.keywordsearch.Server stop
INFO: Waiting for Solr server to stop
2020-01-20 12:47:37.258 org.sleuthkit.autopsy.keywordsearch.Server stop
INFO: Finished stopping Solr server
2020-01-20 12:47:37.258 org.sleuthkit.autopsy.core.Installer
INFO: core installer created
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.coreutils.Installer close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.corecomponents.Installer close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.datamodel.Installer close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.ingest.Installer close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer close()
2020-01-20 12:47:38.521 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.healthmonitor.Installer close()

Have you recently upgraded Autopsy? We recently found a bug when upgrading older case databases.

The error first occurred with version 4.11. I upgraded to version 4.13 hoping it would fix the problem. It unfortunately did not.

Ok so it sounds like you were using 4.11 and it was working fine on your case until one day you couldn’t open your case anymore, so you tried upgrading to 4.13.

Unfortunately it’s never going to work in 4.13 due to a bug in the upgrade code (though I’m not sure if that’s the error we’re looking at in your logs). 4.14 will be out soon so you could wait and try again with that. You could also run in 4.11 again and see what the errors look like in the logs when you try to open a case.

Error in 4.11:

2020-01-21 12:46:53.514 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: Visual C Runtime libraries loaded
2020-01-21 12:46:53.677 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: ZLIB library loaded loaded
2020-01-21 12:46:53.851 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: EWF library loaded
2020-01-21 12:46:54.031 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: VMDK library loaded
2020-01-21 12:46:54.204 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: VHDI library loaded
2020-01-21 12:46:54.368 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: MSVCR 120 library loaded
2020-01-21 12:46:54.653 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: LIBEAY32 library loaded
2020-01-21 12:46:54.722 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: SSLEAY32 library loaded
2020-01-21 12:46:54.867 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: libiconv-2 library loaded
2020-01-21 12:46:55.082 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: libintl-8 library loaded
2020-01-21 12:46:55.319 org.sleuthkit.autopsy.core.Installer loadDynLibraries
INFO: LIBPQ library loaded
2020-01-21 12:46:55.321 org.sleuthkit.autopsy.core.Installer
INFO: core installer created
2020-01-21 12:46:55.624 org.sleuthkit.autopsy.core.Installer validate
INFO: validate()
2020-01-21 12:46:55.624 org.sleuthkit.autopsy.core.Installer validate
INFO: org.sleuthkit.autopsy.coreutils.Installer validate()
2020-01-21 12:46:55.624 org.sleuthkit.autopsy.core.Installer validate
INFO: org.sleuthkit.autopsy.corecomponents.Installer validate()
2020-01-21 12:46:55.624 org.sleuthkit.autopsy.core.Installer validate
INFO: org.sleuthkit.autopsy.datamodel.Installer validate()
2020-01-21 12:46:57.154 org.sleuthkit.autopsy.core.Installer validate
INFO: org.sleuthkit.autopsy.ingest.Installer validate()
2020-01-21 12:46:57.154 org.sleuthkit.autopsy.core.Installer validate
INFO: org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer validate()
2020-01-21 12:46:57.155 org.sleuthkit.autopsy.core.Installer validate
INFO: org.sleuthkit.autopsy.healthmonitor.Installer validate()
2020-01-21 12:47:07.103 org.sleuthkit.autopsy.core.Installer
INFO: core installer created
2020-01-21 12:47:11.817 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: Default charset: windows-1252
2020-01-21 12:47:11.817 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: Default file encoding: Cp1252
2020-01-21 12:47:11.817 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: Java runtime version: 1.8.0_181-b13
2020-01-21 12:47:11.817 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: Netbeans Platform build: 201609300101
2020-01-21 12:47:11.817 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: Application name: Autopsy, version: 4.11.0, build: RELEASE
2020-01-21 12:47:11.818 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: os.name: Windows 10
2020-01-21 12:47:11.818 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: os.arch: x86
2020-01-21 12:47:12.186 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: PID: 5612
2020-01-21 12:47:12.36 org.sleuthkit.autopsy.coreutils.Installer restored
INFO: Process Virtual Memory Used: 1330937856
2020-01-21 12:47:12.36 org.sleuthkit.autopsy.core.Installer restored
INFO: org.sleuthkit.autopsy.coreutils.Installer restore succeeded
2020-01-21 12:47:12.362 org.sleuthkit.autopsy.core.Installer restored
INFO: org.sleuthkit.autopsy.corecomponents.Installer restore succeeded
2020-01-21 12:47:12.362 org.sleuthkit.autopsy.core.Installer restored
INFO: org.sleuthkit.autopsy.datamodel.Installer restore succeeded
2020-01-21 12:47:12.362 org.sleuthkit.autopsy.core.Installer restored
INFO: org.sleuthkit.autopsy.ingest.Installer restore succeeded
2020-01-21 12:47:12.371 org.sleuthkit.autopsy.core.Installer restored
INFO: org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer restore succeeded
2020-01-21 12:47:12.493 org.sleuthkit.autopsy.core.Installer restored
INFO: org.sleuthkit.autopsy.healthmonitor.Installer restore succeeded
2020-01-21 12:47:12.493 org.sleuthkit.autopsy.core.Installer restored
INFO: Autopsy Core restore completed
2020-01-21 12:47:12.592 org.sleuthkit.autopsy.keywordsearch.KeywordSearchSettings setDefaults
INFO: Detecting default settings.
2020-01-21 12:47:15.435 org.sleuthkit.autopsy.keywordsearch.Server
INFO: Created Server instance using Java at C:\Program Files (x86)\Autopsy-4.11.0\jre\bin\java
2020-01-21 12:47:15.459 org.sleuthkit.autopsy.keywordsearch.Server start
INFO: Starting Solr server from: C:\Program Files (x86)\Autopsy-4.11.0\autopsy\solr
2020-01-21 12:47:15.459 org.sleuthkit.autopsy.keywordsearch.Server start
INFO: Port [23,232] available, starting Solr
2020-01-21 12:47:15.475 org.sleuthkit.autopsy.keywordsearch.Server runSolrCommand
INFO: Running Solr command: [C:\Program Files (x86)\Autopsy-4.11.0\jre\bin\java, -Xmx512m, -DSTOP.PORT=34343, -Djetty.port=23232, -DSTOP.KEY=jjk#09s, -jar, start.jar, -Dbootstrap_confdir=…/solr/configsets/AutopsyConfig/conf, -Dcollection.configName=AutopsyConfig]
2020-01-21 12:47:15.984 org.sleuthkit.autopsy.keywordsearch.Server runSolrCommand
INFO: Finished running Solr command
2020-01-21 12:47:26.651 org.sleuthkit.autopsy.keywordsearch.Server start
INFO: New Solr process PID: [11408]
2020-01-21 12:47:32.812 org.sleuthkit.autopsy.casemodule.StartupWindowProvider init
INFO: Will use the default startup window: org.sleuthkit.autopsy.casemodule.StartupWindow[dialog0,0,0,477x321,invalid,hidden,layout=java.awt.BorderLayout,APPLICATION_MODAL,title=Welcome,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,8,31,461x282,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
2020-01-21 12:47:33.187 org.sleuthkit.autopsy.corecomponents.DataContentTopComponent findInstance
WARNING: Cannot find DataContentTopComponent component. It will not be located properly in the window system.
2020-01-21 12:47:33.359 org.sleuthkit.autopsy.corecomponents.DataContentViewerHex
INFO: Created HexView instance: org.sleuthkit.autopsy.corecomponents.DataContentViewerHex[,0,0,0x0,invalid,layout=javax.swing.GroupLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=100,height=58]]
2020-01-21 12:47:33.423 org.sleuthkit.autopsy.coreutils.StringExtract$StringExtractUnicodeTable init
INFO: initialized, unicode table loaded
2020-01-21 12:47:33.495 org.sleuthkit.autopsy.corecomponents.DataContentViewerString
INFO: Created StringView instance: org.sleuthkit.autopsy.corecomponents.DataContentViewerString[,0,0,0x0,invalid,layout=javax.swing.GroupLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=java.awt.Dimension[width=5,height=5],preferredSize=java.awt.Dimension[width=100,height=144]]
2020-01-21 12:47:34.261 org.sleuthkit.autopsy.contentviewers.MediaPlayerPanel initGst
INFO: Attempting initializing of gstreamer for video/audio viewing
2020-01-21 12:48:26.279 org.sleuthkit.autopsy.contentviewers.MediaFileViewer
INFO: Created MediaView instance: org.sleuthkit.autopsy.contentviewers.MediaFileViewer[,0,0,0x0,invalid,layout=java.awt.CardLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
2020-01-21 12:48:26.665 org.sleuthkit.autopsy.contentviewers.FileViewer
INFO: Created ApplicationContentViewer instance: org.sleuthkit.autopsy.contentviewers.FileViewer[,0,0,0x0,invalid,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
2020-01-21 12:48:30.422 org.sleuthkit.autopsy.corecomponents.DataContentTopComponent
INFO: Created DataContentTopComponent instance: org.sleuthkit.autopsy.corecomponents.DataContentTopComponent[Data Content,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=256,maximumSize=,minimumSize=,preferredSize=]
2020-01-21 12:48:34.438 org.sleuthkit.autopsy.corecomponents.DataContentTopComponent findInstance
WARNING: Cannot find DataContentTopComponent component. It will not be located properly in the window system.
2020-01-21 12:48:34.924 org.sleuthkit.autopsy.corecomponents.DataContentTopComponent findInstance
WARNING: Cannot find DataContentTopComponent component. It will not be located properly in the window system.
2020-01-21 12:48:38.073 org.sleuthkit.autopsy.casemodule.Case openAsCurrentCase
INFO: Opening Josh Guimond (josh_guimond_20190514_081458) in C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond as the current case

Was there anything after that last line? I don’t see any errors in that log.

2020-01-20 12:43:39.754 org.sleuthkit.autopsy.casemodule.Case openAsCurrentCase
SEVERE: Error opening Josh Guimond (josh_guimond_20190514_081458) in C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond as the current case
org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
java.util.concurrent.ExecutionException: org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sleuthkit.datamodel.TskCoreException: Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sqlite.SQLiteException: [SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed)
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
2020-01-20 12:43:39.77 org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel lambda$null$0
SEVERE: Error opening case with metadata file path C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\Josh Guimond.aut
org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
java.util.concurrent.ExecutionException: org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sleuthkit.autopsy.casemodule.CaseActionException: Failed to open case database:
Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db.
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sleuthkit.datamodel.TskCoreException: Failed to open case database at C:\Users\darkj\Desktop\Forensic Tools\Base\Josh Guimond\autopsy.db
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
org.sqlite.SQLiteException: [SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed)
org.sleuthkit.autopsy.casemodule.Case.open(Case.java:1845)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:819)
org.sleuthkit.autopsy.casemodule.Case.openAsCurrentCase(Case.java:631)
org.sleuthkit.autopsy.casemodule.OpenRecentCasePanel.lambda$openCase$1(OpenRecentCasePanel.java:143)
java.lang.Thread.run(Thread.java:748)
2020-01-20 12:47:36.074 org.sleuthkit.autopsy.keywordsearch.Server stop
INFO: Stopping Solr server from: C:\Program Files\Autopsy-4.13.0\autopsy\solr
2020-01-20 12:47:36.075 org.sleuthkit.autopsy.keywordsearch.Server runSolrCommand
INFO: Running Solr command: [C:\Program Files\Autopsy-4.13.0\jre\bin\java, -Xmx512m, -DSTOP.PORT=34343, -Djetty.port=23232, -DSTOP.KEY=jjk#09s, -jar, start.jar, --stop]
2020-01-20 12:47:36.159 org.sleuthkit.autopsy.keywordsearch.Server runSolrCommand
INFO: Finished running Solr command
2020-01-20 12:47:36.159 org.sleuthkit.autopsy.keywordsearch.Server stop
INFO: Waiting for Solr server to stop
2020-01-20 12:47:37.258 org.sleuthkit.autopsy.keywordsearch.Server stop
INFO: Finished stopping Solr server
2020-01-20 12:47:37.258 org.sleuthkit.autopsy.core.Installer
INFO: core installer created
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.coreutils.Installer close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.corecomponents.Installer close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.datamodel.Installer close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.ingest.Installer close()
2020-01-20 12:47:38.52 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer close()
2020-01-20 12:47:38.521 org.sleuthkit.autopsy.core.Installer close
INFO: org.sleuthkit.autopsy.healthmonitor.Installer close()

Version 4.14 did not work as well :frowning:

Your problem appears to be that the Autopsy SQLite database is corrupt so I doubt that any version of Autopsy will open it.

Depending on your level of technical expertise you could use sqlite3 (or some other SQLite client) and run PRAGMA integrity_check; on the database to see if it can provide more detail. A web search for “database disk image is malformed” will provide more information on this issue.

facing same problem… You got any solution? Someone please give solution