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

Errors when selecting some JS modules in project properties #448

Open
vrubezhny opened this issue Jan 11, 2017 · 0 comments
Open

Errors when selecting some JS modules in project properties #448

vrubezhny opened this issue Jan 11, 2017 · 0 comments

Comments

@vrubezhny
Copy link
Contributor

AERI Report: https://redhat.ctrlflow.com/reviewers#!/problems/577453c2e4b03c6ed09af1d6

Environment:
Devstudio 10.1.0.GA

Steps to reproduce:
I was able to reliably reproduce it using these steps:

  1. Have JS project in workspace.
  2. Open its preferences -> JavaScript -> Modules
  3. Select Lint (no error)
  4. Select some other module (no error)
  5. Select Lint again (error)

The same steps could be used to reproduce it with AngularJS module, Closure module and maybe some others (haven't tried them all).

Stacktrace:
Bundle: org.eclipse.jface 3.12.0.v20160518-1929
Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface".
Exception:
java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.widgets.TabItem.setControl(TabItem.java:291)
at tern.eclipse.ide.ui.controls.TernModulesBlock.refreshModule(TernModulesBlock.java:312)
at tern.eclipse.ide.ui.controls.TernModulesBlock.access$7(TernModulesBlock.java:307)
at tern.eclipse.ide.ui.controls.TernModulesBlock$4.selectionChanged(TernModulesBlock.java:268)
at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2191)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1229)
at org.eclipse.jface.viewers.CheckboxTableViewer.handleSelect(CheckboxTableViewer.java:308)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1258)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:405)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

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

1 participant