Since the last update that I keep getting this error message when editing twig files
Here are the full details of the error popup message :
An internal error occurred during: "PHPStructuredEditor selection changed job".
Invalid thread access
My eclipse installation details:
Eclipse EGit 126.96.36.199202151440-r org.eclipse.egit.feature.group Eclipse EGit
Eclipse EGit Mylyn GitHub Feature 188.8.131.52202151440-r org.eclipse.mylyn.github.feature.feature.group Eclipse EGit
Eclipse SDK 3.7.2.M20120208-0800 org.eclipse.sdk.ide null
EGit Mylyn 184.108.40.206202151440-r org.eclipse.egit.mylyn.feature.group Eclipse EGit
Markdown Text Editor Feature 0.9.0 thinktank.markdown.feature.feature.group Winterwell Associates
PDT Extensions Feature 220.127.116.11203010852 com.dubture.pdt.feature.feature.group https://github.com/pulse00
PHP CodeSniffer 1.3.0.R20111119000000 org.phpsrc.eclipse.pti.tools.codesniffer.feature.group Sven Kiera
PHP Copy/Paste Detection 0.2.2.R20100414000000 org.phpsrc.eclipse.pti.tools.phpcpd.feature.group Sven Kiera
PHP Depend 0.3.3.R20110627000000 org.phpsrc.eclipse.pti.tools.phpdepend.feature.group Sven Kiera
PHP Development Tools (PDT) Runtime Feature 18.104.22.168202282258 org.eclipse.php.feature.group Eclipse.org
PHP Mess Detector 0.1.0.R20110628000000 org.phpsrc.eclipse.pti.tools.phpmd.feature.group Dejan Spasic
PHP PEAR Library 1.2.2.R20120127000000 org.phpsrc.eclipse.pti.library.pear.feature.group Sven Kiera
PHP Tool Integration Core 1.6.0.R20111119000000 org.phpsrc.eclipse.pti.core.feature.group Sven Kiera
PHPUnit 0.8.0.R20111119000000 org.phpsrc.eclipse.pti.tools.phpunit.feature.group Sven Kiera
Symfony Feature 22.214.171.124203010828 com.dubture.symfony.feature.feature.group https://github.com/pulse00
YEdit Feature 0.0.12 org.dadacoalition.yedit.feature.group YEdit Project
Please let me know if you need more information to pinpoint the problem
the full stack trace would be great.
Here it is (I could not find a way to attach a file)
Same problem here:
can you paste the twig template where this happens? also, please note where the cursor is placed exactly when this occurs.
It happens on all templates and all places within the templates. I tested with all the templates of the AcmeDemoBundle distributed with the Standard Symfony distribution.
@rmoreas @francodacosta can't reproduce this here. my setup:
please provide this info so i can narrow the problem down. (the plugin versions can be found in "About Eclipse SDK -> Installation Details -> Plugins". I need every version from plugins within the ID com.dubture.*
My 2 setups:
With me it happens even with empty twig files
eclipse SDK Version: 3.7.2 Build id: M20120208-0800
Fedora 16 kernel 3.2.7-1.fc16.i686
java version 1.6.0_27 (Java(TM) SE Runtime Environment (build 1.6.0_27-b07))
I'm having the same issue.
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
openSUSE 11.4 (x86_64) 126.96.36.199-0.11-desktop
This is everything I have installed currently:
Eclipse Platform 3.7.2.M20120208-0800 org.eclipse.platform.ide
PHP Development Tools (PDT) Runtime Feature 188.8.131.52202282258 org.eclipse.php.feature.group
Twig Editor Feature 184.108.40.206203010852 com.dubture.twig.feature.feature.group
YEdit Feature 0.0.11 org.dadacoalition.yedit.feature.group
Here's the stack trace
I have the same issue here,
Running Windows 7, x64
Default clean installation
Zend Studio 9.0.2 with the Symfony Eclipse Plugin available from 'Welcome page'
Twig Editor Feature 220.127.116.11202102125
sorry guys, i am unable to reproduce this at the moment on osx, and am very busy with a couple of projects atm. i hope i can look into this more thoroughly in the next couple of days. as a workaround, you can open your twig files with the html editor in the meanwhile, to get rid of that annoying popup.
Odd, if I drag a .twig file into my editing area or use Open with.. > Twig Editor I receive the error mentioned above, if I use F3(open)/double click on a file or use PHP Editor, I can work normally with all the magic the plugin offers. ;)
pulse00, I have the same issue too,
@peshis nice tip, opening in the php editor works for me. Now I can edit twig files in a nice way
good to hear there's a workaround for you guys.
I get the same error, with version 18.104.22.168202291547 on OSX.
I've got the qame issue with all the same plugin version that you have on th screenshot Pulse00.
on win7 64bit with eclipe 3.7.2 Build id: M20120208-0800
@corlo right click on the file and choose open with, then select php editor
if you don't see the php editor there choose Other and then choose php editor from the list
@pulse00 With Juno I don't get the error
Version: 4.2.0 Build id: I20120127-1145
Same issue on Ubuntu, Eclipse 3.7.2.
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86
Opening up .twig files in the PHP Editor lets you get around the issue - thanks @corlo
Getting the same issue on Windows 7 64 bit - Eclipse 3.7.2 32 bit.
glad you resolved it @olaurendeau, unfortunately updating to 22.214.171.124203010852 did not fix it on my end
i hope i can find some time this weekend to get to the root of the problem. still not able to reproduce it here.
@pulse00 In can't either but the PR I just sent should do the trick, I hope :)
I've update to 126.96.36.199203010852 and still have the problem like janeklb
ty francodacosta for the tip ;)
please upgrade to 1.0.98 - it contains @maoueh's PR which should solve this issue.
@pulse00, @maoueh - Indeed! Thanks a million.
it is fixed for me also!
Everything is now fine since the update !
The update fixed the issue for me too!
Glad it works, I'm gonna update the plugin on my machine too :)
@maoueh did you receive my github messages? i've sent you a private one ;)
Yes I just answered ;) Private one does not appear in the notification on GitHub, at least I didn't find an option for this yet :)
@maoueh you're right, weird. the private ones don't shop up in the header.