Ticket #34 (closed defect: fixed)

Opened 18 months ago

Last modified 14 months ago

terminating abort is occurred when scripting job is canceled

Reported by: kompiro Owned by: kompiro
Priority: critical Milestone: 0.9.1
Component: Scripting Version: 0.9.0
Keywords: Cc:

Description (last modified by kompiro) (diff)

ScriptingService? is executed by Job.User can cancel running script and the service is sometimes canceled by user.But now, it is not handled in ScriptingService?.

repro


  1. start script
  2. cancel from ProgressView?
  3. exit JAMCircle from menu.(But the job is still runnning, because it isn't handle.)
  4. on Mac, it shows error message like below
Job found still running after platform shutdown.  Jobs should be canceled by the plugin that scheduled them during shutdown: org.kompiro.jamcircle.kanban.ui.util.JobMonitorDelegator$1
Exception in thread "main" java.lang.SecurityException
2010-08-25 06:01:55.933 java[6478:a07] An uncaught exception was raised
2010-08-25 06:01:55.934 java[6478:a07] Java exception occurred
	at org.kompiro.jamcircle.scripting.internal.ScriptingServiceImpl$SecurityManagerExtension.checkExit(ScriptingServiceImpl.java:24)
	at java.lang.Runtime.exit(Runtime.java:88)
	at java.lang.System.exit(System.java:921)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1391)
2010-08-25 06:01:55.963 java[6478:a07] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Java exception occurred'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x92dd2bba __raiseError + 410
	1   libobjc.A.dylib                     0x96238509 objc_exception_throw + 56
	2   CoreFoundation                      0x92e1d9f1 -[NSException raise] + 17
	3   libswt-cocoa-3650.jnilib            0x4978cef8 callback + 1179
	4   ???                                 0x498161d8 0x0 + 1233215960
	5   CoreFoundation                      0x92d6d718 -[NSArray makeObjectsPerformSelector:withObject:] + 600
	6   AppKit                              0x98afcb06 -[NSLayoutManager setTextStorage:] + 1018
	7   AppKit                              0x98c23653 -[NSTextStorage dealloc] + 101
	8   AppKit                              0x98c235c2 -[NSConcreteTextStorage dealloc] + 69
	9   AppKit                              0x98b11e82 -[NSTextView release] + 485
	10  Foundation                          0x9161ca3c __delayedPerformCleanup + 59
	11  CoreFoundation                      0x92d826e2 CFRunLoopTimerInvalidate + 786
	12  CoreFoundation                      0x92d3dabb __CFRunLoopRun + 9003
	13  CoreFoundation                      0x92d3b094 CFRunLoopRunSpecific + 452
	14  CoreFoundation                      0x92d3aec1 CFRunLoopRunInMode + 97
	15  java                                0x00004e52 0x0 + 20050
	16  java                                0x000045a3 0x0 + 17827
	17  java                                0x00001d59 0x0 + 7513
)

Change History

Changed 18 months ago by kompiro

  • description modified (diff)

Changed 17 months ago by kompiro

  • status changed from new to closed
  • resolution set to fixed

Changed 17 months ago by kompiro

fixed by improving SecrityException? handling.

Changed 14 months ago by kompiro

  • milestone changed from 0.10.0 to 0.9.1
Note: See TracTickets for help on using tickets.