Task #10235 (closed)
BUG:Editor NPE
Reported by: | omero-qa | Owned by: | jamoore |
---|---|---|---|
Priority: | blocker | Milestone: | OMERO-4.4.9 |
Component: | Insight | Version: | n.a. |
Keywords: | n.a. | Cc: | julio.mateos-langerak@…, jburel, seb.simard@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2013-05-07 (8) |
Description
https://www.openmicroscopy.org/qa2/qa2/qa/feedback/4865/
java.lang.Exception: Abnormal termination due to an uncaught exception. java.lang.NullPointerException at org.openmicroscopy.shoola.agents.editor.view.AutosaveRecovery.checkForRecoveredFiles(AutosaveRecovery.java:111) at org.openmicroscopy.shoola.agents.editor.EditorAgent.handleShowEditor(EditorAgent.java:291) at org.openmicroscopy.shoola.agents.editor.EditorAgent.activate(EditorAgent.java:390) at org.openmicroscopy.shoola.env.Container.activateAgents(Container.java:338) at org.openmicroscopy.shoola.env.Container.startService(Container.java:369) at org.openmicroscopy.shoola.env.init.Initializer.notifyEnd(Initializer.java:197) at org.openmicroscopy.shoola.env.Container.runStartupProcedure(Container.java:128) at org.openmicroscopy.shoola.env.Container.access$000(Container.java:76) at org.openmicroscopy.shoola.env.Container$1.run(Container.java:173) at java.lang.Thread.run(Unknown Source) Abnormal termination due to an uncaught exception. java.lang.NullPointerException at org.openmicroscopy.shoola.agents.editor.view.AutosaveRecovery.checkForRecoveredFiles(AutosaveRecovery.java:111) at org.openmicroscopy.shoola.agents.editor.EditorAgent.handleShowEditor(EditorAgent.java:291) at org.openmicroscopy.shoola.agents.editor.EditorAgent.activate(EditorAgent.java:390) at org.openmicroscopy.shoola.env.Container.activateAgents(Container.java:338) at org.openmicroscopy.shoola.env.Container.startService(Container.java:369) at org.openmicroscopy.shoola.env.init.Initializer.notifyEnd(Initializer.java:197) at org.openmicroscopy.shoola.env.Container.runStartupProcedure(Container.java:128) at org.openmicroscopy.shoola.env.Container.access$000(Container.java:76) at org.openmicroscopy.shoola.env.Container$1.run(Container.java:173) at java.lang.Thread.run(Unknown Source) Exception in thread "Initializer" at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:189) at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:287) at org.openmicroscopy.shoola.env.AbnormalExitHandler.doTermination(AbnormalExitHandler.java:146) at org.openmicroscopy.shoola.env.AbnormalExitHandler.terminate(AbnormalExitHandler.java:84) at org.openmicroscopy.shoola.env.RootThreadGroup.uncaughtException(RootThreadGroup.java:69) at java.lang.Thread.dispatchUncaughtException(Unknown Source)
Change History (7)
comment:1 Changed 11 years ago by jburel
- Component changed from from QA to Insight
- Milestone changed from Unscheduled to OMERO-4.5
- Priority changed from minor to major
- Sprint set to Bugs Fixing
comment:2 Changed 11 years ago by jburel
- Sprint changed from Bugs Fixing to 2013-04-09 (7))
Moved from sprint Bugs Fixing
comment:3 Changed 11 years ago by jburel
- Sprint changed from 2013-04-09 (7)) to 2013-05-07 (8)
Moved from sprint 2013-04-09 (7))
comment:4 Changed 11 years ago by jamoore
- Cc seb.simard@… added
- Milestone changed from OMERO-4.4.x to OMERO-4.4.9
- Owner changed from wmoore to jamoore
- Priority changed from major to blocker
- Status changed from new to accepted
This NPE is caused by:
int fileCount = recoveredFiles.length;
and should be trivially to workaround. Marking as blocker so that it doesn't get forgotten in the next release. Also requested more information from Sébastien.
comment:5 Changed 11 years ago by jamoore
- Resolution set to fixed
- Status changed from accepted to closed
comment:6 Changed 11 years ago by jmoore <josh@…>
- Remaining Time set to 0
(In [8dcc752608e2cc67f2af6df100ce0d4b2cb2ac4b/ome.git] on branch develop) Fix NPE during Editor startup in AutosaveRecovery?.java (Fix #10235)
comment:7 Changed 11 years ago by Josh Moore <josh@…>
(In [39d0f2033c9d606aa12bec41ddfe744f486bb9e1/ome.git] on branch develop) Merge pull request #1144 from joshmoore/rebased/develop/10235-npe-editor
Fix NPE during Editor startup in AutosaveRecovery?.java (Fix #10235) (rebased onto develop)
https://www.openmicroscopy.org/qa2/qa/feedback/4941/