Discussion:
[jboss-user] [JBoss Tools] - JBoss Knowledge Base Builder hangs in Eclipse
Adam Zovits
2012-02-15 10:43:50 UTC
Permalink
Adam Zovits [https://community.jboss.org/people/zovitsa] created the discussion

"JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Hi all!

I have quite an inconvenient problem: whenever I start building my project in Eclipse, something called "JBoss Knowledge Base Builder" is invoked and stops proceeding and/or responding altogether. I let it run for an hour yesterday, but not a single percent was proceeded during this time. Then I tired cancelling the operation, only to find out that nothing can stop this process (short of killing eclipse.exe from the Task Manager).

Since this problem means I can't do a build I would be very thankful for any kind of assistance in this matter.
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Adam Zovits
2012-02-15 13:52:15 UTC
Permalink
Adam Zovits [https://community.jboss.org/people/zovitsa] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Since then I managed to bypass the problem by uninstalling all eclipse plugins that contained the "jboss" string in their names. However I think this is quite far from the ideal solution.
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Alexey Kazakov
2012-02-15 17:42:13 UTC
Permalink
Alexey Kazakov [https://community.jboss.org/people/akazakov] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Can you attache the stack trace?
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Adam Zovits
2012-02-15 17:53:45 UTC
Permalink
Adam Zovits [https://community.jboss.org/people/zovitsa] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
There is a stack trace in the attached zip, named eclipse.log. If that doesn't contain the necessary information then I'm afraid I won't be allowed to reinstall everything again just to reproduce this error.
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Alexey Kazakov
2012-02-15 18:03:31 UTC
Permalink
Alexey Kazakov [https://community.jboss.org/people/akazakov] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Unfortunately eclipse.log is just a log of exceptions. It's very hard to figure out what was the reason of this hang-up without stack trace of all the java threads. Can you remember what you did before this happened? Created some project or what?
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Adam Zovits
2012-02-16 09:21:38 UTC
Permalink
Adam Zovits [https://community.jboss.org/people/zovitsa] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
It happened right after I reverted all the projects to JDK 1.6.0. Could that be the cause?
--------------------------------------------------------------

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

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
2012-02-21 12:45:54 UTC
Permalink
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
it could be the "trigger" since it possibly caused a full rebuild of all projects and maybe something in your project layout/dependency list somehow triggers a bug in the builder.

Any chance you can force the bug by cleaning all projects at once ?

Then when it freezes use jstack to capture the blocked/busy threads ?
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Adam Zovits
2012-02-21 15:11:28 UTC
Permalink
Adam Zovits [https://community.jboss.org/people/zovitsa] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
I tried my best to restore the original (buggy) state of my Eclipse instance, including reverting all files (projects, settings, runtimes, etc) to that revision but I couldn't reproduce the bug again. Probably something has managed to evade my attention...

Anyways, thank you for the jstack hint, I'll definitely use it next time when I encounter such an error.
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Adam Zovits
2012-02-27 10:19:34 UTC
Permalink
Adam Zovits [https://community.jboss.org/people/zovitsa] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Hi again!

Today I managed to run into this issue again, and this time I could obtain the jstack traces of the relevant threads.
http://pastebin.ca/2121992 http://pastebin.ca/2121992
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Alexey Kazakov
2012-02-27 17:11:28 UTC
Permalink
Alexey Kazakov [https://community.jboss.org/people/akazakov] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Thanks for the stacktrace! I see that JBoss tools is downloading XML schemas (or may be DTD) to parse some XML from the jars from your project. It looks like a bug.
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Alexey Kazakov
2012-02-27 17:16:22 UTC
Permalink
Alexey Kazakov [https://community.jboss.org/people/akazakov] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
I've created an issue in JIRA - https://issues.jboss.org/browse/JBIDE-11066 https://issues.jboss.org/browse/JBIDE-11066
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Adam Zovits
2012-02-28 08:20:23 UTC
Permalink
Adam Zovits [https://community.jboss.org/people/zovitsa] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Now that you mention it... My Eclipse instance has various errors (mainly stalling) associated with downloading files, be it plug-in descriptors from update sites or packages from our intranet. But I'd have never suspected this to be connected to the original issue.
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Alexey Kazakov
2012-02-28 08:27:56 UTC
Permalink
Alexey Kazakov [https://community.jboss.org/people/akazakov] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Adam, I don't know what causes those problems with internet connection but Knowledge Base builder should not trigger any downloading while scanning JARs anyway.
--------------------------------------------------------------

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

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
Adam Zovits
2012-02-28 10:18:52 UTC
Permalink
Adam Zovits [https://community.jboss.org/people/zovitsa] created the discussion

"Re: JBoss Knowledge Base Builder hangs in Eclipse"

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

--------------------------------------------------------------
Thank you for your assistance :)
--------------------------------------------------------------

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

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