Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327746 - An error occured when trying to open xhtml file.
Summary: An error occured when trying to open xhtml file.
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jesper Moller CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 05:49 EDT by Denis Vinnichek CLA
Modified: 2011-01-21 16:23 EST (History)
4 users (show)

See Also:


Attachments
Screenshot of exception message box (134.92 KB, image/jpeg)
2010-10-14 05:53 EDT, Denis Vinnichek CLA
no flags Details
Error Log (1.20 KB, text/plain)
2010-10-14 05:59 EDT, Denis Vinnichek CLA
no flags Details
XHTML file for bug reproducing (288 bytes, application/xhtml+xml)
2011-01-19 06:57 EST, Denis Vinnichek CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Vinnichek CLA 2010-10-14 05:49:22 EDT
Build Identifier: I20100603-1500

Open xhtml file when 'XPath View' is opend -> An internal error occurred during: "Refreshing XPath View". Could not resolve the node to a handle.

Reproducible: Always

Steps to Reproduce:
1. Open XPath View (make it active or not)
2. Open some xhtml file
3. Get exception message box
Comment 1 Denis Vinnichek CLA 2010-10-14 05:53:59 EDT
Created attachment 180862 [details]
Screenshot of exception message box
Comment 2 Denis Vinnichek CLA 2010-10-14 05:59:22 EDT
Created attachment 180864 [details]
Error Log
Comment 3 jwwfou CLA 2010-10-27 14:26:14 EDT
I am experiencing the same behavior on Mac OS X 10.6.4
Comment 4 Jesper Moller CLA 2011-01-18 21:13:23 EST
I'm unable to reproduce this in WTP 3.2.2 -- haven't tried plain Helios.

Could I get you to test this on a plain Helios SR1, or describe you install further (did I see some JBDS?)
Comment 5 Denis Vinnichek CLA 2011-01-19 06:57:06 EST
Created attachment 187096 [details]
XHTML file for bug reproducing

Bug stable reproduced with testXhtmlFile.xhtml which was added to new 'Dynamic Web Project' in new workspace.

My setup description:
  Eclipse Helios 3.6.1
  WTP 3.2.2.v201008170019-377AB8s73533J5H335L
Comment 6 Jesper Moller CLA 2011-01-21 16:23:17 EST
Thanks for the recipe, I get it now. Only problem is that it seems to be an incompatibility between SSE and Xalan, which I haven't seen before (perhaps XHTML doesn't map to SSE XML nodes, I'll check, since it is supported by a different partition handler, if I understand it correctly.)

However, the best we can do is to catch the error and report it.