NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1930 (closed defect: fixed)

Opened 2013-06-26T13:28:00-05:00

Last modified 2013-06-26T16:10:33-05:00

Exception error during startup

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b8-analysis
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1457


During startup IJ2 barfs an exception related to legacy initialization:

[WARNING] Failed to instantiate IJ1.
java.lang.IllegalStateException: Cannot add after installing an app event handler

at ij.IJ.runUserPlugIn(
at ij.IJ.runPlugIn(
at ij.IJ.runPlugIn(
at ij.ImageJ.<init>(
at ij.ImageJ.<init>(
at imagej.legacy.IJ1Helper.initialize(
at imagej.legacy.DefaultLegacyService.initialize(
at org.scijava.service.ServiceHelper.createService(
at org.scijava.service.ServiceHelper.createExactService(
at org.scijava.service.ServiceHelper.loadService(
at org.scijava.service.ServiceHelper.loadServices(
at org.scijava.Context.<init>(
at org.scijava.Context.<init>(
at org.scijava.Context.<init>(
at org.scijava.Context.<init>(
at imagej.ImageJ.<init>(
at imagej.Main.launch(
at imagej.Main.main(

Change History

comment:1 Changed 2013-06-26T15:44:32-05:00 by bdezonia

  • Owner changed from dscho to bdezonia
  • Status changed from new to assigned

comment:2 Changed 2013-06-26T16:10:33-05:00 by curtis

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in 4265aaad.

Last edited 2013-06-26T16:10:43-05:00 by curtis