Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context menu on Java project freezes #35

Open
davidburkhart opened this issue May 14, 2014 · 2 comments
Open

Context menu on Java project freezes #35

davidburkhart opened this issue May 14, 2014 · 2 comments

Comments

@davidburkhart
Copy link
Member

When I select multiple Java-Projects in the package explorer, open the context menu and move the mouse over "Run As" or "Debug As" the menu and also eclipse freezes. After several minutes eclipse is responding again. Opening a jconsole during the freeze and checking the main-Thread I get the following stack trace:
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findJavaProject(RequiredJavaProjects.java:37)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:26)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.RequiredJavaProjects.findFor(RequiredJavaProjects.java:28)
org.projectusus.autotestsuite.core.internal.CommonDependencyRoot.findFor(CommonDependencyRoot.java:20)
org.projectusus.autotestsuite.core.internal.CommonDependencyRoot.existsFor(CommonDependencyRoot.java:29)
org.projectusus.autotestsuite.ui.internal.shortcuts.MultiProjectJUnitPropertyTester.test(MultiProjectJUnitPropertyTester.java:17)
org.eclipse.core.internal.expressions.Property.test(Property.java:58)
.....

@marcphilipp
Copy link
Member

Hmm, the code doesn't look wrong at first sight. Let's try to debug this in your workspace together.

@maxbechtold
Copy link
Member

I'm not able to reproduce this with Usus 0.8.0 and the MultiProject JUnit Runner installed (which is added by org.projectusus.autotestsuite). "Run As" or "Debug As" open promptly with only the "Run configurations..." action present. The Package explorer selection contains 10+ projects with the following natures enabled:

<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>

Did you try and debug it, and does one of you remember the outcome?
Perhaps you still remember the context (e.g. multi module Maven projects)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants