Ticket #1930 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

Description

During startup IJ2 barfs an exception related to legacy initialization:

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

at com.apple.eawt._AppEventLegacyHandler.checkIfLegacyAPIBlocked(_AppEventLegacyHandler.java:35)
at com.apple.eawt._AppEventLegacyHandler.addLegacyAppListener(_AppEventLegacyHandler.java:39)
at com.apple.eawt.Application.addApplicationListener(Application.java:391)
at MacAdapter.run(MacAdapter.java:15)
at ij.IJ.runUserPlugIn(IJ.java:194)
at ij.IJ.runPlugIn(IJ.java:160)
at ij.IJ.runPlugIn(IJ.java:149)
at ij.ImageJ.<init>(ImageJ.java:199)
at ij.ImageJ.<init>(ImageJ.java:125)
at imagej.legacy.IJ1Helper.initialize(IJ1Helper.java:71)
at imagej.legacy.DefaultLegacyService.initialize(DefaultLegacyService.java:373)
at org.scijava.service.ServiceHelper.createService(ServiceHelper.java:224)
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:176)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:155)
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:126)
at org.scijava.Context.<init>(Context.java:162)
at org.scijava.Context.<init>(Context.java:120)
at org.scijava.Context.<init>(Context.java:81)
at org.scijava.Context.<init>(Context.java:71)
at imagej.ImageJ.<init>(ImageJ.java:97)
at imagej.Main.launch(Main.java:56)
at imagej.Main.main(Main.java:68)

Change History

comment:1 Changed 6 years ago by bdezonia

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

comment:2 Changed 6 years ago by curtis

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

Fixed in 4265aaad.

Last edited 6 years ago by curtis (previous) (diff)
Note: See TracTickets for help on using tickets.