NullPointerException after installing Twig Editor Feature

37 views
Skip to first unread message

dnt

unread,
Aug 14, 2015, 9:21:22 AM8/14/15
to pdt-extensi...@googlegroups.com
Hi

after installing the Twig Editor Feature I get the following error when
starting Eclipse:
An internal error occurred during: "Initializing PHP Tooling".
java.lang.NullPointerException

eclipse.buildId=4.5.0.I20150603-2000
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product
org.eclipse.epp.package.php.product

org.eclipse.core.jobs
Error
Fri Aug 14 15:09:00 CEST 2015
An internal error occurred during: "Initializing PHP Tooling".

java.lang.NullPointerException
at
org.eclipse.php.internal.core.language.LanguageModelInitializer.cleanup(LanguageModelInitializer.java:265)
at
org.eclipse.php.internal.core.PHPCorePlugin.initializeAfterLoad(PHPCorePlugin.java:456)
at
org.eclipse.php.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:29)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


This makes all the PHP features unavailable.
The version of the Twig Editor Feature is 1.0.13.201507051640
I'm using the stable Update site http://p2.pdt-extensions.org/

What could be the reason for this error?

Regards
Dominic

Dawid Pakuła

unread,
Aug 14, 2015, 9:39:43 AM8/14/15
to pdt-extensi...@googlegroups.com
This is PDT bug [1]. Has been fixed in current nightly and will be released with Mars.1 (PDT 3.6).

To avoid this check whether your php project contain in .buildpath file this entry:
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>


-- 
Dawid Pakuła
+48 795 996 064
--
You received this message because you are subscribed to the Google Groups "PDT Extensions Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdt-extensions-pl...@googlegroups.com.
To post to this group, send email to pdt-extensi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdt-extensions-platform/2111312.jNXDULH4H1%40niejesh.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages