Community
Participate
Working Groups
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
Apparently the result of fixing bug 338111 and a reference to the internal HTMLValidator class.
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.
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/
Ok, thx, will do.
Verified. Closing...
*** Bug 390153 has been marked as a duplicate of this bug. ***
Created attachment 269900 [details] Could not resolve module: org.eclipse.wst.html.core [805]
(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.