[jbosstools-issues] [JBoss JIRA] (JBIDE-19324) Arquillian core freezes Eclipse startup

Snjezana Peco (JIRA) issues at jboss.org
Sun Mar 15 12:51:19 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050273#comment-13050273 ] 

Snjezana Peco edited comment on JBIDE-19324 at 3/15/15 12:51 PM:
-----------------------------------------------------------------

{quote}
looks like the model is depending on fetching data from a remote URL - that needs to be prevented/cached. 
{quote}

We try to cache the  https://raw.github.com/forge/plugin-arquillian/master/src/main/resources/containers.json URL, but Github returns 0 for the getLastModified method so such URLs can't be cached.



{quote}
I've just checked and the issue is not present in JBT 4.2.2. 
{quote}

Starting Eclipse has been changed in Mars. 
There are the following steps when starting Luna:

- WorkbenchAdvisor.preStartup()
- WorkbenchAdvisor.postStartup()
- initialization of editors

The order of the steps has been changed in Mars:

- WorkbenchAdvisor.preStartup()
- initialization of editors
- WorkbenchAdvisor.postStartup()

Since JobManager is suspended in the preStartup method (and resumed in the postStartup method), every editor (and, probably, a view) that uses the job engine can face issues.

The PR fixes the issue in the arquillian component.


was (Author: snjeza):
{quote}
looks like the model is depending on fetching data from a remote URL - that needs to be prevented/cached. 
{quote}

We try to cache the  https://raw.github.com/forge/plugin-arquillian/master/src/main/resources/containers.json URL, but Github returns 0 for the getLastModified method so such URLs can't be cached.

{quote}
I've just checked and the issue is not present in JBT 4.2.2. 
{quote}

Starting Eclipse has been changed in Mars. 
There are the following steps when starting Luna:

- WorkbenchAdvisor.preStartup()
- WorkbenchAdvisor.postStartup()
- initialization of editors

The order of the steps has been changed in Mars:

- WorkbenchAdvisor.preStartup()
- initialization of editors
- WorkbenchAdvisor.postStartup()

Since JobManager is suspended in the preStartup method (and resumed in the postStartup method), every editor (and, probably, a view) that uses the job engine can face issues.

The PR fixes the issue in the arquillian component.

> Arquillian core freezes Eclipse startup
> ---------------------------------------
>
>                 Key: JBIDE-19324
>                 URL: https://issues.jboss.org/browse/JBIDE-19324
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: testing-tools
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Lucia Jelinkova
>            Assignee: Snjezana Peco
>            Priority: Blocker
>             Fix For: 4.3.0.Alpha2
>
>         Attachments: dump.txt, restart.ogv
>
>
> When I have arquillian.xml with at least one container defined and I open it with Arquillian editor and restart Eclipse, the Eclipse wont start and it freezes on loading arquillian core plugin (see screencast).
> I am also attaching thread dump (thanks to [~rhopp])



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list