[
https://issues.jboss.org/browse/JBIDE-19119?page=com.atlassian.jira.plugi...
]
Victor Rubezhny edited comment on JBIDE-19119 at 2/12/15 9:49 PM:
------------------------------------------------------------------
I'm able to reproduced the initial issue 'IllegalArgumentException in
RefreshTernProjectJob" on 0.8.0.
I've created the upstream issue:
https://github.com/angelozerr/tern.java/issues/251
and provided a fix for it.
But I'm in doubt that it is able to be fixed in 0.7.x and/or 0.8.x streams. I've
asked Angelo about it.
was (Author: vrubezhny):
I'm able to reproduced the initial issue 'IllegalArgumentException in
RefreshTernProjectJob" on 0.8.0.
I've created the upstream issue:
https://github.com/angelozerr/tern.java/issues/251
and provided a fix for it.
Tern error when opening a jsp file
----------------------------------
Key: JBIDE-19119
URL:
https://issues.jboss.org/browse/JBIDE-19119
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing, upstream
Affects Versions: 4.3.0.Beta2
Reporter: Martin Malina
Assignee: Victor Rubezhny
Priority: Critical
Fix For: 4.2.3.Beta1, 4.3.0.Alpha2
Attachments: tern-error.png
I was just verying something in master for Rob and hit this issue:
I created a dynamic web project, then a jsp file. Once the jsp was opened in Eclipse, I
got this error popup immediately:
!tern-error.png!
This was in the workspace log:
{code}
!ENTRY org.eclipse.core.jobs 4 2 2015-01-29 17:04:14.678
!MESSAGE An internal error occurred during: "Refresh tern project job".
!STACK 0
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer
scope rule: P/dynproj2
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:134)
at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:333)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:85)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:298)
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:118)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2251)
at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1347)
at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1401)
at
tern.eclipse.ide.internal.core.builder.TernBuilder.addTernBuilder(TernBuilder.java:231)
at
tern.eclipse.ide.internal.core.resources.IDETernProject.doLoad(IDETernProject.java:186)
at tern.resources.TernProject.load(TernProject.java:332)
at
tern.eclipse.ide.internal.core.resources.RefreshTernProjectJob.runInWorkspace(RefreshTernProjectJob.java:49)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}
This was JBT nightly from today (2015/01/29) from
http://download.jboss.org/jbosstools/updates/nightly/mars/ on top of Eclipse Mars M4. On
top of that, I had one server PR of Rob's installed, but that shouldn't have any
effect.
My platform is OS X 10.10 Yosemite, running Oracle JDK 1.7.
I realize this is master and it might be a known issue, but better to be safe :)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)