Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Invalid preference page path: HTML Syntax(Problem with HTML Preference page)
Invalid preference page path: HTML Syntax [message #505787] Mon, 04 January 2010 18:55 Go to next message
dwain Missing name is currently offline dwain Missing nameFriend
Messages: 35
Registered: October 2009
Member
I am developing a plugin that uses a multi-page editor to edit email templates. There is a page that is a structured text editor to edit the html for the email. I was able to implement this with the help of http://www.eclipse.org/webtools/wst/components/sse/tutorials /multipage-editor-tutorial.html which was a pretty good tutorial on the subject. However am getting an exception every time that I close my program down.

Invalid preference page path: HTML Syntax
Plugin-Id: org.eclipse.ui
Version: 3.5.1M20090902-1000

This is caused by adding the plugin org.eclipse.wst.html.ui which I can remove and this exception goes away. However without this plugin I get a bunch of exceptions. I would like to keep the html preference page, so any ideas about how to fix this exception?

Thank you,
Dwain
Re: Invalid preference page path: HTML Syntax [message #505796 is a reply to message #505787] Tue, 05 January 2010 04:47 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 05/01/10 12:25 AM, dwain wrote:
> This is caused by adding the plugin org.eclipse.wst.html.ui which I can
> remove and this exception goes away. However without this plugin I get a
> bunch of exceptions. I would like to keep the html preference page, so
> any ideas about how to fix this exception?

Can you give the Exception trace?

- Prakash
Platform UI Team, IBM

Blog <http://blog.eclipse-tips.com>
Twitter <http://www.twitter.com/Eclipse_Tips>
Re: Invalid preference page path: HTML Syntax [message #505964 is a reply to message #505796] Tue, 05 January 2010 16:33 Go to previous messageGo to next message
dwain Missing name is currently offline dwain Missing nameFriend
Messages: 35
Registered: October 2009
Member
Well I have tried to trace the exception but it doesn't have a stack trace with it. It seems to be a workspace log rather then a true exception. Here are a few screenshots that may help. It seems to be coming from line 192 of CategorizedPageRegistryReader.class.

188:		// log anything left over.
189:		for (int i = 0; i < nodes.length; i++) {
190:			CategoryNode categoryNode = nodes[i];
191:			// Could not find the parent - log
192:			WorkbenchPlugin
193:				.log("Invalid preference page path: " + categoryNode.getFlatCategory()); //$NON-NLS-1$
194:			topLevelNodes.add(categoryNode.getNode());
195:		}


This is the Stack trace when it hits my status handler.
http://farm3.static.flickr.com/2521/4247748589_157f851dc3_o.png

This is the StatusAdapter at the beginning of the status handler.
http://farm3.static.flickr.com/2728/4247748583_f21eb9cdca_o.png

This is the exception in my status handler dialog.
http://farm5.static.flickr.com/4021/4247748585_16cef3dd82_o.png

[Updated on: Tue, 05 January 2010 11:54]

Report message to a moderator

Re: Invalid preference page path: HTML Syntax [message #603960 is a reply to message #505796] Tue, 05 January 2010 16:33 Go to previous message
dwain Missing name is currently offline dwain Missing nameFriend
Messages: 35
Registered: October 2009
Member
Well I have tried to trace the exception but it doesn't have a stack trace with it. It seems to be a workspace log rather then a true exception. Here are a few screenshots that may help. It seems to be coming from line 192 of CategorizedPageRegistryReader.class.


188: // log anything left over.
189: for (int i = 0; i < nodes.length; i++) {
190: CategoryNode categoryNode = nodes[i];
191: // Could not find the parent - log
192: WorkbenchPlugin
193: .log("Invalid preference page path: " + categoryNode.getFlatCategory()); //$NON-NLS-1$
194: topLevelNodes.add(categoryNode.getNode());
195: }
Previous Topic:Troubles with PDE build and target platform
Next Topic:target definition requires javax.crypto.spec
Goto Forum:
  


Current Time: Thu Nov 27 23:32:32 GMT 2014

Powered by FUDForum. Page generated in 0.01736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software