Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337165 - Calling GEM when ISP not installed gives stuck dialog
Summary: Calling GEM when ISP not installed gives stuck dialog
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: GEM (show other bugs)
Version: 4.0.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-14 15:35 EST by Beth Tibbitts CLA
Modified: 2011-05-14 06:45 EDT (History)
1 user (show)

See Also:


Attachments
This patch fixes the reported bug (3.42 KB, patch)
2011-02-15 17:51 EST, Alan Humphrey CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Tibbitts CLA 2011-02-14 15:35:08 EST
Call GEM (Formally Verify...)  which correctly reports that ISP is not installed.
But if you do it again, it has a dialog that gets stuck saying one analysis has not completed yet.

Dialog says "An analysis is correctly in progress.  Please wait until it completes or manually abort it before stating a new one."  This Dialog has an OK button but I get the Mac wait-icon (spinning beach ball) and I cannot kill it.

I also get this in the console:
Exception in thread "Thread-18" java.lang.NullPointerException
	at java.io.StringReader.<init>(StringReader.java:33)
	at java.util.Scanner.<init>(Scanner.java:665)
	at org.eclipse.ptp.gem.util.GemUtilities.getIspVersion(GemUtilities.java:416)
	at org.eclipse.ptp.gem.util.GemUtilities.hasCorrectIspVersion(GemUtilities.java:572)
	at org.eclipse.ptp.gem.util.GemUtilities.access$2(GemUtilities.java:571)
	at org.eclipse.ptp.gem.util.GemUtilities$2.run(GemUtilities.java:639)
2011-02-14 15:32:42.806 eclipse[13655:18923] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x14780d370> '(null)') unlocked when not locked
2011-02-14 15:32:42.813 eclipse[13655:18923] *** Break on _NSLockError() to debug.

Assuming this is also true on 5.0
Comment 1 Alan Humphrey CLA 2011-02-15 17:48:23 EST
Assigning to Alan Humphrey.
Comment 2 Alan Humphrey CLA 2011-02-15 17:51:47 EST
Created attachment 189055 [details]
This patch fixes the reported bug

Will apply this patch to HEAD and ptp_4_0 branch.
Comment 3 Alan Humphrey CLA 2011-02-15 18:03:53 EST
Applied patch to HEAD and ptp_4_0 branch.