[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2276) A JSP file that does not belong to any project in workspace, can't be opened correctly.

Tatyana Romanovich (JIRA) jira-events at lists.jboss.org
Mon Jun 16 08:39:33 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-2276?page=comments#action_12417366 ] 
            
Tatyana Romanovich commented on JBIDE-2276:
-------------------------------------------

Try to reproduce it for inputname.xhtml file. I got error:
java.lang.IllegalArgumentException: Path must include project and resource name: /inputname.xhtml
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
	at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1631)
	at org.eclipse.core.internal.resources.Container.getFile(Container.java:123)
	at org.eclipse.wst.html.internal.validation.HTMLValidator.validate(HTMLValidator.java:277)
	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:339)
	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:246)
	at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:96)
	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:206)
	at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:183)
	at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:252)
	at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:633)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

> A JSP file that does not belong to any project in workspace, can't be opened correctly.
> ---------------------------------------------------------------------------------------
>
>                 Key: JBIDE-2276
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2276
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor
>    Affects Versions: 2.1.0.GA
>         Environment: JBoss Tools build form 05/26/2008 16:17
> eclipse.buildId=1.1.0.GA
> java.version=1.5.0_12
>            Reporter: Tatyana Romanovich
>         Assigned To: Maxim Areshkau
>            Priority: Minor
>             Fix For: 2.1.2
>
>         Attachments: inputname.jspx, inputname.xhtml, inputTest.jsp
>
>
> EXECUTE: Run JBDS (or Eclipse), set new empty workspace
> EXECUTE: Open Error Log View
> EXECUTE: Open any JSP file from file system (that does not belong to any project in workspace). It should contain:
> "<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>"
> (see attached file)
> EXECUTE: Verify Error Log
> ASSERT: file should be opened without any messages and exceptions
> FAILURE: "Path must include project and resource name: /inputTest.jsp" error messages appear.
> NOTE: JSP file without "<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>", "<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>" can be opened correctly (without error messages).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list