Community
Participate
Working Groups
What steps will reproduce the problem? 1. 2. 3. -- Error Details -- Date: Sat Sep 05 01:10:42 WIB 2020 Message: No line style provider for org.eclipse.wst.html.SCRIPT.EVENTHANDLER Severity: Info Product: Eclipse IDE 4.16.0.20200615-1200 (org.eclipse.epp.package.php.product) Plugin: org.eclipse.wst.html.ui Session Data: eclipse.buildId=4.16.0.I20200604-0540 java.version=13.0.1 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.php.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product
PDT doesn't track bugs in Bugzilla any more, but it seems the EPP PHP package indeed does not contain anything to support JavaScript in HTML pages when using the PHP Editor. It should have the org.eclipse.wst.web_js_support.feature as part of the package (and is installable in 2020-09, if the problem is still in 2020-09). This also generates these log entries: org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.php.ui was unable to load class org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:212) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:198) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:923) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createExecutableExtension(ValidatorMetaData.java:155) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createExtension(ValidatorMetaData.java:177) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createValidator(ValidatorMetaData.java:200) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:261) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:323) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:260) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:694) Caused by: java.lang.ClassNotFoundException: org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator cannot be found by org.eclipse.php.ui_7.2.0.202005271851 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:516) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:171) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:616) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:196) ... 10 more Exception in thread "org.eclipse.php.internal.ui.editor.PHPStructuredRegionProcessor" java.lang.IllegalArgumentException: validator cannot be null at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.<init>(ReconcileStepForValidator.java:82) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:263) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:323) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:260) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:694)