Ticket #1184 (closed defect: fixed)
Opened 2012-05-16T13:30:51-05:00
Last modified 2012-05-16T15:20:46-05:00
Memory options crashes
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Core | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Open OptionsMemoryAndThreads. An exception is thrown. This might only happen after you have set the options at least once so the ImageJ.cfg file exists but I'm not sure. It looks like the persistence changes that were just made were incomplete.
[WARN ] Cannot convert 'imagej.event.DefaultEventService@4ac194ad' to imagej.event.EventService
java.lang.NoSuchMethodException: imagej.event.EventService.<init>(java.lang.String)
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getConstructor(Class.java:1657)
at imagej.util.ClassUtils.convert(ClassUtils.java:103)
at imagej.ext.module.AbstractModuleItem.loadValue(AbstractModuleItem.java:149)
at imagej.options.OptionsPlugin.loadInput(OptionsPlugin.java:128)
at imagej.options.OptionsPlugin.load(OptionsPlugin.java:94)
at imagej.options.plugins.OptionsMemoryAndThreads.load(OptionsMemoryAndThreads.java:84)
at imagej.options.plugins.OptionsMemoryAndThreads.<init>(OptionsMemoryAndThreads.java:78)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at imagej.ext.plugin.PluginInfo.createInstance(PluginInfo.java:177)
at imagej.options.OptionsService.createInstance(OptionsService.java:187)
at imagej.options.OptionsService.getOptions(OptionsService.java:101)
at imagej.legacy.OptionsSynchronizer.memoryAndThreadsOptions(OptionsSynchronizer.java:271)
at imagej.legacy.OptionsSynchronizer.updateIJ1SettingsFromIJ2(OptionsSynchronizer.java:105)
at imagej.legacy.LegacyService.updateIJ1Settings(LegacyService.java:213)
at imagej.legacy.LegacyService.<init>(LegacyService.java:141)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at imagej.service.ServiceHelper.createService(ServiceHelper.java:186)
at imagej.service.ServiceHelper.createExactService(ServiceHelper.java:150)
at imagej.service.ServiceHelper.loadService(ServiceHelper.java:132)
at imagej.service.ServiceHelper.loadServices(ServiceHelper.java:110)
at imagej.ImageJ.createContext(ImageJ.java:115)
at imagej.ImageJ.createContext(ImageJ.java:64)
at imagej.Main.main(Main.java:52)
Change History
comment:1 Changed 2012-05-16T13:37:02-05:00 by bdezonia
- Owner changed from curtis to bdezonia
- Status changed from new to assigned
comment:2 Changed 2012-05-16T13:38:13-05:00 by bdezonia
- Status changed from assigned to closed
- Resolution set to fixed
Fixed with 4e4518725f61bc5e01c00678318750cf4fb4fad6. Apparently the return statement was missing.
comment:3 Changed 2012-05-16T15:20:46-05:00 by curtis
Wow, so embarrassing... thanks for the fix.