Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4903

PHP parse exception for a specific content

    Details

    • Story Points:
      8

      Description

      PHP parse error when working on the attached file.

      java.lang.IllegalArgumentException: Illegal parameter start positions: [I@15aa2b5
      at com.aptana.editor.php.internal.indexer.FunctionPHPEntryValue.<init>(FunctionPHPEntryValue.java:113)
      at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.visit(PDTPHPModuleIndexer.java:1456)
      at org2.eclipse.php.internal.core.ast.nodes.MethodDeclaration.accept0(MethodDeclaration.java:82)
      at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
      at org2.eclipse.php.internal.core.ast.nodes.Block.childrenAccept(Block.java:98)
      at org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:91)
      at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
      at org2.eclipse.php.internal.core.ast.nodes.ClassDeclaration.childrenAccept(ClassDeclaration.java:119)
      at org2.eclipse.php.internal.core.ast.nodes.ClassDeclaration.accept0(ClassDeclaration.java:105)
      at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
      at org2.eclipse.php.internal.core.ast.nodes.Program.childrenAccept(Program.java:203)
      at org2.eclipse.php.internal.core.ast.nodes.Program.accept0(Program.java:196)
      at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
      at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer.indexModule(PDTPHPModuleIndexer.java:4118)
      at com.aptana.editor.php.indexer.PHPGlobalIndexer$WrapIndexer.indexModule(PHPGlobalIndexer.java:118)
      at com.aptana.editor.php.indexer.PHPGlobalIndexer.processUnsavedModuleUpdate(PHPGlobalIndexer.java:1034)
      at com.aptana.editor.php.internal.parser.PHPParser.parse(PHPParser.java:149)
      at com.aptana.parsing.ParsingEngine.parse(ParsingEngine.java:272)
      at com.aptana.parsing.ParserPoolFactory.doParse(ParserPoolFactory.java:244)
      at com.aptana.parsing.ParserPoolFactory.parse(ParserPoolFactory.java:231)
      at com.aptana.editor.php.internal.ui.editor.PHPSourceEditor.getAST(PHPSourceEditor.java:179)
      at com.aptana.editor.common.AbstractThemeableEditor$3.run(AbstractThemeableEditor.java:1253)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
      

       
      java.lang.IllegalArgumentException: Illegal parameter start positions: [I@d0775f
      at com.aptana.editor.php.internal.indexer.FunctionPHPEntryValue.<init>(FunctionPHPEntryValue.java:113)
      at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer$PHPASTVisitor.visit(PDTPHPModuleIndexer.java:1456)
      at org2.eclipse.php.internal.core.ast.nodes.MethodDeclaration.accept0(MethodDeclaration.java:82)
      at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
      at org2.eclipse.php.internal.core.ast.nodes.Block.childrenAccept(Block.java:98)
      at org2.eclipse.php.internal.core.ast.nodes.Block.accept0(Block.java:91)
      at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
      at org2.eclipse.php.internal.core.ast.nodes.ClassDeclaration.childrenAccept(ClassDeclaration.java:119)
      at org2.eclipse.php.internal.core.ast.nodes.ClassDeclaration.accept0(ClassDeclaration.java:105)
      at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
      at org2.eclipse.php.internal.core.ast.nodes.Program.childrenAccept(Program.java:203)
      at org2.eclipse.php.internal.core.ast.nodes.Program.accept0(Program.java:196)
      at org2.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNode.java:285)
      at com.aptana.editor.php.internal.indexer.PDTPHPModuleIndexer.indexModule(PDTPHPModuleIndexer.java:3867)
      at com.aptana.editor.php.indexer.PHPGlobalIndexer$WrapIndexer.indexModule(PHPGlobalIndexer.java:92)
      at com.aptana.editor.php.indexer.PHPGlobalIndexer$7.run(PHPGlobalIndexer.java:441)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgibly Shalom Gibly
                Reporter:
                sgibly Shalom Gibly
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration