Bug 549082 - Eclipse IDE for PHP stops working
Summary: Eclipse IDE for PHP stops working
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2019-07-09 03:30 EDT by Jan Snopek CLA
Modified: 2020-05-14 10:16 EDT (History)
2 users (show)

See Also:


Attachments
Workspace log (552.16 KB, text/plain)
2019-07-09 03:32 EDT, Jan Snopek CLA
no flags Details
Workspace log file (1003.99 KB, text/plain)
2019-07-09 03:34 EDT, Jan Snopek CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Snopek CLA 2019-07-09 03:30:09 EDT
Eclipse IDE for PHP stops working lots of time during the day with only solution -> close IDE. Sometimes with error message, but mostly without. I did not get that error recently, so i can not attach it, but there was someting with "oomph update". I made clear Install with latest Installer, but withou change. I think, that it has something with debugger/compiler to do, because it crashes mainly when i look at webpage i am currently working on in browser. All of that started after last update. My setup:
Localhost web and php server with XAMPP v3.2.2
PHP 7.2.10
Debugging over XDebug
Chrome web browser 75.0.3770.100
Java jre1.8.0_211 and jdk-12.0.1
Windows 10 x64 1809

Last entry in log file:

!SESSION 2019-07-09 08:07:19.398 -----------------------------------------------
eclipse.buildId=4.12.0.I20190605-1800
java.version=1.8.0_211
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=cs_CZ
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

!ENTRY org.eclipse.egit.core 1 0 2019-07-09 08:07:51.910
!MESSAGE Using Apache MINA sshd as ssh client.

!ENTRY org.eclipse.egit.ui 2 0 2019-07-09 08:08:01.827
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'H:\'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2019-07-09 08:32:02.733 -----------------------------------------------
eclipse.buildId=4.12.0.I20190605-1800
java.version=1.8.0_211
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=cs_CZ
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

!ENTRY org.eclipse.egit.core 1 0 2019-07-09 08:32:06.717
!MESSAGE Using Apache MINA sshd as ssh client.

!ENTRY org.eclipse.egit.ui 2 0 2019-07-09 08:32:12.050
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'H:\'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2019-07-09 08:34:01.798 -----------------------------------------------
eclipse.buildId=4.12.0.I20190605-1800
java.version=1.8.0_211
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=cs_CZ
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

!ENTRY org.eclipse.egit.core 1 0 2019-07-09 08:34:06.554
!MESSAGE Using Apache MINA sshd as ssh client.

!ENTRY org.eclipse.egit.ui 2 0 2019-07-09 08:34:11.913
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'H:\'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY org.eclipse.equinox.p2.metadata.repository 2 0 2019-07-09 08:34:21.341
!MESSAGE Error parsing metadata repository
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2019-07-09 08:34:21.341
!MESSAGE Error in file:/C:/Users/.../.p2/org.eclipse.equinox.p2.repository/cache/content566841349.jar at line 592, column 62: Missing required attribute in "property": value
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2019-07-09 08:34:21.341
!MESSAGE Error in file:/C:/Users/.../.p2/org.eclipse.equinox.p2.repository/cache/content566841349.jar at line 1401, column 62: Missing required attribute in "property": value
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2019-07-09 08:34:21.341
!MESSAGE Error in file:/C:/Users/.../.p2/org.eclipse.equinox.p2.repository/cache/content566841349.jar at line 1646, column 62: Missing required attribute in "property": value
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2019-07-09 08:34:21.341
!MESSAGE Error in file:/C:/Users/.../.p2/org.eclipse.equinox.p2.repository/cache/content566841349.jar at line 2387, column 62: Missing required attribute in "property": value
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2019-07-09 08:34:21.341
!MESSAGE Error in file:/C:/Users/.../.p2/org.eclipse.equinox.p2.repository/cache/content566841349.jar at line 2706, column 62: Missing required attribute in "property": value
!SUBENTRY 1 org.eclipse.equinox.p2.core 2 0 2019-07-09 08:34:21.341
!MESSAGE Error in file:/C:/Users/.../.p2/org.eclipse.equinox.p2.repository/cache/content566841349.jar at line 3073, column 62: Missing required attribute in "property": value

And in .bak_0.log:

