| Summary: | BadLocationException in .log | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Toshihiro Izumi <euthanasia_waltz> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | silviya, zulus |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
As I see in git log, this bug was fixed 2 years ago. I also see it is no longer reproducible. Closing |
Version: eclipse-php-helios (eclipse-php-galileo-SR2 doesn't have this issue) It still occurs on pdt3.0. Steps to reproduce: 1. Create new php file 2. Move cursor next to "php" (end of line 1) 3. Hit Ctrl+Space .log > !SESSION 2011-07-17 12:46:08.031 ----------------------------------------------- > eclipse.buildId=I20100608-0911 > java.version=1.6.0_26 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP > Framework arguments: -product org.eclipse.epp.package.php.product > Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product > > !ENTRY org.eclipse.php.core 4 10001 2011-07-17 12:47:09.609 > !MESSAGE PHPCore plugin internal error > !STACK 0 > org.eclipse.jface.text.BadLocationException: offset -1 is out of [0, 2] > at org.eclipse.php.internal.core.documentModel.parser.regions.PhpTokenContainer.checkBadLocation(PhpTokenContainer.java:430) > at org.eclipse.php.internal.core.documentModel.parser.regions.PhpTokenContainer.getToken(PhpTokenContainer.java:59) > at org.eclipse.php.internal.core.documentModel.parser.regions.PhpTokenContainer.getPartitionType(PhpTokenContainer.java:135) > at org.eclipse.php.internal.core.documentModel.parser.regions.PhpScriptRegion.getPartition(PhpScriptRegion.java:100) > at org.eclipse.php.internal.core.codeassist.contexts.AbstractCompletionContext.determinePartitionType(AbstractCompletionContext.java:231) > at org.eclipse.php.internal.core.codeassist.contexts.AbstractCompletionContext.isValid(AbstractCompletionContext.java:93) > at org.eclipse.php.internal.core.codeassist.contexts.PHPDocContext.isValid(PHPDocContext.java:34) > at org.eclipse.php.internal.core.codeassist.contexts.PHPDocTagContext.isValid(PHPDocTagContext.java:37) > at org.eclipse.php.internal.core.codeassist.contexts.PHPDocTagStartContext.isValid(PHPDocTagStartContext.java:36) > at org.eclipse.php.internal.core.codeassist.contexts.CompletionContextResolver.resolve(CompletionContextResolver.java:113) > at org.eclipse.php.internal.core.codeassist.PHPCompletionEngine.complete(PHPCompletionEngine.java:92) > at org.eclipse.dltk.internal.core.Openable$CompletionThread.run(Openable.java:467)