Discussion:
[jboss-user] [JBoss Tools] - JBoss Knowledge Base Builder hangs up
hd0815
2013-08-06 07:53:40 UTC
Permalink
hd0815 [https://community.jboss.org/people/hd0815] created the discussion

"JBoss Knowledge Base Builder hangs up"

To view the discussion, visit: https://community.jboss.org/message/831542#831542

--------------------------------------------------------------
Hi there.

It seems like JBoss Knowledge Base Builder hangs up repeatedly or is at least so slow that I think it hangs up. I haven't had this problem some time before and I'm not quite sure what causes this problem.Trying to cancel the invocation of the builder doesn't seem to have any effect. I have waited for about five minutes for the builder to come to an end. I have to kill the Java process via task manager in Windows.

I use Eclipse Juno Juno Service Release 2 Build 20130225-0426 and JBoss Tools 1.4.0.Final-v20130326-2027-B145. I have a huge workspace which might cause the builder to cause an overflow.

This problem occurs quite unsteady. I'll add the logs and my .ini file from Eclipse. Please let me know if I can provide more information.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831542#831542]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2013-08-06 14:24:02 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: JBoss Knowledge Base Builder hangs up"

To view the discussion, visit: https://community.jboss.org/message/831617#831617

--------------------------------------------------------------
Have you tried if it fails also with Kepler and latest JBoss Tools release ?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831617#831617]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Max Rydahl Andersen
2013-08-06 14:27:52 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: JBoss Knowledge Base Builder hangs up"

To view the discussion, visit: https://community.jboss.org/message/831619#831619

--------------------------------------------------------------
Oh - and if it still locks in latest version, could you run jstack against eclipse to get a threaddump so we can see where it is (dead/live) locked that would be great.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831619#831619]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
hd0815
2013-08-22 07:37:10 UTC
Permalink
hd0815 [https://community.jboss.org/people/hd0815] created the discussion

"Re: JBoss Knowledge Base Builder hangs up"

To view the discussion, visit: https://community.jboss.org/message/833488#833488

--------------------------------------------------------------
It crashed again yesterday. I've added a threaddump.

I wasn't able to switch to the newer version of Eclipse and JBT yet.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833488#833488]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
hd0815
2013-08-08 07:25:23 UTC
Permalink
hd0815 [https://community.jboss.org/people/hd0815] created the discussion

"Re: JBoss Knowledge Base Builder hangs up"

To view the discussion, visit: https://community.jboss.org/message/831877#831877

--------------------------------------------------------------
I'll add a thread dump when the problem occurs once again.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831877#831877]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Viacheslav Kabanovich
2013-08-22 20:51:00 UTC
Permalink
Viacheslav Kabanovich [https://community.jboss.org/people/scabanovich] created the discussion

"Re: JBoss Knowledge Base Builder hangs up"

To view the discussion, visit: https://community.jboss.org/message/833606#833606

--------------------------------------------------------------
The cause is thread unsafe code in org.jboss.tools.jsf.jsf2.bean.model.impl.DefinitionContext. When one thread reads from HashSet while another modifies it, sometimes reading slips into eternal cycle. That is a feature of implementation of java.util.HashSet, and the only way to avoid it is to provide thread safety. I will open an issue.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833606#833606]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
hd0815
2013-08-23 06:59:50 UTC
Permalink
hd0815 [https://community.jboss.org/people/hd0815] created the discussion

"Re: JBoss Knowledge Base Builder hangs up"

To view the discussion, visit: https://community.jboss.org/message/833645#833645

--------------------------------------------------------------
Thanks for your initiative, Viacheslav. :)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833645#833645]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Loading...