[ 
https://issues.apache.org/jira/browse/NETBEANS-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169997#comment-17169997
 ] 

Owen Savill commented on NETBEANS-4673:
---------------------------------------

Not sure if this helps but this was thrown the first time I tried to navigate 
to a function:

WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]
java.lang.AssertionError
 at com.oracle.js.parser.Parser.verifyDestructuringBindingPattern(Unknown 
Source)
 at 
com.oracle.js.parser.Parser.verifyDestructuringParameterBindingPattern(Unknown 
Source)
 at com.oracle.js.parser.Parser.verifyArrowParameter(Unknown Source)
 at com.oracle.js.parser.Parser.convertArrowFunctionParameterList(Unknown 
Source)
 at com.oracle.js.parser.Parser.arrowFunction(Unknown Source)
 at com.oracle.js.parser.Parser.assignmentExpression(Unknown Source)
 at com.oracle.js.parser.Parser.variableDeclarationList(Unknown Source)
 at com.oracle.js.parser.Parser.variableStatement(Unknown Source)
 at com.oracle.js.parser.Parser.statement(Unknown Source)
 at com.oracle.js.parser.Parser.sourceElements(Unknown Source)
 at com.oracle.js.parser.Parser.program(Unknown Source)
 at com.oracle.js.parser.Parser.parse(Unknown Source)
 at com.oracle.js.parser.Parser.parse(Unknown Source)
 at 
org.netbeans.modules.javascript2.editor.parser.JsParser.parseSource(JsParser.java:106)
 at 
org.netbeans.modules.javascript2.editor.parser.JsParser.parseSource(JsParser.java:33)
 at 
org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseContext(SanitizingParser.java:225)
 at 
org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseContext(SanitizingParser.java:205)
 at 
org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseSource(SanitizingParser.java:118)
 at 
org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parse(SanitizingParser.java:78)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
 at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
 at 
org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
 at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
 at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
 at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
 at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
 at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
 at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
 at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
 at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038)
[catch] at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
 at 
org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091)
 at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
 at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
 at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
 at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091)
 at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
 at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
WARNING [org.netbeans.ProxyClassLoader]: Will not load class 
com.oracle.js.parser.Parser arbitrarily from one of 
ModuleCL@7ba62ac3[org.netbeans.libs.nashorn] and 
ModuleCL@2c36496f[org.netbeans.libs.graaljs] starting from 
SystemClassLoader[602 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
the position attribute: 
[org-netbeans-modules-php-wordpress-editor-navi-WordPressHyperlinkProviderExt.instance,
 org-netbeans-modules-lsp-client-bindings-HyperlinkProviderImpl.instance], but 
some are: 
[org-netbeans-modules-csl-editor-hyperlink-GsfHyperlinkProvider.instance, 
HyperlinkProviderImpl.instance, 
org-netbeans-modules-editor-url-HyperlinkImpl.instance]

 

> PHP navigate to source not working
> ----------------------------------
>
>                 Key: NETBEANS-4673
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4673
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor
>    Affects Versions: Next
>         Environment: Ubuntu 20.04
> Product Version: Apache NetBeans IDE DEV (Build 
> dev-08d65f163be3bb1232098cc66b558438e90ddc01)
> Java: 11.0.8; OpenJDK 64-Bit Server VM 11.0.8+10-post-Ubuntu-0ubuntu120.04
> Runtime: OpenJDK Runtime Environment 11.0.8+10-post-Ubuntu-0ubuntu120.04
> System: Linux version 5.8.0-050800-generic running on amd64; UTF-8; en_GB (nb)
>            Reporter: Owen Savill
>            Assignee: Junichi Yamamoto
>            Priority: Major
>
> PHP source navigation is broken. 
> Navigation to $this->methodName() takes you to the top of the current class, 
> i.e. that line that says "class foo {"
> Navigation to $that->methodName() doesn't go anywhere at all.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to