!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2019-07-08 09:01:09.133
!MESSAGE Plug-in "com.dubture.symfony.core" was unable to instantiate class "com.dubture.symfony.core.codeassist.SymfonySelectionEngine".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/php/internal/core/compiler/ast/visitor/PHPASTVisitor
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:278)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:716)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:639)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:607)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:587)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:566)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:330)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:396)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:474)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:423)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:415)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
	at java.lang.Class.getConstructor0(Unknown Source)
	at java.lang.Class.getDeclaredConstructor(Unknown Source)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:204)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:934)
	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.dltk.utils.NatureExtensionManager.createInstanceByDescriptor(NatureExtensionManager.java:255)
	at org.eclipse.dltk.utils.NatureExtensionManager.getByNature(NatureExtensionManager.java:214)
	at org.eclipse.dltk.utils.NatureExtensionManager.getInstances(NatureExtensionManager.java:129)
	at org.eclipse.dltk.core.DLTKLanguageManager.getSelectionEngines(DLTKLanguageManager.java:274)
	at org.eclipse.dltk.internal.core.Openable.codeSelect(Openable.java:678)
	at org.eclipse.dltk.internal.core.Openable.codeSelect(Openable.java:699)
	at org.eclipse.dltk.internal.core.AbstractSourceModule.codeSelect(AbstractSourceModule.java:92)
	at org.eclipse.dltk.internal.core.AbstractSourceModule.codeSelect(AbstractSourceModule.java:86)
	at org.eclipse.php.internal.ui.editor.hover.AbstractPHPEditorTextHover.getElementsAt(AbstractPHPEditorTextHover.java:117)
	at org.eclipse.php.internal.ui.editor.hover.PHPDocumentationHover.internalGetHoverInfo(PHPDocumentationHover.java:474)
	at org.eclipse.php.internal.ui.editor.hover.PHPDocumentationHover.getHoverInfo2(PHPDocumentationHover.java:469)
	at org.eclipse.php.internal.ui.editor.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:134)
	at org.eclipse.php.internal.ui.editor.hover.PHPTextHoverProxy.getHoverInfo2(PHPTextHoverProxy.java:84)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:169)
Caused by: java.lang.ClassNotFoundException: org.eclipse.php.internal.core.compiler.ast.visitor.PHPASTVisitor cannot be found by com.dubture.symfony.core_1.1.0.201507051747
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:512)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:423)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:415)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:155)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 37 more


-- Configuration Details --
Product: Eclipse IDE 4.12.0.20190614-1200 (org.eclipse.epp.package.php.product)Installed Features:
 org.eclipse.platform 4.12.0.v20190605-1801
Comment 1 Jan Snopek CLA 2019-07-09 03:32:48 EDT
Created attachment 279210 [details]
Workspace log
Comment 2 Jan Snopek CLA 2019-07-09 03:34:17 EDT
Created attachment 279211 [details]
Workspace log file
Comment 3 Dawid Pakula CLA 2019-07-11 06:36:28 EDT
you are using old Symfony plugin. Try dev version from http://p2-dev.pdt-extensions.org
Comment 4 Jan Snopek CLA 2019-07-17 05:19:18 EDT
Thanks, I'll try it.(In reply to Dawid Pakula from comment #3)
> you are using old Symfony plugin. Try dev version from
> http://p2-dev.pdt-extensions.org

Thanks, I'll try it.
Comment 5 Dawid Pakula CLA 2019-08-03 08:21:55 EDT
(In reply to Jan Snopek from comment #4)
> Thanks, I'll try it.(In reply to Dawid Pakula from comment #3)
> > you are using old Symfony plugin. Try dev version from
> > http://p2-dev.pdt-extensions.org
> 
> Thanks, I'll try it.

It's working now?
Comment 6 Jan Snopek CLA 2019-08-05 03:27:28 EDT
(In reply to Dawid Pakula from comment #5)
> (In reply to Jan Snopek from comment #4)
> > Thanks, I'll try it.(In reply to Dawid Pakula from comment #3)
> > > you are using old Symfony plugin. Try dev version from
> > > http://p2-dev.pdt-extensions.org
> > 
> > Thanks, I'll try it.
> 
> It's working now?

Well, so far so good. I have not realy enought time to test it (only few days), but i has not crashed since that plugin is gone. So i assume that this ticket can be set to closed.