After introducing custom peaks to various of the graphs and re-clicking fit, the graphs will not modify with the custom peaks included. The issue resolved itself after several attempts and re-starting the app.
The following script was displayed
[INFO] Gel Lanes Fit
[INFO] Gel Lanes Fit 1.0.5
[INFO] Loading gel-lanes-fit\data\2019_01_11\saved-state.bak ...
[INFO] Saving to gel-lanes-fit\data\2019_01_11\saved-state.bak ...
[INFO] Lane 1, RMS: 0.2374;
[INFO] Saving to gel-lanes-fit\data\2019_01_11\Fit of 2019_01_11 A100-18 polyprop 4 hrs.xls ...
[INFO] Lane 5, RMS: 0.2302;
[INFO] Lane 2, RMS: 0.1501;
[INFO] Lane 12, RMS: 0.2371;
[INFO] Lane 7, RMS: 0.2618;
[INFO] Lane 11, RMS: 0.2468;
[INFO] Lane 3, RMS: 0.1411;
[INFO] Lane 13, RMS: 0.2390;
[INFO] Lane 4, RMS: 0.0947;
[INFO] Lane 6, RMS: 0.1535;
[INFO] Lane 10, RMS: 0.1601;
[INFO] Lane 8, RMS: 0.4253;
[INFO] Lane 9, RMS: 0.4102;
[INFO] Time elapsed: 0.1 s
[INFO] Saving to gel-lanes-fit\data\2019_01_11\Fit of 2019_01_11 A100-18 polyprop 4 hrs.xls ...
[INFO] Custom Peak not added: 10, 2039.8338578106384, 333.81561822125815
[INFO] Custom Peak added: 10, 2039.8338578106384, 333.81561822125815
[INFO] Custom Peak added: 11, 2066.154318535944, 274.59652928416483
[INFO] Custom Peak added: 5, 2029.9360850569797, 337.1995661605206
[INFO] Lane 1, RMS: 0.2374;
[INFO] Saving to gel-lanes-fit\data\2019_01_11\Fit of 2019_01_11 A100-18 polyprop 4 hrs.xls ...
[INFO] [LANE 11] Peak guess: 112.35211267605632, 273.0, 1.6986436005760381
[INFO] Replaced with: 2066.154318535944, 274.59652928416483, 2.1233045007200477
[INFO] Lane 12, RMS: 0.2371;
[INFO] Lane 2, RMS: 0.1501;
[INFO] Lane 4, RMS: 0.0947;
[INFO] Lane 5, RMS: 0.2207;
[INFO] Lane 11, RMS: 0.2385;
[INFO] Lane 13, RMS: 0.2390;
[INFO] Lane 3, RMS: 0.1411;
[INFO] Lane 6, RMS: 0.1535;
[INFO] Lane 10, RMS: 0.1529;
[INFO] Lane 8, RMS: 0.4253;
[INFO] Lane 9, RMS: 0.4102;
Exception in thread "AWT-EventQueue-0" java.util.ConcurrentModificationException: java.util.ConcurrentModificationException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:735)
at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:583)
at gellanesfit.Fitter.doFit(Fitter.java:455)
at gellanesfit.MainDialog.actionPerformed(MainDialog.java:1459)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
at java.util.ArrayList$Itr.next(ArrayList.java:859)
at gellanesfit.Fitter.doFit(Fitter.java:546)
at gellanesfit.Fitter.doFit(Fitter.java:474)
at gellanesfit.Fitter.lambda$doFit$0(Fitter.java:456)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
After introducing custom peaks to various of the graphs and re-clicking fit, the graphs will not modify with the custom peaks included. The issue resolved itself after several attempts and re-starting the app.
The following script was displayed [INFO] Gel Lanes Fit [INFO] Gel Lanes Fit 1.0.5 [INFO] Loading gel-lanes-fit\data\2019_01_11\saved-state.bak ... [INFO] Saving to gel-lanes-fit\data\2019_01_11\saved-state.bak ... [INFO] Lane 1, RMS: 0.2374; [INFO] Saving to gel-lanes-fit\data\2019_01_11\Fit of 2019_01_11 A100-18 polyprop 4 hrs.xls ... [INFO] Lane 5, RMS: 0.2302; [INFO] Lane 2, RMS: 0.1501; [INFO] Lane 12, RMS: 0.2371; [INFO] Lane 7, RMS: 0.2618; [INFO] Lane 11, RMS: 0.2468; [INFO] Lane 3, RMS: 0.1411; [INFO] Lane 13, RMS: 0.2390; [INFO] Lane 4, RMS: 0.0947; [INFO] Lane 6, RMS: 0.1535; [INFO] Lane 10, RMS: 0.1601; [INFO] Lane 8, RMS: 0.4253; [INFO] Lane 9, RMS: 0.4102; [INFO] Time elapsed: 0.1 s
[INFO] Saving to gel-lanes-fit\data\2019_01_11\Fit of 2019_01_11 A100-18 polyprop 4 hrs.xls ... [INFO] Custom Peak not added: 10, 2039.8338578106384, 333.81561822125815 [INFO] Custom Peak added: 10, 2039.8338578106384, 333.81561822125815 [INFO] Custom Peak added: 11, 2066.154318535944, 274.59652928416483 [INFO] Custom Peak added: 5, 2029.9360850569797, 337.1995661605206 [INFO] Lane 1, RMS: 0.2374; [INFO] Saving to gel-lanes-fit\data\2019_01_11\Fit of 2019_01_11 A100-18 polyprop 4 hrs.xls ... [INFO] [LANE 11] Peak guess: 112.35211267605632, 273.0, 1.6986436005760381 [INFO] Replaced with: 2066.154318535944, 274.59652928416483, 2.1233045007200477 [INFO] Lane 12, RMS: 0.2371; [INFO] Lane 2, RMS: 0.1501; [INFO] Lane 4, RMS: 0.0947; [INFO] Lane 5, RMS: 0.2207; [INFO] Lane 11, RMS: 0.2385; [INFO] Lane 13, RMS: 0.2390; [INFO] Lane 3, RMS: 0.1411; [INFO] Lane 6, RMS: 0.1535; [INFO] Lane 10, RMS: 0.1529; [INFO] Lane 8, RMS: 0.4253; [INFO] Lane 9, RMS: 0.4102; Exception in thread "AWT-EventQueue-0" java.util.ConcurrentModificationException: java.util.ConcurrentModificationException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593) at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677) at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:735) at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:583) at gellanesfit.Fitter.doFit(Fitter.java:455) at gellanesfit.MainDialog.actionPerformed(MainDialog.java:1459) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6539) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6304) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) at java.util.ArrayList$Itr.next(ArrayList.java:859) at gellanesfit.Fitter.doFit(Fitter.java:546) at gellanesfit.Fitter.doFit(Fitter.java:474) at gellanesfit.Fitter.lambda$doFit$0(Fitter.java:456) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)