Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333165

Summary: No content assist available (phpcore error i suppose). Another errors from ui mostly.
Product: z_Archived Reporter: jon inazio <captain06>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description jon inazio CLA 2010-12-23 12:51:42 EST
Date: 22/12/10 16:43
Severity: error
message: PHPCore plugin internal error
Exception Stack Trace:
<-
java.lang.ArrayIndexOutOfBoundsException: 7
at org.eclipse.php.internal.core.util.text.TextSequenceUtilities$AbstractTextSequence.charAt(TextSequenceUtilities.java:101)
at org.eclipse.php.internal.core.codeassist.contexts.IncludeStatementContext.isIncludeStatement(IncludeStatementContext.java:53)
at org.eclipse.php.internal.core.codeassist.contexts.IncludeStatementContext.isIncludeStatement(IncludeStatementContext.java:61)
at org.eclipse.php.internal.core.codeassist.contexts.IncludeStatementContext.isValid(IncludeStatementContext.java:41)
at org.eclipse.php.internal.core.codeassist.contexts.CompletionContextResolver.resolve(CompletionContextResolver.java:113)
at org.eclipse.php.internal.core.codeassist.PHPCompletionEngine.complete(PHPCompletionEngine.java:96)
at org.eclipse.php.internal.core.codeassist.PHPCompletionEngine.complete(PHPCompletionEngine.java:64)
at org.eclipse.dltk.internal.core.Openable$CompletionThread.run(Openable.java:467)

->

Session Data:

<-
eclipse.buildId=M20100909-0800
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES
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


->

-- Configuration Details --
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.php.product)
Installed Features:
 org.eclipse.platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L
 
 ------------------------------------------------
 
 I have had this error, and i'm unable to show php function's description by pressing ctrl + space. I've some other error, such as plug-in org.eclipse.wst.sse.core, or.eclipse.equinox.p2.core and repository, org.eclipse.core.resources, org.eclipse.epp.usagedata.record AND THIS ONE : org.eclipse.wst.sse.uI, which is in my opinion the most important one.
Comment 1 Zhongwei Zhao CLA 2011-04-14 00:47:56 EDT
hi,

can you attach the php file that can reproduce this bug?thanks
Comment 2 Zhongwei Zhao CLA 2011-05-11 03:06:30 EDT
fixed in head
Comment 3 Kalin CLA 2011-08-01 08:55:27 EDT
No longer reproducible.
Reopen is you are able to define a particular scenario and file.
Closing...