[jbosstools-issues] [JBoss JIRA] (JBIDE-15068) Please wait while Hibernate Tools is being installed
Fred Bricon (JIRA)
jira-events at lists.jboss.org
Thu Jul 11 17:58:21 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-15068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789224#comment-12789224 ]
Fred Bricon commented on JBIDE-15068:
-------------------------------------
After adding some tracing to ForgeHiddenOutputFilter, I could see that the hibernate-tools is installed and at the end, forge fails to delete the git folder used to build the hibernate tools plugin :
{noformat}[31m***ERROR*** [mException encountered: failed to delete: C:\Users\FREDBR~1\AppData\Local\Temp\forgetemp5896222594789960720\.git\objects\pack\pack-6108a6c94947820b0a92711beb870b2b9e99cf65.pack (type "set VERBOSE true" to enable stack traces){noformat}
CommandResultListener.handleFilteredString() is waiting for a RESULT string to be able to release the lock (mutex) put to wait during command invocation. The forge runtime failure *may* prevent the mutex release.
So there are at least 2 things to do :
- Ensure CommandResultListener reacts properly to forge failures, so the mutex is released. I don't think we can fix the folder locking issue on windows, but I believe we can live with it.
- the sendCommand method should have an IProgressMonitor parameter, which would release the mutex on cancel.
> Please wait while Hibernate Tools is being installed
> ----------------------------------------------------
>
> Key: JBIDE-15068
> URL: https://issues.jboss.org/browse/JBIDE-15068
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.1.0.Beta2
> Environment: Windows 64-bit, 32-bit 1.6 JVM
> Linux 64-bit, 64-bit 1.7 JVM
> Reporter: Burr Sutter
> Assignee: Koen Aers
> Priority: Blocker
> Labels: respin-b
> Fix For: 4.1.0.CR1
>
> Attachments: 10244.txt, 2013-07-01_0837.png, 2013-07-01_0838.png, 2013-07-01_0838_001.png, jstack-eclipse.txt, jstack-forge.txt, jstack_eclipse.txt, jstack_forge.txt
>
>
> While attempting to use Forge Wizard Generate Entities, you first receive a Forge Starting message, then a Hibernate Tools message which hangs/locks up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list