Vinicius Cenci Fabris created NETBEANS-4763:
-----------------------------------------------

             Summary: java.lang.NullPointerException quando inicio o Debug.
                 Key: NETBEANS-4763
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4763
             Project: NetBeans
          Issue Type: Bug
          Components: php - Debugger
    Affects Versions: 11.3, 11.0
            Reporter: Vinicius Cenci Fabris


Quando tento debugar um projeto em PHP estou recebendo a seguinte exception:
java.lang.NullPointerExceptionjava.lang.NullPointerException at 
org.netbeans.modules.php.dbgp.URIMapper$BaseMapper.toWebServerURI(URIMapper.java:278)
 at 
org.netbeans.modules.php.dbgp.URIMapper$MultiMapper.toWebServerURI(URIMapper.java:326)
 at org.netbeans.modules.php.dbgp.URIMapper.toWebServerURI(URIMapper.java:54) 
at org.netbeans.modules.php.dbgp.SessionId.toWebServerURI(SessionId.java:110) 
at 
org.netbeans.modules.php.dbgp.packets.BrkpntCommandBuilder.buildLineBreakpoint(BrkpntCommandBuilder.java:47)
 at 
org.netbeans.modules.php.dbgp.packets.BrkpntCommandBuilder.buildLineBreakpoint(BrkpntCommandBuilder.java:61)
 at org.netbeans.modules.php.dbgp.breakpoints.Utils.getCommand(Utils.java:120) 
at 
org.netbeans.modules.php.dbgp.packets.InitMessage.setBreakpoints(InitMessage.java:121)
 at 
org.netbeans.modules.php.dbgp.packets.InitMessage.process(InitMessage.java:59) 
at 
org.netbeans.modules.php.dbgp.DebugSession.handleMessage(DebugSession.java:268) 
at 
org.netbeans.modules.php.dbgp.DebugSession.receiveData(DebugSession.java:249) 
at 
org.netbeans.modules.php.dbgp.DebugSession.receiveData(DebugSession.java:230)[catch]
 at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:116) at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 at java.base/java.lang.Thread.run(Thread.java:834).

Não fiz nenhuma alteração nas configurações do netbeans, e também não encontrei 
uma solução para esse problema.
Começou com o php 11.0, instalei o php 11.3 para ver se resolvia, mas estou 
tendo o mesmo problema.
Debug deste mesmo projeto em outro computador funciona, e o path mapping de 
ambos está igual.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to