Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 385195 - unable to load class org.eclipse.wst.html.internal.validation.HTMLValidator
Summary: unable to load class org.eclipse.wst.html.internal.validation.HTMLValidator
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Server 2008
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard: Eclipse IDE for Java Developers, Vers...
Keywords:
: 390153 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-16 10:52 EDT by Juris Sudmalis CLA
Modified: 2020-05-14 11:32 EDT (History)
5 users (show)

See Also:


Attachments
Could not resolve module: org.eclipse.wst.html.core [805] (907.92 KB, patch)
2017-08-19 06:52 EDT, Harshal Dhamale CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juris Sudmalis CLA 2012-07-16 10:52:24 EDT
This error is thrown whenever I open a PHP file with HTML in it (but not for clean HTML files).

What steps will reproduce the problem?
Just plain opening a PHP file with HTML in it. Works every time for me.


-- Error Details --
Date: Mon Jul 16 17:46:03 EEST 2012
Message: Plug-in org.eclipse.php.ui was unable to load class org.eclipse.wst.html.internal.validation.HTMLValidator.
Severity: Error
Product: Eclipse 1.5.0.20120131-1544 (org.eclipse.epp.package.java.product)
Plugin: org.eclipse.wst.sse.ui
Session Data:
eclipse.buildId=I20120608-1400
java.version=1.7.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product -vm C:\Program Files\Java\jdk1.7.0_05\jre\bin\client\jvm.dll
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product -vm C:\Program Files\Java\jdk1.7.0_05\jre\bin\client\jvm.dll

Exception Stack Trace:
org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.php.ui was unable to load class org.eclipse.wst.html.internal.validation.HTMLValidator.
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createExecutableExtension(ValidatorMetaData.java:151)
	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createExtension(ValidatorMetaData.java:173)
	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createValidator(ValidatorMetaData.java:196)
	at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:260)
	at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
	at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
	at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:697)
Caused by: java.lang.ClassNotFoundException: org.eclipse.wst.html.internal.validation.HTMLValidator
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
	... 10 more
Comment 1 Nitin Dahyabhai CLA 2012-07-16 11:16:13 EDT
Apparently the result of fixing bug 338111 and a reference to the internal HTMLValidator class.
Comment 2 Juris Sudmalis CLA 2012-07-17 04:48:38 EDT
Well, it needs to be fixed, because it pops up all the time.

BTW, what's the status on Bug 305922? You replied "WE will have to check", but that was 2 years ago.
Comment 3 Jacek Pospychala CLA 2012-07-19 15:38:25 EDT
This has been fixed.
To try PDT without this bug, you can update PDT from our development repository: http://download.eclipse.org/tools/pdt/updates/3.1.1/nightly/
Comment 4 Juris Sudmalis CLA 2012-07-19 17:23:35 EDT
Ok, thx, will do.
Comment 5 Kalin CLA 2012-08-22 09:59:11 EDT
Verified.
Closing...
Comment 6 Scott Porter CLA 2012-10-01 17:34:06 EDT
*** Bug 390153 has been marked as a duplicate of this bug. ***
Comment 7 Harshal Dhamale CLA 2017-08-19 06:52:54 EDT
Created attachment 269900 [details]
Could not resolve module: org.eclipse.wst.html.core [805]
Comment 8 Juris Sudmalis CLA 2017-08-19 09:37:18 EDT
(In reply to Harshal Dhamale from comment #7)
> Created attachment 269900 [details]
> Could not resolve module: org.eclipse.wst.html.core [805]

Good job resurrecting a 5 year old topic, genius. Make your own, this one is fixed.