This occurred to me on ENVI for Mac (MacOS 13.3.1, ENVI 5.6.3, XQuartz 2.8.5). It took me a while to figure out why restoring a session file would cause ENVI to crash, so I am posting this here in case someone else runs into the same issue. Not sure if this issue happens on ENVI for Windows/Linux. Steps to reproduce: 1. Add an image (e.g. qb_boulder_msi) 2. From Annotations drop-down menu button select Text 3. Click on the image to create the Annotation layer but don't type any text or add any other annotations 4. Save the ENVI Session 5. Restore the ENVI Session To fix the session file, open the file with a text editor and delete the following entry: "layer001": { "name": "New Annotation", "data": { "uri": "", "type": "annotation" }, "hide": 0, "transparency": 0 },
|