[jira] [Created] (NETBEANS-2940) High CPU usage by Checking for external changes (suspended)

2019-08-01 Thread E Dementiev (JIRA)
E Dementiev created NETBEANS-2940:
-

 Summary: High CPU usage by Checking for external changes 
(suspended)
 Key: NETBEANS-2940
 URL: https://issues.apache.org/jira/browse/NETBEANS-2940
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 10.0, 11.1
Reporter: E Dementiev


Very often Netbeans would start consuming high CPU resources for the job of 
Checking for external changes, which sits in suspended status. If you click on 
the cross and manually cancel that job, the CPU will keep being consumed.

The only way to stop this is to completely close Netbeans. Upon closing, it 
will say that it is still checking for external changes.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Created] (NETBEANS-2939) Can't select JavaHL as SVN preferred client

2019-08-01 Thread E Dementiev (JIRA)
E Dementiev created NETBEANS-2939:
-

 Summary: Can't select JavaHL as SVN preferred client
 Key: NETBEANS-2939
 URL: https://issues.apache.org/jira/browse/NETBEANS-2939
 Project: NetBeans
  Issue Type: Bug
  Components: versioncontrol - Subversion
Affects Versions: 11.0, 10.0, 11.1
 Environment: Win 10, Netbeans 11.1, Java 8, SlikSVN all 64 bit
Reporter: E Dementiev


Whenever I select JavaHL as preferred SVN client and close the settings window, 
this choice is not saved.

I have tried:
 * restarting Netbeans
 * different versions of Netbeans
 * SlikSvn and CollabNet/Subversion Client

There was a problem with SlikSvn that caused its version to be unparsable, but 
this was fixed in https://issues.apache.org/jira/browse/NETBEANS-771

I must be missing something. I've tried searching for a similar issue but 
didn't find anything.

SVNKit isn't available, and CLI can't be used for "Diffing between revision 
trees", which makes this issue quite a problem.

Any ideas?



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-1872) CSS parser loops infinitely with specific code

2019-08-01 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-1872:


[~matthiasblaesing] Thank you! It is much better than looping infinitely. It 
would be great if someone could fix the grammar in the future although I know 
it's not easy. 

[~crodar] Could you please verify Matthias's changes if possible?

> CSS parser loops infinitely with specific code
> --
>
> Key: NETBEANS-1872
> URL: https://issues.apache.org/jira/browse/NETBEANS-1872
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, ide - Performance, web 
> - CSS Editor
>Affects Versions: 8.2, 10.0, 11.0
>Reporter: Mondane
>Priority: Major
>  Labels: background-scanning
> Attachments: slider.phtml
>
>
> I've come across a PHP-file which stalls the background scanning process. 
> How to reproduce:
>  * Download the attached file
>  * Create a new PHP 7.1 project with existing sources
>  ** Select the folder containing that one file
> The background scan initiates and never stops.
> History: 
> http://mail-archives.apache.org/mod_mbox/netbeans-users/201901.mbox/%3CCAB8E-LGcfjm7_91gRvt%3D8zKij8Eon6yG4aMw%3D7jbEij10Pd4vg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


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

Travis edited comment on NETBEANS-2938 at 8/1/19 10:03 PM:
---

With the gutted file, after deleting the entire cache folder and restarting 
Netbeans 11.0, I got:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

at java.lang.String.substring(String.java:1967)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
 at 
org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
 at 
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:728)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.getSources(PathRegistry.java:275)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:4888)
 [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.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 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)


was (Author: furrer):
With the gutted file, after deleting the entire cache folder and restarting 
Netbeans, I got:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

at java.lang.String.substring(String.java:1967)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
 at 
org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
 at 
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:728)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.getSources(PathRegistry.java:275)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:4888)
[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 

[jira] [Commented] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


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

Travis commented on NETBEANS-2938:
--

With the gutted file, after deleting the entire cache folder and restarting 
Netbeans, I got:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

at java.lang.String.substring(String.java:1967)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
 at 
org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
 at 
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:728)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.getSources(PathRegistry.java:275)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:4888)
[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.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 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)

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 or 11.1, with nb-javac 1.6
> OpenJDK 12
> JavaFX 12
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + 
> JavaFX 12, I started getting the following exception.
> After this exception, since the source scan failed various IDE features don't 
> work (Navigator pane says "Please Wait" forever, can't Navigate sources using 
> operations like "Go to Declaration", code refactoring doesn't work, etc).  
> The IDE is pretty useless while in this state.
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
>  Caused: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> 

[jira] [Commented] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


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

Travis commented on NETBEANS-2938:
--

Even after gutting the file where this exception happened so that it is empty 
except for the package and class declaration (with no 
extends/implements/throws), the same exception still occurs.  So this 
apparently isn't caused by something unusual in the code in this file itself.

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 or 11.1, with nb-javac 1.6
> OpenJDK 12
> JavaFX 12
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + 
> JavaFX 12, I started getting the following exception.
> After this exception, since the source scan failed various IDE features don't 
> work (Navigator pane says "Please Wait" forever, can't Navigate sources using 
> operations like "Go to Declaration", code refactoring doesn't work, etc).  
> The IDE is pretty useless while in this state.
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
>  Caused: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> 

[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis updated NETBEANS-2938:
-
Description: 
With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + JavaFX 
12, I started getting the following exception.

After this exception, since the source scan failed various IDE features don't 
work (Navigator pane says "Please Wait" forever, can't Navigate sources using 
operations like "Go to Declaration", code refactoring doesn't work, etc).  The 
IDE is pretty useless while in this state.

Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
problem there.

I saw this on proprietry code, and can't share it.  If necessary I could try to 
provide a tiny code example that demonstrates the same issue.

 

An error occurred during parsing of 'C:\.java'. Please report a bug 
against java/source and attach dump file 'C:\.dump'.
 Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: 
-1
 at java.lang.String.substring(String.java:1967)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
 at 
org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
 at 
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
 at 
org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
 at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
 at 
org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
 at 
org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
 at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
 at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
 at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
 at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
 at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
 at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
 at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
 at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
 at com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
 at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
 at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
 at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
 at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
 at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
 at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
 [catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 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)

  was:
With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + JavaFX 
12, I started getting the following exception.

 

After this exception, since the source scan failed various IDE features don't 
work 

[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis updated NETBEANS-2938:
-
Description: 
With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + JavaFX 
12, I started getting the following exception.

 

After this exception, since the source scan failed various IDE features don't 
work (Navigator pane says "Please Wait" forever, can't Navigate sources using 
operations like "Go to Declaration", code refactoring doesn't work, etc).  The 
IDE is pretty useless while in this state.

Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
problem there.

I saw this on proprietry code, and can't share it.  If necessary I could try to 
provide a tiny code example that demonstrates the same issue.

 

An error occurred during parsing of 'C:\.java'. Please report a bug 
against java/source and attach dump file 'C:\.dump'.
 Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: 
-1
 at java.lang.String.substring(String.java:1967)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
 at 
org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
 at 
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
 at 
org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
 at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
 at 
org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
 at 
org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
 at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
 at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
 at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
 at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
 at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
 at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
 at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
 at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
 at com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
 at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
 at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
 at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
 at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
 at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
 at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
 [catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 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)

  was:
With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + JavaFX 
12, I started getting the following exception.  After this exception, since the 
source scan failed various IDE features don't work 

[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis updated NETBEANS-2938:
-
Description: 
With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12 + JavaFX 
12, I started getting the following exception.  After this exception, since the 
source scan failed various IDE features don't work (Navigator pane says "Please 
Wait" forever, can't Navigate sources using operations like "Go to 
Declaration", etc).

Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
problem there.

I saw this on proprietry code, and can't share it.  If necessary I could try to 
provide a tiny code example that demonstrates the same issue.

 

An error occurred during parsing of 'C:\.java'. Please report a bug 
against java/source and attach dump file 'C:\.dump'.
 Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: 
-1
 at java.lang.String.substring(String.java:1967)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
 at 
org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
 at 
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
 at 
org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
 at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
 at 
org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
 at 
org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
 at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
 at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
 at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
 at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
 at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
 at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
 at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
 at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
 at com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
 at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
 at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
 at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
 at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
 at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
 at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
 [catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 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)

  was:
With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12, I 
started getting the following exception.  After this exception, since the 
source scan failed various IDE features don't work (Navigator pane says "Please 
Wait" forever, can't Navigate sources using operations like "Go 

[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis updated NETBEANS-2938:
-
Environment: 
Windows 10
Netbeans 11.0 or 11.1, with nb-javac 1.6
OpenJDK 12
JavaFX 12
Gradle 5.5

  was:
Windows 10
Netbeans 11.0 or 11.1, with nb-javac 1.6
OpenJDK 12
Gradle 5.5


> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 or 11.1, with nb-javac 1.6
> OpenJDK 12
> JavaFX 12
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12, I 
> started getting the following exception.  After this exception, since the 
> source scan failed various IDE features don't work (Navigator pane says 
> "Please Wait" forever, can't Navigate sources using operations like "Go to 
> Declaration", etc).
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
> Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: 
> -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> 

[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis updated NETBEANS-2938:
-
Environment: 
Windows 10
Netbeans 11.0 or 11.1, with nb-javac 1.6
OpenJDK 12
Gradle 5.5

  was:
Windows 10
Netbeans 11.0 with nb-javac 1.6
OpenJDK 12
Gradle 5.5


> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 or 11.1, with nb-javac 1.6
> OpenJDK 12
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12, I 
> started getting the following exception.  After this exception, since the 
> source scan failed various IDE features don't work (Navigator pane says 
> "Please Wait" forever, can't Navigate sources using operations like "Go to 
> Declaration", etc).
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
> Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: 
> -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at 
> 

[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis updated NETBEANS-2938:
-
Environment: 
Windows 10
Netbeans 11.0 with nb-javac 1.6
OpenJDK 12
Gradle 5.5

  was:
Windows 10
Netbeans 11.0
OpenJDK 12
Gradle 5.5


> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0 with nb-javac 1.6
> OpenJDK 12
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12, I 
> started getting the following exception.  After this exception, since the 
> source scan failed various IDE features don't work (Navigator pane says 
> "Please Wait" forever, can't Navigate sources using operations like "Go to 
> Declaration", etc).
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
> Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: 
> -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at 
> 

[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis updated NETBEANS-2938:
-
Affects Version/s: 11.1

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Netbeans 11.0
> OpenJDK 12
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12, I 
> started getting the following exception.  After this exception, since the 
> source scan failed various IDE features don't work (Navigator pane says 
> "Please Wait" forever, can't Navigate sources using operations like "Go to 
> Declaration", etc).
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
> Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: 
> -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>  at 

[jira] [Commented] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


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

Travis commented on NETBEANS-2938:
--

Same sort of exception happens also on Netbeans 11.1 on Windows 10.  I didn't 
try Netbeans 11.1 on Linux.

 

An error occurred during parsing of 'C:\.java'. Please report a bug 
against java/source and attach dump file 'C:\.dump'.
Caused: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 10
 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3410)
 at java.base/java.lang.String.substring(String.java:1883)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
 at 
org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
 at 
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
 at 
org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
 at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
 at 
org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
 at 
org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
 at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
 at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
 at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
 at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
 at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
 at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
 at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
 at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
 at org.netbeans.lib.nbjavac.services.NBEnter.visitTopLevel(NBEnter.java:64)
 at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
 at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
 at com.sun.tools.javac.comp.Enter.main(Enter.java:797)
 at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:660)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:488)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:140)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
 at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
[catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
 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)

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0
> Environment: Windows 10
> Netbeans 11.0
> OpenJDK 12
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12, I 
> started getting the following exception.  After this exception, since the 
> source scan failed various IDE features don't work (Navigator pane says 
> "Please Wait" forever, can't 

[jira] [Created] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)
Travis created NETBEANS-2938:


 Summary: StringIndexOutOfBoundsException while parsing Java 12 
sources
 Key: NETBEANS-2938
 URL: https://issues.apache.org/jira/browse/NETBEANS-2938
 Project: NetBeans
  Issue Type: Bug
  Components: java - Source
 Environment: Windows 10
Netbeans 11.0
OpenJDK 12
Gradle 5.5
Reporter: Travis


With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12, I 
started getting the following exception.  After this exception, since the 
source scan failed various IDE features don't work (Navigator pane says "Please 
Wait" forever, can't Navigate sources using operations like "Go to 
Declaration", etc).

Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
problem there.

I saw this on proprietry code, and can't share it.  If necessary I could try to 
provide a tiny code example that demonstrates the same issue.

 

An error occurred during parsing of 'C:\.java'. Please report a bug 
against java/source and attach dump file 'C:\.dump'.
Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
 at java.lang.String.substring(String.java:1967)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
 at 
org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
 at 
org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
 at 
org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
 at 
org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
 at 
org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
 at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
 at 
org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
 at 
org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
 at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
 at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
 at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
 at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
 at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
 at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
 at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
 at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
 at com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
 at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
 at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
 at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
 at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
 at 
org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
 at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
 at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
 at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
 at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
[catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 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)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (NETBEANS-2938) StringIndexOutOfBoundsException while parsing Java 12 sources

2019-08-01 Thread Travis (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis updated NETBEANS-2938:
-
Affects Version/s: 11.0

> StringIndexOutOfBoundsException while parsing Java 12 sources
> -
>
> Key: NETBEANS-2938
> URL: https://issues.apache.org/jira/browse/NETBEANS-2938
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0
> Environment: Windows 10
> Netbeans 11.0
> OpenJDK 12
> Gradle 5.5
>Reporter: Travis
>Priority: Major
>
> With Netbeans 11.0 on Windows, after updating from JDK 8 to OpenJDK 12, I 
> started getting the following exception.  After this exception, since the 
> source scan failed various IDE features don't work (Navigator pane says 
> "Please Wait" forever, can't Navigate sources using operations like "Go to 
> Declaration", etc).
> Strangely, I am running Netbeans 11.0 on Linux and didn't have this same 
> problem there.
> I saw this on proprietry code, and can't share it.  If necessary I could try 
> to provide a tiny code example that demonstrates the same issue.
>  
> An error occurred during parsing of 'C:\.java'. Please report a bug 
> against java/source and attach dump file 'C:\.dump'.
> Caused: java.lang.StringIndexOutOfBoundsException: String index out of range: 
> -1
>  at java.lang.String.substring(String.java:1967)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getURL(QueriesCache.java:156)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.loadRoots(QueriesCache.java:123)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.QueriesCache.getRoots(QueriesCache.java:71)
>  at 
> org.netbeans.modules.java.j2seplatform.queries.DefaultSourceForBinaryQuery.findSourceRoots2(DefaultSourceForBinaryQuery.java:37)
>  at 
> org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:191)
>  at 
> org.netbeans.modules.parsing.impl.indexing.PathRegistry.sourceForBinaryQuery(PathRegistry.java:168)
>  at 
> org.netbeans.modules.java.source.classpath.CacheClassPath.getResources(CacheClassPath.java:148)
>  at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:363)
>  at 
> org.netbeans.modules.java.source.parsing.CachingFileManager.list(CachingFileManager.java:115)
>  at 
> org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:115)
>  at com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:801)
>  at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:709)
>  at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:589)
>  at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:645)
>  at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1142)
>  at com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:860)
>  at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:390)
>  at 
> com.sun.tools.javadoc.main.JavadocEnter.visitTopLevel(JavadocEnter.java:89)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.visitTopLevel(NBJavadocEnter.java:87)
>  at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:537)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:328)
>  at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:343)
>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:813)
>  at 
> org.netbeans.lib.nbjavac.services.NBJavadocEnter.main(NBJavadocEnter.java:67)
>  at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1142)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:399)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:623)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:484)
>  at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:136)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>  at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>  at 

[jira] [Commented] (NETBEANS-2452) -Xbootclasspath/p is no longer a supported option

2019-08-01 Thread Jamey Vassilev (JIRA)


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

Jamey Vassilev commented on NETBEANS-2452:
--

Yes, thank you Emestas, much easier solution.

> -Xbootclasspath/p is no longer a supported option
> -
>
> Key: NETBEANS-2452
> URL: https://issues.apache.org/jira/browse/NETBEANS-2452
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler, java - Platform, projects - Ant
>Affects Versions: 9.0, 10.0, 11.0
> Environment: OpenJDK 11
>Reporter: Emile Brinkman
>Assignee: Emile Brinkman
>Priority: Major
>  Labels: patch
> Fix For: 11.0
>
>
> I have upgraded from NetBeans 8.2 and JDK1.8 to Apache NetBeans 11.0 and 
> OpenJDK 11. The Xbootclasspath option is no longer supported bij JDK11 and 
> apparently has to be changed to --patch-module. It is however still used in 
> the ANT build-impl.xml file under endorsed.classpath.path. The problem is 
> that if you change "-Xbootclasspath/p:" to "-patch module java.base=" that 
> NetBeans automatically overwrites it back to "-Xbootclasspath/p" when you 
> change properties of a project. -Xbootclasspath/a and -Xbootclasspath also 
> don't work.
> I also get the following error when running a class even when I changed 
> everything to --patch module:
> {{-Xbootclasspath/p is no longer a supported option.}}
>  {{Error: Could not create the Java Virtual Machine.}}
>  {{Error: A fatal exception has occurred. Program will exit.}}
>  
> {{C:\Users\user1\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:111:
>  The following error occurred while executing this line:}}
>  
> {{C:\Users\user1\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:94:
>  Java returned: 1}}
>  {{BUILD FAILED (total time: 0 seconds)}}
> Removing the cache folder doesn't help. I am not able anymore to run this 
> class even when I change the Source/Binary format of the project back to 
> JDK1.8. It seems that Apache NetBeans has hardcoded -Xbootclasspath 
> internally?
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Created] (NETBEANS-2937) Offer Netbeans password safe first

2019-08-01 Thread JIRA
Michael Groß created NETBEANS-2937:
--

 Summary: Offer Netbeans password safe first
 Key: NETBEANS-2937
 URL: https://issues.apache.org/jira/browse/NETBEANS-2937
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: 11.1
Reporter: Michael Groß


When the notification area displays some exception I am willing to report.

BUT: When I am try to report an error some tool named "KWallet" pops up. Seems 
to be a encrypted store for passwords (= a password safe). Following its advice 
and setting up a GPG encrypted "wallet" it stops me with "seems that your 
system has no keys suitable for encryption...". So I am searching whats went 
wrong: 
[https://www.reddit.com/r/kde/comments/5qyspf/trying_to_use_kwallet_unsuccessfully/
]

—

If I cancel the KWallet windows *then* Netbeans offers me to provide a master 
key so it can store my passwords encrypted.

If Netbeans has a save password safe why does another password safe pops up? If 
the password safe from Netbeans is not save enough - why is it there?



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2936) Can't open a project in a directory whose name contains non-ASCII characters

2019-08-01 Thread JIRA


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

Michael Groß commented on NETBEANS-2936:


workaround: Rename the directory so that the name contains only english letters.

> Can't open a project in a directory whose name contains non-ASCII characters
> 
>
> Key: NETBEANS-2936
> URL: https://issues.apache.org/jira/browse/NETBEANS-2936
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Infrastructure
>Affects Versions: 11.1
>Reporter: Michael Groß
>Priority: Major
> Attachments: ide.log, ui.log
>
>
> Steps to reproduce:
>  # Prepare a directory whose name contains non-ascii characters e.g. german 
> umlauts (äöüÄÖÜ) (in my case it was 
> /home/michael/Development/04_learning/Java/NebenläufigJava)
>  # File > Open project
>  # Try to open the directory
> Actual result:
> When I try to open the directory /home/michael/Development/04_learning/Java 
> then it hangs. I Can close the window to open the project. The notification 
> control shows that there was an exception. I shall append the following 
> protocols on the issue: [^ui.log] [^ide.log]
> The exception is:
> java.nio.file.InvalidPathException: Malformed input or input contains 
> unmappable characters: 
> /home/michael/Development/04_learning/Java/Nebenl??ufigJava
>     at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:145)
>     at java.base/sun.nio.fs.UnixPath.(UnixPath.java:69)
>     at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:280)
>     at java.base/java.nio.file.Path.of(Path.java:147)
>     at java.base/java.nio.file.Paths.get(Paths.java:69)
>     at 
> java.desktop/sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:247)
>     at 
> java.desktop/javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:523)
>     at 
> org.netbeans.swing.dirchooser.DirectoryNode.getFiles(DirectoryNode.java:153)
>     at 
> org.netbeans.swing.dirchooser.DirectoryNode.loadChildren(DirectoryNode.java:114)
>     at 
> org.netbeans.swing.dirchooser.DirectoryChooserUI$UpdateWorker.run(DirectoryChooserUI.java:2720)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2936) Can't open a project in a directory whose name contains non-ASCII characters

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Groß updated NETBEANS-2936:
---
Summary: Can't open a project in a directory whose name contains non-ASCII 
characters  (was: Malformed input or input contains unmappable character)

> Can't open a project in a directory whose name contains non-ASCII characters
> 
>
> Key: NETBEANS-2936
> URL: https://issues.apache.org/jira/browse/NETBEANS-2936
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Infrastructure
>Affects Versions: 11.1
>Reporter: Michael Groß
>Priority: Major
> Attachments: ide.log, ui.log
>
>
> Steps to reproduce:
>  # Prepare a directory whose name contains non-ascii characters e.g. german 
> umlauts (äöüÄÖÜ) (in my case it was 
> /home/michael/Development/04_learning/Java/NebenläufigJava)
>  # File > Open project
>  # Try to open the directory
> Actual result:
> When I try to open the directory /home/michael/Development/04_learning/Java 
> then it hangs. I Can close the window to open the project. The notification 
> control shows that there was an exception. I shall append the following 
> protocols on the issue: [^ui.log] [^ide.log]
> The exception is:
> java.nio.file.InvalidPathException: Malformed input or input contains 
> unmappable characters: 
> /home/michael/Development/04_learning/Java/Nebenl??ufigJava
>     at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:145)
>     at java.base/sun.nio.fs.UnixPath.(UnixPath.java:69)
>     at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:280)
>     at java.base/java.nio.file.Path.of(Path.java:147)
>     at java.base/java.nio.file.Paths.get(Paths.java:69)
>     at 
> java.desktop/sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:247)
>     at 
> java.desktop/javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:523)
>     at 
> org.netbeans.swing.dirchooser.DirectoryNode.getFiles(DirectoryNode.java:153)
>     at 
> org.netbeans.swing.dirchooser.DirectoryNode.loadChildren(DirectoryNode.java:114)
>     at 
> org.netbeans.swing.dirchooser.DirectoryChooserUI$UpdateWorker.run(DirectoryChooserUI.java:2720)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2936) Malformed input or input contains unmappable character

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Groß updated NETBEANS-2936:
---
Description: 
Steps to reproduce:
 # Prepare a directory whose name contains non-ascii characters e.g. german 
umlauts (äöüÄÖÜ) (in my case it was 
/home/michael/Development/04_learning/Java/NebenläufigJava)
 # File > Open project
 # Try to open the directory

Actual result:

When I try to open the directory /home/michael/Development/04_learning/Java 
then it hangs. I Can close the window to open the project. The notification 
control shows that there was an exception. I shall append the following 
protocols on the issue: [^ui.log] [^ide.log]

The exception is:

java.nio.file.InvalidPathException: Malformed input or input contains 
unmappable characters: 
/home/michael/Development/04_learning/Java/Nebenl??ufigJava
    at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:145)
    at java.base/sun.nio.fs.UnixPath.(UnixPath.java:69)
    at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:280)
    at java.base/java.nio.file.Path.of(Path.java:147)
    at java.base/java.nio.file.Paths.get(Paths.java:69)
    at 
java.desktop/sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:247)
    at 
java.desktop/javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:523)
    at 
org.netbeans.swing.dirchooser.DirectoryNode.getFiles(DirectoryNode.java:153)
    at 
org.netbeans.swing.dirchooser.DirectoryNode.loadChildren(DirectoryNode.java:114)
    at 
org.netbeans.swing.dirchooser.DirectoryChooserUI$UpdateWorker.run(DirectoryChooserUI.java:2720)
    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)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

  was:
Steps to reproduce:
 # Prepare a directory whose name contains non-ascii characters e.g. german 
umlauts (äöüÄÖÜ) (in my case it was 
/home/michael/Development/04_learning/Java/NebenläufigJava)
 # File > Open project
 # Try to open the directory

Actual result:

When I try to open the directory /home/michael/Development/04_learning/Java 
then it hangs. I Can close the window to open the project. The notification 
control shows that there was an exception. I shall append the following 
protocols on the issue: [^ui.log] [^ide.log]


> Malformed input or input contains unmappable character
> --
>
> Key: NETBEANS-2936
> URL: https://issues.apache.org/jira/browse/NETBEANS-2936
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Infrastructure
>Affects Versions: 11.1
>Reporter: Michael Groß
>Priority: Major
> Attachments: ide.log, ui.log
>
>
> Steps to reproduce:
>  # Prepare a directory whose name contains non-ascii characters e.g. german 
> umlauts (äöüÄÖÜ) (in my case it was 
> /home/michael/Development/04_learning/Java/NebenläufigJava)
>  # File > Open project
>  # Try to open the directory
> Actual result:
> When I try to open the directory /home/michael/Development/04_learning/Java 
> then it hangs. I Can close the window to open the project. The notification 
> control shows that there was an exception. I shall append the following 
> protocols on the issue: [^ui.log] [^ide.log]
> The exception is:
> java.nio.file.InvalidPathException: Malformed input or input contains 
> unmappable characters: 
> /home/michael/Development/04_learning/Java/Nebenl??ufigJava
>     at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:145)
>     at java.base/sun.nio.fs.UnixPath.(UnixPath.java:69)
>     at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:280)
>     at java.base/java.nio.file.Path.of(Path.java:147)
>     at java.base/java.nio.file.Paths.get(Paths.java:69)
>     at 
> java.desktop/sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:247)
>     at 
> java.desktop/javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:523)
>     at 
> org.netbeans.swing.dirchooser.DirectoryNode.getFiles(DirectoryNode.java:153)
>     at 
> org.netbeans.swing.dirchooser.DirectoryNode.loadChildren(DirectoryNode.java:114)
>     at 
> org.netbeans.swing.dirchooser.DirectoryChooserUI$UpdateWorker.run(DirectoryChooserUI.java:2720)
>     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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (NETBEANS-2936) Malformed input or input contains unmappable character

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Groß updated NETBEANS-2936:
---
Description: 
Steps to reproduce:
 # Prepare a directory whose name contains non-ascii characters e.g. german 
umlauts (äöüÄÖÜ) (in my case it was 
/home/michael/Development/04_learning/Java/NebenläufigJava)
 # File > Open project
 # Try to open the directory

Actual result:

When I try to open the directory /home/michael/Development/04_learning/Java 
then it hangs. I Can close the window to open the project. The notification 
control shows that there was an exception. I shall append the following 
protocols on the issue: [^ui.log] [^ide.log]

  was:
Steps to reproduce:
 # Prepare a directory whose name contains non-ascii characters e.g. german 
umlauts (äöüÄÖÜ) (in my case it was 
/home/michael/Development/04_learning/Java/NebenläufigJava)
 # File > Open project
 # Try to open the directory

Actual result:

When I try to open the directory /home/michael/Development/04_learning/Java 
then it hangs. I Can close the window to open the project. The notification 
control shows that there was an exception. I shall append the following 
protocols on the issue.[^ide.log]


> Malformed input or input contains unmappable character
> --
>
> Key: NETBEANS-2936
> URL: https://issues.apache.org/jira/browse/NETBEANS-2936
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Infrastructure
>Affects Versions: 11.1
>Reporter: Michael Groß
>Priority: Major
> Attachments: ide.log, ui.log
>
>
> Steps to reproduce:
>  # Prepare a directory whose name contains non-ascii characters e.g. german 
> umlauts (äöüÄÖÜ) (in my case it was 
> /home/michael/Development/04_learning/Java/NebenläufigJava)
>  # File > Open project
>  # Try to open the directory
> Actual result:
> When I try to open the directory /home/michael/Development/04_learning/Java 
> then it hangs. I Can close the window to open the project. The notification 
> control shows that there was an exception. I shall append the following 
> protocols on the issue: [^ui.log] [^ide.log]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-1872) CSS parser loops infinitely with specific code

2019-08-01 Thread JIRA


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

Matthias Bläsing commented on NETBEANS-1872:


Quick tries to solve it on the grammar level failed for me. One thing I came up 
with is limiting the CSS parsing time. I pushed a prototype to:

[https://github.com/matthiasblaesing/netbeans/commit/000facd5b4888d793c97f33f35fb88871b4f502f]

I would be interested, if this works with real-world usages. I tested a merged 
CSS from a bigger website, the test case of course and successfully opened the 
scss and css files from bootstrap 3.

> CSS parser loops infinitely with specific code
> --
>
> Key: NETBEANS-1872
> URL: https://issues.apache.org/jira/browse/NETBEANS-1872
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, ide - Performance, web 
> - CSS Editor
>Affects Versions: 8.2, 10.0, 11.0
>Reporter: Mondane
>Priority: Major
>  Labels: background-scanning
> Attachments: slider.phtml
>
>
> I've come across a PHP-file which stalls the background scanning process. 
> How to reproduce:
>  * Download the attached file
>  * Create a new PHP 7.1 project with existing sources
>  ** Select the folder containing that one file
> The background scan initiates and never stops.
> History: 
> http://mail-archives.apache.org/mod_mbox/netbeans-users/201901.mbox/%3CCAB8E-LGcfjm7_91gRvt%3D8zKij8Eon6yG4aMw%3D7jbEij10Pd4vg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Created] (NETBEANS-2935) Code generated for a JSF template is not good

2019-08-01 Thread Richard Grin (JIRA)
Richard Grin created NETBEANS-2935:
--

 Summary:  Code generated for a JSF template is not good
 Key: NETBEANS-2935
 URL: https://issues.apache.org/jira/browse/NETBEANS-2935
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 10.0, 8.2, 11.1
 Environment: Windows 10, Web application
Reporter: Richard Grin


The code generated for the template:
{noformat}




Gestion des comptes

{noformat}
The CSS is not found when the template is not at the root of the web pages (for 
example if it is under WEB-INF, which is common) because of the "./" at the 
beginning.
It should work if, for example, name="./css/default.css" is replaced by 
name="css/default.css" or name="/css/default.css"



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Created] (NETBEANS-2934) Code generated to inject an EntityManager is not adapted to CMT mode

2019-08-01 Thread Richard Grin (JIRA)
Richard Grin created NETBEANS-2934:
--

 Summary:  Code generated to inject an EntityManager is not adapted 
to CMT mode
 Key: NETBEANS-2934
 URL: https://issues.apache.org/jira/browse/NETBEANS-2934
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1
 Environment: Windows 10, NetBeans 11.1
Reporter: Richard Grin


Alt-Insert to inject an EntityManager in an EJB is not good when the EJB is CMT.

The code generated by NetBeans for the injection of an EntityManager is 
 not adapted to the CMT (Container Managed Transaction) mode. "Generate" 
 menu for "Insert code..." > "Use Entity Manager...".

The generated code: 
{noformat}
    @PersistenceContext(unitName = "xxx")
     private EntityManager em;
     @Resource
     private javax.transaction.UserTransaction utx;

    public void persist(Object object) {
     try{
     utx.begin();
     em.persist(object);
     utx.commit();
     } catch (Exception e) {
 Logger.getLogger(getClass().getName()).log(Level.SEVERE, "exception 
 caught", e);
     throw new RuntimeException(e);
     }
     }
{noformat}
It should be

 
{noformat}
@PersistenceContext(unitName = xxx")
 private EntityManager em;
public void persist(Object object) { em.persist(object); }
{noformat}
 
The generated code was good in NetBeans 9; I did not try with NetBeans 10.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2933) Undo “On Save” actions

2019-08-01 Thread dennis lucero (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dennis lucero updated NETBEANS-2933:

Description: 
“On Save” actions (Tools→Options→Editor→On Save) are very useful; however they 
can also interfere with the intended formatting. For example, the 
[Jdbi|https://jdbi.org/] project has strict rules about the order and 
formatting of import statements. Using my default settings, the imports get 
messed up and I have to use another editing tool to fix them.

Therefore I suggest making the “On Save” actions undoable, separatedly from the 
user actions. After making an edit and saving the file, “On Save” actions would 
be applied as usual, however invoking “Undo” once would undo only the “On Save” 
actions and save the file again (so the user doesn’t have to save the file 
manually which would execute the “On Save” actions again), with just the edits 
the user made explicitly.

  was:
“On Save” actions (Tools→Options→Editor→On Save) are very useful; however they 
can also interfere with the intended formatting. For example, the 
[Jdbi|https://jdbi.org/] project has strict rules about the order and 
formatting of import statements. Using my default settings, the imports get 
messed up and I have to use another editing tool to fix them.

Therefore I suggest making the “On Save” actions undoable, separatedly from the 
user actions. After making an edit and saving the file, “On Save” actions would 
be applied as usual, however invoking “Undo” once would revert the “On Save” 
actions and save the file again, with just the edits the user made explicitly.


> Undo “On Save” actions
> --
>
> Key: NETBEANS-2933
> URL: https://issues.apache.org/jira/browse/NETBEANS-2933
> Project: NetBeans
>  Issue Type: Wish
>  Components: editor - Formatting  Indentation
>Affects Versions: 11.0
>Reporter: dennis lucero
>Priority: Major
>
> “On Save” actions (Tools→Options→Editor→On Save) are very useful; however 
> they can also interfere with the intended formatting. For example, the 
> [Jdbi|https://jdbi.org/] project has strict rules about the order and 
> formatting of import statements. Using my default settings, the imports get 
> messed up and I have to use another editing tool to fix them.
> Therefore I suggest making the “On Save” actions undoable, separatedly from 
> the user actions. After making an edit and saving the file, “On Save” actions 
> would be applied as usual, however invoking “Undo” once would undo only the 
> “On Save” actions and save the file again (so the user doesn’t have to save 
> the file manually which would execute the “On Save” actions again), with just 
> the edits the user made explicitly.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Created] (NETBEANS-2933) Undo “On Save” actions

2019-08-01 Thread dennis lucero (JIRA)
dennis lucero created NETBEANS-2933:
---

 Summary: Undo “On Save” actions
 Key: NETBEANS-2933
 URL: https://issues.apache.org/jira/browse/NETBEANS-2933
 Project: NetBeans
  Issue Type: Wish
  Components: editor - Formatting  Indentation
Affects Versions: 11.0
Reporter: dennis lucero


“On Save” actions (Tools→Options→Editor→On Save) are very useful; however they 
can also interfere with the intended formatting. For example, the 
[Jdbi|https://jdbi.org/] project has strict rules about the order and 
formatting of import statements. Using my default settings, the imports get 
messed up and I have to use another editing tool to fix them.

Therefore I suggest making the “On Save” actions undoable, separatedly from the 
user actions. After making an edit and saving the file, “On Save” actions would 
be applied as usual, however invoking “Undo” once would revert the “On Save” 
actions and save the file again, with just the edits the user made explicitly.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2932) no Download/Upload/Sync in context menue with 11.1

2019-08-01 Thread Tino (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tino updated NETBEANS-2932:
---
Priority: Major  (was: Blocker)

> no Download/Upload/Sync in context menue with 11.1
> --
>
> Key: NETBEANS-2932
> URL: https://issues.apache.org/jira/browse/NETBEANS-2932
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Win 10 Pro 64bit
>Reporter: Tino
>Priority: Major
>  Labels: easyfix
>
> I installed Netbeans 11.1, the folder context is not showing the FTP options 
> for Dwonload / Upload / Sync.
> Don't what was the cause. I reinstalled it 3 times, then setup 'on-save' for 
> FTP and saved a random file, after that all projects shows the FTP context 
> again and it works fine now.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Created] (NETBEANS-2932) no Download/Upload/Sync in context menue with 11.1

2019-08-01 Thread Tino (JIRA)
Tino created NETBEANS-2932:
--

 Summary: no Download/Upload/Sync in context menue with 11.1
 Key: NETBEANS-2932
 URL: https://issues.apache.org/jira/browse/NETBEANS-2932
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1
 Environment: Win 10 Pro 64bit
Reporter: Tino


I installed Netbeans 11.1, the folder context is not showing the FTP options 
for Dwonload / Upload / Sync.

Don't what was the cause. I reinstalled it 3 times, then setup 'on-save' for 
FTP and saved a random file, after that all projects shows the FTP context 
again and it works fine now.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2931) Certificate error on plugins portal and apache website => php uninstallable

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marc Krämer updated NETBEANS-2931:
--
Description: 
The page

[https://plugins.netbeans.org/nbpluginportal/updates/11.0/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/]

(which is a redirect from https://netbeans.apache.org/nb/plugins/11.1/)

is not secured by a valid certificate. Checked in all browsers. Netbeans itself 
refuses to connect to this page:

"Unable to connect to the NetBeans Distribution because of Received fatal 
alert: handshake_failure"

 

Since the tar ball does not contain an installable php distribution it is not 
possible to activate php.

"Some plugins require plugin org.netbeans.libs.oracle.jsparser to be installed.
 The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
The following plugin is affected:   

PHP"

  was:
The page

[https://plugins.netbeans.org/nbpluginportal/updates/11.0/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/]

is not secured by a valid certificate. Checked in all browsers. Netbeans itself 
refuses to connect to this page:

"Unable to connect to the NetBeans Distribution because of Received fatal 
alert: handshake_failure"

 

Since the tar ball does not contain an installable php distribution it is not 
possible to activate php.

"Some plugins require plugin org.netbeans.libs.oracle.jsparser to be installed.
 The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
The following plugin is affected:   

PHP"


> Certificate error on plugins portal and apache website => php uninstallable
> ---
>
> Key: NETBEANS-2931
> URL: https://issues.apache.org/jira/browse/NETBEANS-2931
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0
> Environment: mageia linux 7
>Reporter: Marc Krämer
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The page
> [https://plugins.netbeans.org/nbpluginportal/updates/11.0/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/]
> (which is a redirect from https://netbeans.apache.org/nb/plugins/11.1/)
> is not secured by a valid certificate. Checked in all browsers. Netbeans 
> itself refuses to connect to this page:
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
>  
> Since the tar ball does not contain an installable php distribution it is not 
> possible to activate php.
> "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be 
> installed.
>  The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
> The following plugin is affected:   
> PHP"



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-1927) unable to connect to update/plugins portal

2019-08-01 Thread JIRA


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

Marc Krämer edited comment on NETBEANS-1927 at 8/1/19 12:38 PM:


same again for the latest nb 11.1

using mageia 7 (now)

The certificate by [https://plugins.netbeans.org/nbpluginportal/updates/] is 
invalid. 

And it looks like there is some redirect from 
[https://netbeans.apache.org/nb/plugins/11.1/] to the netbeans.org site 
everytime I call this site I'm redirected.


was (Author: mokraemer):
same again for the latest nb 11.1

using mageia 7 (now)

The certificate by https://plugins.netbeans.org/nbpluginportal/updates/ is 
invalid. 

> unable to connect to update/plugins portal
> --
>
> Key: NETBEANS-1927
> URL: https://issues.apache.org/jira/browse/NETBEANS-1927
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 10.0
> Environment: $ uname -a
> Linux localhost.localdomain 4.14.89-desktop-1.mga6 #1 SMP Mon Dec 17 13:14:48 
> UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> $ java -showversion
> openjdk version "1.8.0_191"
> OpenJDK Runtime Environment (build 1.8.0_191-b12)
> OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
>Reporter: Marc Krämer
>Assignee: Johan Persson
>Priority: Minor
>
> Netbeans Distribution points to
> [https://netbeans.apache.org/nb/updates/10.0/updates.xml.gz]
> but trying to connect always results in
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
> Looks like apache.org uses a certificate which is not available to all java 
> versions.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-1927) unable to connect to update/plugins portal

2019-08-01 Thread JIRA


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

Marc Krämer commented on NETBEANS-1927:
---

same again for the latest nb 11.1

using mageia 7 (now)

The certificate by https://plugins.netbeans.org/nbpluginportal/updates/ is 
invalid. 

> unable to connect to update/plugins portal
> --
>
> Key: NETBEANS-1927
> URL: https://issues.apache.org/jira/browse/NETBEANS-1927
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 10.0
> Environment: $ uname -a
> Linux localhost.localdomain 4.14.89-desktop-1.mga6 #1 SMP Mon Dec 17 13:14:48 
> UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> $ java -showversion
> openjdk version "1.8.0_191"
> OpenJDK Runtime Environment (build 1.8.0_191-b12)
> OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
>Reporter: Marc Krämer
>Assignee: Johan Persson
>Priority: Minor
>
> Netbeans Distribution points to
> [https://netbeans.apache.org/nb/updates/10.0/updates.xml.gz]
> but trying to connect always results in
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
> Looks like apache.org uses a certificate which is not available to all java 
> versions.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2931) Certificate error on plugins portal and apache website => php uninstallable

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marc Krämer updated NETBEANS-2931:
--
External issue URL: 
https://plugins.netbeans.org/nbpluginportal/updates/11.0/  (was: 
http://plugins.netbeans.org/nbpluginportal/updates/11.0/)

> Certificate error on plugins portal and apache website => php uninstallable
> ---
>
> Key: NETBEANS-2931
> URL: https://issues.apache.org/jira/browse/NETBEANS-2931
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0
> Environment: mageia linux 7
>Reporter: Marc Krämer
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The page
> http://plugins.netbeans.org/nbpluginportal/updates/11.0/
> is not secured by a valid certificate. Checked in all browsers. Netbeans 
> itself refuses to connect to this page:
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
>  
> Since the tar ball does not contain an installable php distribution it is not 
> possible to activate php.
> "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be 
> installed.
>  The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
> The following plugin is affected:   
> PHP"



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2931) Certificate error on plugins portal and apache website => php uninstallable

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marc Krämer updated NETBEANS-2931:
--
Description: 
The page

http://plugins.netbeans.org/nbpluginportal/updates/11.0/

is not secured by a valid certificate. Checked in all browsers. Netbeans itself 
refuses to connect to this page:

"Unable to connect to the NetBeans Distribution because of Received fatal 
alert: handshake_failure"

 

Since the tar ball does not contain an installable php distribution it is not 
possible to activate php.

"Some plugins require plugin org.netbeans.libs.oracle.jsparser to be installed.
 The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
The following plugin is affected:   

PHP"

  was:
The page

[https://plugins.netbeans.org/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/]

is not secured by a valid certificate. Checked in all browsers. Netbeans itself 
refuses to connect to this page:

"Unable to connect to the NetBeans Distribution because of Received fatal 
alert: handshake_failure"

 

Since the tar ball does not contain an installable php distribution it is not 
possible to activate php.

"Some plugins require plugin org.netbeans.libs.oracle.jsparser to be installed.
 The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
The following plugin is affected:   

PHP"


> Certificate error on plugins portal and apache website => php uninstallable
> ---
>
> Key: NETBEANS-2931
> URL: https://issues.apache.org/jira/browse/NETBEANS-2931
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0
> Environment: mageia linux 7
>Reporter: Marc Krämer
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The page
> http://plugins.netbeans.org/nbpluginportal/updates/11.0/
> is not secured by a valid certificate. Checked in all browsers. Netbeans 
> itself refuses to connect to this page:
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
>  
> Since the tar ball does not contain an installable php distribution it is not 
> possible to activate php.
> "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be 
> installed.
>  The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
> The following plugin is affected:   
> PHP"



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2931) Certificate error on plugins portal and apache website => php uninstallable

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marc Krämer updated NETBEANS-2931:
--
External issue URL: 
http://plugins.netbeans.org/nbpluginportal/updates/11.0/  (was: 
https://plugins.netbeans.org/)

> Certificate error on plugins portal and apache website => php uninstallable
> ---
>
> Key: NETBEANS-2931
> URL: https://issues.apache.org/jira/browse/NETBEANS-2931
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0
> Environment: mageia linux 7
>Reporter: Marc Krämer
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The page
> http://plugins.netbeans.org/nbpluginportal/updates/11.0/
> is not secured by a valid certificate. Checked in all browsers. Netbeans 
> itself refuses to connect to this page:
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
>  
> Since the tar ball does not contain an installable php distribution it is not 
> possible to activate php.
> "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be 
> installed.
>  The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
> The following plugin is affected:   
> PHP"



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2931) Certificate error on plugins portal and apache website => php uninstallable

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marc Krämer updated NETBEANS-2931:
--
Description: 
The page

[https://plugins.netbeans.org/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/]

is not secured by a valid certificate. Checked in all browsers. Netbeans itself 
refuses to connect to this page:

"Unable to connect to the NetBeans Distribution because of Received fatal 
alert: handshake_failure"

 

Since the tar ball does not contain an installable php distribution it is not 
possible to activate php.

"Some plugins require plugin org.netbeans.libs.oracle.jsparser to be installed.
 The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
The following plugin is affected:   

PHP"

  was:
The page

[https://plugins.netbeans.org/]

is not secured by a valid certificate. Checked in all browsers. Netbeans itself 
refuses to connect to this page:

"Unable to connect to the NetBeans Distribution because of Received fatal 
alert: handshake_failure"

 

Since the tar ball does not contain an installable php distribution it is not 
possible to activate php.

"Some plugins require plugin org.netbeans.libs.oracle.jsparser to be installed.
The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. The 
following plugin is affected:   

PHP"


> Certificate error on plugins portal and apache website => php uninstallable
> ---
>
> Key: NETBEANS-2931
> URL: https://issues.apache.org/jira/browse/NETBEANS-2931
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0
> Environment: mageia linux 7
>Reporter: Marc Krämer
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The page
> [https://plugins.netbeans.org/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/]
> is not secured by a valid certificate. Checked in all browsers. Netbeans 
> itself refuses to connect to this page:
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
>  
> Since the tar ball does not contain an installable php distribution it is not 
> possible to activate php.
> "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be 
> installed.
>  The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
> The following plugin is affected:   
> PHP"



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Created] (NETBEANS-2931) Certificate error on plugins portal and apache website => php uninstallable

2019-08-01 Thread JIRA
Marc Krämer created NETBEANS-2931:
-

 Summary: Certificate error on plugins portal and apache website => 
php uninstallable
 Key: NETBEANS-2931
 URL: https://issues.apache.org/jira/browse/NETBEANS-2931
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0, 10.0, 9.0
 Environment: mageia linux 7
Reporter: Marc Krämer


The page

[https://plugins.netbeans.org/]

is not secured by a valid certificate. Checked in all browsers. Netbeans itself 
refuses to connect to this page:

"Unable to connect to the NetBeans Distribution because of Received fatal 
alert: handshake_failure"

 

Since the tar ball does not contain an installable php distribution it is not 
possible to activate php.

"Some plugins require plugin org.netbeans.libs.oracle.jsparser to be installed.
The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. The 
following plugin is affected:   

PHP"



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2907) Using 11.1 I was informed that I should update to 9.0

2019-08-01 Thread JIRA


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

Jiří Kovalský commented on NETBEANS-2907:
-

I have requested access to the VM hosting that Update Center. Once I get that 
approved I will update the catalog.

> Using 11.1 I was informed that I should update to 9.0
> -
>
> Key: NETBEANS-2907
> URL: https://issues.apache.org/jira/browse/NETBEANS-2907
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Autoupdate
>Affects Versions: 11.1
> Environment: Windows 10, Java 12, NB 11.1
>Reporter: Kenneth Fogel
>Assignee: Jiří Kovalský
>Priority: Minor
> Fix For: Next
>
>
> To my surprise an update baloon poped up and suggested an update to 9.0 
> despite the fact that I was running 11.1



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-1872) CSS parser loops infinitely with specific code

2019-08-01 Thread Junichi Yamamoto (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-1872:
---
Summary: CSS parser loops infinitely with specific code  (was: Background 
scan stalls on specific PHP file)

> CSS parser loops infinitely with specific code
> --
>
> Key: NETBEANS-1872
> URL: https://issues.apache.org/jira/browse/NETBEANS-1872
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, ide - Performance, web 
> - CSS Editor
>Affects Versions: 8.2, 10.0, 11.0
>Reporter: Mondane
>Priority: Major
>  Labels: background-scanning
> Attachments: slider.phtml
>
>
> I've come across a PHP-file which stalls the background scanning process. 
> How to reproduce:
>  * Download the attached file
>  * Create a new PHP 7.1 project with existing sources
>  ** Select the folder containing that one file
> The background scan initiates and never stops.
> History: 
> http://mail-archives.apache.org/mod_mbox/netbeans-users/201901.mbox/%3CCAB8E-LGcfjm7_91gRvt%3D8zKij8Eon6yG4aMw%3D7jbEij10Pd4vg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-1872) Background scan stalls on specific PHP file

2019-08-01 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-1872:


[~crodar] Great. It means that this is a CSS problem. Thanks!

> Background scan stalls on specific PHP file
> ---
>
> Key: NETBEANS-1872
> URL: https://issues.apache.org/jira/browse/NETBEANS-1872
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, ide - Performance, web 
> - CSS Editor
>Affects Versions: 8.2, 10.0, 11.0
>Reporter: Mondane
>Priority: Major
>  Labels: background-scanning
> Attachments: slider.phtml
>
>
> I've come across a PHP-file which stalls the background scanning process. 
> How to reproduce:
>  * Download the attached file
>  * Create a new PHP 7.1 project with existing sources
>  ** Select the folder containing that one file
> The background scan initiates and never stops.
> History: 
> http://mail-archives.apache.org/mod_mbox/netbeans-users/201901.mbox/%3CCAB8E-LGcfjm7_91gRvt%3D8zKij8Eon6yG4aMw%3D7jbEij10Pd4vg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-1872) Background scan stalls on specific PHP file

2019-08-01 Thread Danil (JIRA)


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

Danil commented on NETBEANS-1872:
-

And additional, I for reproduce, add
{code:java}
public void testNETBEANS1872() {
    assertParses("aa {\n"
    + "    @@@"
    + "    #@@@"
    + "}"
    );
    }
{code}
to 
ide/css.lib/test/unit/src/org/netbeans/modules/css/lib/Css3ParserLessTest.java

If run this test, it will looping

> Background scan stalls on specific PHP file
> ---
>
> Key: NETBEANS-1872
> URL: https://issues.apache.org/jira/browse/NETBEANS-1872
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, ide - Performance, web 
> - CSS Editor
>Affects Versions: 8.2, 10.0, 11.0
>Reporter: Mondane
>Priority: Major
>  Labels: background-scanning
> Attachments: slider.phtml
>
>
> I've come across a PHP-file which stalls the background scanning process. 
> How to reproduce:
>  * Download the attached file
>  * Create a new PHP 7.1 project with existing sources
>  ** Select the folder containing that one file
> The background scan initiates and never stops.
> History: 
> http://mail-archives.apache.org/mod_mbox/netbeans-users/201901.mbox/%3CCAB8E-LGcfjm7_91gRvt%3D8zKij8Eon6yG4aMw%3D7jbEij10Pd4vg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-1872) Background scan stalls on specific PHP file

2019-08-01 Thread Danil (JIRA)


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

Danil edited comment on NETBEANS-1872 at 8/1/19 10:44 AM:
--

And additional, I add the test for reproduce:
{code:java}
public void testNETBEANS1872() {
    assertParses("aa {\n"
    + "    @@@"
    + "    #@@@"
    + "}"
    );
    }
{code}
to 
ide/css.lib/test/unit/src/org/netbeans/modules/css/lib/Css3ParserLessTest.java

If run this test, it will looping


was (Author: crodar):
And additional, I for reproduce, add
{code:java}
public void testNETBEANS1872() {
    assertParses("aa {\n"
    + "    @@@"
    + "    #@@@"
    + "}"
    );
    }
{code}
to 
ide/css.lib/test/unit/src/org/netbeans/modules/css/lib/Css3ParserLessTest.java

If run this test, it will looping

> Background scan stalls on specific PHP file
> ---
>
> Key: NETBEANS-1872
> URL: https://issues.apache.org/jira/browse/NETBEANS-1872
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Parsing  Indexing, ide - Performance, web 
> - CSS Editor
>Affects Versions: 8.2, 10.0, 11.0
>Reporter: Mondane
>Priority: Major
>  Labels: background-scanning
> Attachments: slider.phtml
>
>
> I've come across a PHP-file which stalls the background scanning process. 
> How to reproduce:
>  * Download the attached file
>  * Create a new PHP 7.1 project with existing sources
>  ** Select the folder containing that one file
> The background scan initiates and never stops.
> History: 
> http://mail-archives.apache.org/mod_mbox/netbeans-users/201901.mbox/%3CCAB8E-LGcfjm7_91gRvt%3D8zKij8Eon6yG4aMw%3D7jbEij10Pd4vg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Assigned] (NETBEANS-2907) Using 11.1 I was informed that I should update to 9.0

2019-08-01 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiří Kovalský reassigned NETBEANS-2907:
---

Assignee: Jiří Kovalský  (was: Geertjan Wielenga)

> Using 11.1 I was informed that I should update to 9.0
> -
>
> Key: NETBEANS-2907
> URL: https://issues.apache.org/jira/browse/NETBEANS-2907
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Autoupdate
>Affects Versions: 11.1
> Environment: Windows 10, Java 12, NB 11.1
>Reporter: Kenneth Fogel
>Assignee: Jiří Kovalský
>Priority: Minor
> Fix For: Next
>
>
> To my surprise an update baloon poped up and suggested an update to 9.0 
> despite the fact that I was running 11.1



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2930) Event Dispatch Thread (EDT) in Plugins Tab

2019-08-01 Thread Petar Krumov (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Krumov updated NETBEANS-2930:
---
Priority: Minor  (was: Major)

> Event Dispatch Thread (EDT) in Plugins Tab
> --
>
> Key: NETBEANS-2930
> URL: https://issues.apache.org/jira/browse/NETBEANS-2930
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.1
>Reporter: Petar Krumov
>Priority: Minor
>
> *Pre-conditions:*
>  Start Netbeans IDE
>  
> *Steps:*
>  # From menu Tools chose Plugins
>  # Click on tab Installed
> *Current*: AWT Event dispatch thread (EDT)
> {quote}Stack-trace: java.lang.Exception: Stack dump
>  at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
>  at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
>  at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
>  at 
> javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
>  at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
>  at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
>  at 
> org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
>  at 
> org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
>  at 
> org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
>  at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
>  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)
> {quote}
> *Expected*: No issues
>  
> *Additional information*: {color:#59afe1}*The issue is not visible to the 
> user since there's no EDT logger in Netbeans IDE by default. I've used an 
> automation tool (QFTest) to find the issue.*{color}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-1901) Font rendering issue - Display bug on a space followed by a tab

2019-08-01 Thread Admeen (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Admeen updated NETBEANS-1901:
-
Description: 
There appears to be a bug in the editor when a space is followed by a tab. The 
editor does not display the space and tab, but the space and tab characters are 
present in the file.

The editor / code formatting does not appear to be functioning correctly here.

UPDATE:
In the tab "Fonts & Colors" in the "Syntax" subtab I had the "default" font set 
to "Monospaced 16". The issue occurs when using this font size. When I change 
it back to the default value "Monospaced 13" or "Monospaced 18" it works just 
fine. After some more testing I found out that with the font set to "Monospaced 
10, 11, 12, 14, 15, 16, 17, 19 & 20" it does not work (didn't test higher or 
lower values).

UPDATE 2:
The issue persists in Netbeans version 11.1 now with JRE 12.0.2 installed.

  was:
There appears to be a bug in the editor when a space is followed by a tab. The 
editor does not display the space and tab, but the space and tab characters are 
present in the file.

The editor / code formatting does not appear to be functioning correctly here.

UPDATE:
In the tab "Fonts & Colors" in the "Syntax" subtab I had the "default" font set 
to "Monospaced 16". The issue occurs when using this font size. When I change 
it back to the default value "Monospaced 13" or "Monospaced 18" it works just 
fine. After some more testing I found out that with the font set to "Monospaced 
10, 11, 12, 14, 15, 16, 17, 19 & 20" it does not work (didn't test higher or 
lower values).


> Font rendering issue - Display bug on a space followed by a tab
> ---
>
> Key: NETBEANS-1901
> URL: https://issues.apache.org/jira/browse/NETBEANS-1901
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Painting  Printing
>Affects Versions: 10.0, 11.0, 11.1
> Environment: Windows 10, MacOS High Sierra & MacOS Mojave
> Netbeans 10, Netbeans 11 & Netbeans 11.1
> JRE 11 & 12
>Reporter: Admeen
>Priority: Minor
>  Labels: editor, formatting
> Attachments: 20190319_actual_result.png, 20190319_example_code.php, 
> 20190319_expected_result.png, 20190320_syntax_settings.png, 
> editor_bug_space_tab.png, formatting_settings.png, netbeans-1901-jy-01.png, 
> netbeans-1901-jy-02.png
>
>
> There appears to be a bug in the editor when a space is followed by a tab. 
> The editor does not display the space and tab, but the space and tab 
> characters are present in the file.
> The editor / code formatting does not appear to be functioning correctly here.
> UPDATE:
> In the tab "Fonts & Colors" in the "Syntax" subtab I had the "default" font 
> set to "Monospaced 16". The issue occurs when using this font size. When I 
> change it back to the default value "Monospaced 13" or "Monospaced 18" it 
> works just fine. After some more testing I found out that with the font set 
> to "Monospaced 10, 11, 12, 14, 15, 16, 17, 19 & 20" it does not work (didn't 
> test higher or lower values).
> UPDATE 2:
> The issue persists in Netbeans version 11.1 now with JRE 12.0.2 installed.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2930) Event Dispatch Thread (EDT) in Plugins Tab

2019-08-01 Thread Petar Krumov (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Krumov updated NETBEANS-2930:
---
Description: 
*Pre-conditions:*
 Start Netbeans IDE

 

*Steps:*
 # From menu Tools chose Plugins
 # Click on tab Installed

*Current*: AWT Event dispatch thread (EDT)
{quote}Stack-trace: java.lang.Exception: Stack dump
 at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
 at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
 at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
 at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
 at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
 at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
 at org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
 at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
 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)
{quote}
*Expected*: No issues

 

*Additional information*: {color:#59afe1}*The issue is not visible to the user 
since there's no EDT logger in Netbeans IDE by default. I've used an automation 
tool (QFTest) to find the issue.*{color}

  was:
*Pre-conditions:*
 Start Netbeans IDE

 

*Steps:*
 # From menu Tools chose Plugins
 # Click on tab Installed

*Current*: AWT Event dispatch thread (EDT)
{quote}Stack-trace: java.lang.Exception: Stack dump
 at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
 at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
 at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
 at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
 at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
 at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
 at org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
 at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
 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)
{quote}
*Expected*: No issues

 

*Additional information*: {color:#59afe1}*The issue is typically not visible to 
the user since there's no EDT logger in Netbeans IDE. I've used an automation 
tool (QFTest) to find the issue.*{color}


> Event Dispatch Thread (EDT) in Plugins Tab
> --
>
> Key: NETBEANS-2930
> URL: https://issues.apache.org/jira/browse/NETBEANS-2930
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.1
>Reporter: Petar Krumov
>Priority: Major
>
> *Pre-conditions:*
>  Start Netbeans IDE
>  
> *Steps:*
>  # From menu Tools chose Plugins
>  # Click on tab Installed
> *Current*: AWT Event dispatch thread (EDT)
> {quote}Stack-trace: java.lang.Exception: Stack dump
>  at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
>  at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
>  at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
>  at 
> javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
>  at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
>  at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
>  at 
> org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
>  at 
> org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
>  at 
> org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
>  at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
>  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)
> {quote}
> *Expected*: No issues
>  
> *Additional 

[jira] [Updated] (NETBEANS-2930) Event Dispatch Thread (EDT) in Plugins Tab

2019-08-01 Thread Petar Krumov (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Krumov updated NETBEANS-2930:
---
Description: 
*Pre-conditions:*
 Start Netbeans IDE

 

*Steps:*
 # From menu Tools chose Plugins
 # Click on tab Installed

*Current*: AWT Event dispatch thread (EDT)
{quote}Stack-trace: java.lang.Exception: Stack dump
 at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
 at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
 at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
 at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
 at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
 at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
 at org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
 at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
 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)
{quote}
*Expected*: No issues

 

*Additional information*: {color:#59afe1}*The issue is typically not visible to 
the user since there's no EDT logger in Netbeans IDE. I've used an automation 
tool (QFTest) to find the issue.*{color}

  was:
*Pre-conditions:*
 Start Netbeans IDE

 

*Steps:*
 # From menu Tools chose Plugins
 # Click on tab Installed

*Current*: AWT Event dispatch thread (EDT)
{quote}Stack-trace: java.lang.Exception: Stack dump
 at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
 at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
 at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
 at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
 at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
 at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
 at org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
 at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
 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)
{quote}
*Expected*: No issues

 

*Additional information*: *The issue is typically not visible to the user since 
there's no EDT logger in Netbeans IDE. I've used an automation tool (QFTest) to 
find the issue.*


> Event Dispatch Thread (EDT) in Plugins Tab
> --
>
> Key: NETBEANS-2930
> URL: https://issues.apache.org/jira/browse/NETBEANS-2930
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.1
>Reporter: Petar Krumov
>Priority: Major
>
> *Pre-conditions:*
>  Start Netbeans IDE
>  
> *Steps:*
>  # From menu Tools chose Plugins
>  # Click on tab Installed
> *Current*: AWT Event dispatch thread (EDT)
> {quote}Stack-trace: java.lang.Exception: Stack dump
>  at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
>  at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
>  at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
>  at 
> javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
>  at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
>  at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
>  at 
> org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
>  at 
> org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
>  at 
> org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
>  at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
>  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)
> {quote}
> *Expected*: No issues
>  
> *Additional information*: 

[jira] [Created] (NETBEANS-2930) Event Dispatch Thread (EDT) in Plugins Tab

2019-08-01 Thread Petar Krumov (JIRA)
Petar Krumov created NETBEANS-2930:
--

 Summary: Event Dispatch Thread (EDT) in Plugins Tab
 Key: NETBEANS-2930
 URL: https://issues.apache.org/jira/browse/NETBEANS-2930
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Plugin Manager
Affects Versions: 11.1
Reporter: Petar Krumov


*Pre-conditions:*
Start Netbeans IDE

 

*Steps:*
 # From menu Tools chose Plugins
 # Click on tab Installed

*Current*: AWT Event dispatch thread (EDT)
{quote}Stack-trace: java.lang.Exception: Stack dump
 at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
 at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
 at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
 at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
 at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
 at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
 at org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
 at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
 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)
{quote}
*Expected*: No issues

 

*Additional information*: The issue is typically not visible to the user since 
there's no EDT logger in Netbeans IDE. I've used an automation tool (QFTest) to 
find the issue.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2930) Event Dispatch Thread (EDT) in Plugins Tab

2019-08-01 Thread Petar Krumov (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Petar Krumov updated NETBEANS-2930:
---
Description: 
*Pre-conditions:*
 Start Netbeans IDE

 

*Steps:*
 # From menu Tools chose Plugins
 # Click on tab Installed

*Current*: AWT Event dispatch thread (EDT)
{quote}Stack-trace: java.lang.Exception: Stack dump
 at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
 at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
 at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
 at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
 at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
 at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
 at org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
 at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
 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)
{quote}
*Expected*: No issues

 

*Additional information*: *The issue is typically not visible to the user since 
there's no EDT logger in Netbeans IDE. I've used an automation tool (QFTest) to 
find the issue.*

  was:
*Pre-conditions:*
Start Netbeans IDE

 

*Steps:*
 # From menu Tools chose Plugins
 # Click on tab Installed

*Current*: AWT Event dispatch thread (EDT)
{quote}Stack-trace: java.lang.Exception: Stack dump
 at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
 at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
 at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
 at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
 at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
 at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
 at org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
 at 
org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
 at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
 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)
{quote}
*Expected*: No issues

 

*Additional information*: The issue is typically not visible to the user since 
there's no EDT logger in Netbeans IDE. I've used an automation tool (QFTest) to 
find the issue.


> Event Dispatch Thread (EDT) in Plugins Tab
> --
>
> Key: NETBEANS-2930
> URL: https://issues.apache.org/jira/browse/NETBEANS-2930
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.1
>Reporter: Petar Krumov
>Priority: Major
>
> *Pre-conditions:*
>  Start Netbeans IDE
>  
> *Steps:*
>  # From menu Tools chose Plugins
>  # Click on tab Installed
> *Current*: AWT Event dispatch thread (EDT)
> {quote}Stack-trace: java.lang.Exception: Stack dump
>  at de.qfs.lib.util.Misc.getCurrentStackTrace(Misc.java:1737)
>  at de.qfs.apps.qftest.client.awt.s.a(SourceFile:2272)
>  at de.qfs.apps.qftest.client.awt.s.stateChanged(SourceFile:1750)
>  at 
> javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
>  at javax.swing.DefaultButtonModel.setEnabled(DefaultButtonModel.java:209)
>  at javax.swing.AbstractButton.setEnabled(AbstractButton.java:2092)
>  at 
> org.netbeans.modules.autoupdate.ui.UnitTab.setWaitingState(UnitTab.java:231)
>  at 
> org.netbeans.modules.autoupdate.ui.PluginManagerUI.setWaitingState(PluginManagerUI.java:138)
>  at 
> org.netbeans.modules.autoupdate.ui.PluginManagerUI$2$1.run(PluginManagerUI.java:178)
>  at org.netbeans.modules.autoupdate.ui.Utilities$1.run(Utilities.java:469)
>  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)
> {quote}
> *Expected*: No issues
>  
> *Additional information*: *The issue is typically not visible 

[jira] [Commented] (NETBEANS-1959) Unable to start debugging PHP (xdebug)

2019-08-01 Thread Lucio Crusca (JIRA)


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

Lucio Crusca commented on NETBEANS-1959:


[~Edd] Please note that I have now worked around the problem by using Chromium 
instead of Chrome for my debug sessions. I don't know why, but that way it 
works on every development system I happen to install.

> Unable to start debugging PHP (xdebug)
> --
>
> Key: NETBEANS-1959
> URL: https://issues.apache.org/jira/browse/NETBEANS-1959
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 10.0, 11.0
> Environment: OS: Debian GNU/Linux buster/sid amd64
> NB10 - NB11
> OpenJDK 11
> PHP 7.x
>Reporter: Lucio Crusca
>Priority: Major
>  Labels: php-debug, php7
>
> Product Version = NetBeans 10
>  Operating System = Debian GNU/Linux testing/sid up to date
>  openjdk version "11.0.1" 2018-10-16
>  OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
> Reproducibility: Happens every time
> I'm not able to debug any PHP project. NB shows "Waiting For Connection 
> (xdebug)", and it does not automatically open my PHP website in the browser 
> tab, but the internal PHP Debugger state has nothing to do with the wait for 
> xdebug connection.
> Here is my xdebug configuration, which works correctly at least with Visual 
> Studio Code for Linux :
> {{zend_extension = /usr/lib/php/20180731/xdebug.so}}
>  {{xdebug.remote_autostart = 1}}
>  {{xdebug.remote_enable = 1}}
>  {{xdebug.remote_handler = dbgp}}
>  {{xdebug.remote_host = 127.0.0.1}}
>  {{xdebug.remote_mode = req}}
>  {{xdebug.remote_port = }}
>  {{xdebug.profiler_enable_trigger_value="dbgp"}}
>  {{xdebug.trace_enable_trigger_value="dbgp"}}
>  {{xdebug.profiler_enable=0}}
>  {{xdebug.profiler_enable_trigger=1}}
>  {{xdebug.trace_enable_trigger=1}}
>  {{xdebug.profiler_output_dir="/var/log/xdebug"}}
>  {{xdebug.gc_stats_output_dir="/var/log/xdebug"}}
>  {{xdebug.trace_output_dir="/var/log/xdebug"}}
>  {{xdebug.remote_log="/var/log/xdebug/remote.log"}}
>  {{xdebug.coverage_enable=0}}
>  {{xdebug.extended_info=1}}
>  {{xdebug.profiler_append=1}}
>  {{xdebug.trace_options=1}}
>  {{xdebug.collect_params=1}}
> I think either NB has a bug at DGBP protocol level, or the "Waiting For 
> Connection (xdebug)" message does not reflect the real state of the PHP 
> Debugger, at least in my case. More likely the latter.
> Here are the contents of /var/log/xdebug/remote.log:
> {{[23361] Log opened at 2019-01-20 10:55:27}}
>  {{[23361] I: Connecting to configured address/port: 127.0.0.1:.}}
>  {{[23361] I: Connected to client. :)}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; 
> fileuri="file:///home/lucio/virtualbit/progetti/workspace/netbeans/bvacance/index.php"
>  language="PHP" xdebug:language_version="7.3.0RC3" protocol_version="1.0" 
> appid="23361" idekey="lucio"> version="2.7.0beta1">}}
>  {{[23361]}}
>  {{[23361] <- feature_set -i 0 -n show_hidden -v 1}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; command="feature_set" 
> transaction_id="0" feature="show_hidden" success="1">}}
>  {{[23361]}}
>  {{[23361] <- feature_set -i 1 -n max_depth -v 2}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; command="feature_set" 
> transaction_id="1" feature="max_depth" success="1">}}
>  {{[23361]}}
>  {{[23361] <- feature_set -i 2 -n max_children -v 30}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; command="feature_set" 
> transaction_id="2" feature="max_children" success="1">}}
>  {{[23361]}}
>  {{[23361] <- feature_set -i 3 -n max_data -v 65536}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; command="feature_set" 
> transaction_id="3" feature="max_data" success="1">}}
>  {{[23361]}}
> However, when I try with Visual Studio Code for Linux, which works, the log 
> file contents are completely different (which was expected), but a noticeable 
> difference is the presence of "breakpoint_set" and "run" commands in the VSC 
> case, that are missing in the NB case. 
> I suspect NB fails to start the browser tab for some reason and, as a 
> consequence, fails to send the appropriate commands to xdebug.
> What I know for sure is that the "Waiting For Connection (xdebug)" message is 
> misleading at best in my case, because logs show the connection has correctly 
> happened, and the problem is elsewhere.
> I don't know if we need more precise messages about what's going on in NB to 
> sort this out, so I don't know if the bug here is the approximate message, or 
> the failure to open the browser tab, or a real problem in the DBGP protocol 
> implementation.
> Please note that, when I say NB does not open my site in the browser tab, I 
> mean NB manages to open a new browser tab, but it fails 

[jira] [Commented] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete commented on NETBEANS-2929:
-

I stopped netbeans, deleted the whole cache files in 
`C:\Users\PC983\AppData\Local\NetBeans\Cache\11.1` and test it again. It makes 
no difference.

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where netbeans runs
> xdebug.remote_port=51234
> xdebug.remote_timeout=3000
> xdebug.remote_mode=req
> xdebug.remote_log=/var/log/xdebug/xdebug.log
> xdebug.idekey = netbeans-xdebug
> xdebug.renite_enable = 1
> xdebug.max_nesting_level = 1000
> xdebug.profiler_enable_trigger = 1
> xdebug.profiler_output_dir = '/var/log/xdebug'{code}
> 3. Restart apache2 service
> 4. Check if xdebug is installed by checking phpinfo
> 5. open Netbeans 11.1
> 6. Go to Tools > Options -> PHP -> Debugging
> 7. set "Debugger Port" to 51234
> 8. set "Session ID" to netbeans-xdebug
> 9. open a test script
> 10. right click -> Debug File
> 11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
> nothing happens.
> */var/log/xdebug/xdebug.log:*
> {code:java}
> [22426] Log opened at 2019-08-01 07:01:46
> [22426] I: Connecting to configured address/port: 192.168.40.161:51234.
> [22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
> [22426] Log closed at 2019-08-01 07:01:49{code}
>  
> 12. Do the same on Netbeans 8.2 and notice that it works



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto edited comment on NETBEANS-2929 at 8/1/19 8:01 AM:


Thanks. Maybe, you can also ask windows users about this via mailing lists. 
(I'm using linux.)

BTW, did you import from the old version when you installed NetBeans 11.1? If 
so, please try deleting your cache directory for NB 11.1.

 


was (Author: junichi11):
Thanks. Maybe, you can also ask windows users abou this via mailing lists. (I'm 
using linux.)

BTW, did you import from the old version when you installed NetBeans 11.1? If 
so, please try deleting your cache directory for NB 11.1.

 

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where netbeans runs
> xdebug.remote_port=51234
> xdebug.remote_timeout=3000
> xdebug.remote_mode=req
> xdebug.remote_log=/var/log/xdebug/xdebug.log
> xdebug.idekey = netbeans-xdebug
> xdebug.renite_enable = 1
> xdebug.max_nesting_level = 1000
> xdebug.profiler_enable_trigger = 1
> xdebug.profiler_output_dir = '/var/log/xdebug'{code}
> 3. Restart apache2 service
> 4. Check if xdebug is installed by checking phpinfo
> 5. open Netbeans 11.1
> 6. Go to Tools > Options -> PHP -> Debugging
> 7. set "Debugger Port" to 51234
> 8. set "Session ID" to netbeans-xdebug
> 9. open a test script
> 10. right click -> Debug File
> 11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
> nothing happens.
> */var/log/xdebug/xdebug.log:*
> {code:java}
> [22426] Log opened at 2019-08-01 07:01:46
> [22426] I: Connecting to configured address/port: 192.168.40.161:51234.
> [22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
> [22426] Log closed at 2019-08-01 07:01:49{code}
>  
> 12. Do the same on Netbeans 8.2 and notice that it works



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2929:


Thanks. Maybe, you can also ask windows users abou this via mailing lists. (I'm 
using linux.)

BTW, did you import from the old version when you installed NetBeans 11.1? If 
so, please try deleting your cache directory for NB 11.1.

 

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where netbeans runs
> xdebug.remote_port=51234
> xdebug.remote_timeout=3000
> xdebug.remote_mode=req
> xdebug.remote_log=/var/log/xdebug/xdebug.log
> xdebug.idekey = netbeans-xdebug
> xdebug.renite_enable = 1
> xdebug.max_nesting_level = 1000
> xdebug.profiler_enable_trigger = 1
> xdebug.profiler_output_dir = '/var/log/xdebug'{code}
> 3. Restart apache2 service
> 4. Check if xdebug is installed by checking phpinfo
> 5. open Netbeans 11.1
> 6. Go to Tools > Options -> PHP -> Debugging
> 7. set "Debugger Port" to 51234
> 8. set "Session ID" to netbeans-xdebug
> 9. open a test script
> 10. right click -> Debug File
> 11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
> nothing happens.
> */var/log/xdebug/xdebug.log:*
> {code:java}
> [22426] Log opened at 2019-08-01 07:01:46
> [22426] I: Connecting to configured address/port: 192.168.40.161:51234.
> [22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
> [22426] Log closed at 2019-08-01 07:01:49{code}
>  
> 12. Do the same on Netbeans 8.2 and notice that it works



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete edited comment on NETBEANS-2929 at 8/1/19 7:44 AM:
-

Update: This is definitely a Netbeans 11.1 bug. I just tried it from another 
webserver where xdebug always works reliable since a year, but netbeans 11.1 
can't connect. I just get `Waiting for Connection (netbeans-xdebug)` forever 
and the website loads for a few minutes until it loads without any breakpoint 
being hit and I still see the Waiting for Connection message.

The log just says `Log opened at 2019-08-01 07:40:51` and nothing happens. 
While it works perfectly fine in 8.2


was (Author: edd):
Update: This is definitely a Netbeans 11.1 bug. I just tried it from another 
webserver where xdebug always works reliable since a year, but netbeans 11.1 
can't connect. I just get `Waiting for Connection (netbeans-xdebug)` forever 
and the website loads forever. The log just says `Log opened at 2019-08-01 
07:40:51` and nothing happens. While it works perfectly fine in 8.2

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where netbeans runs
> xdebug.remote_port=51234
> xdebug.remote_timeout=3000
> xdebug.remote_mode=req
> xdebug.remote_log=/var/log/xdebug/xdebug.log
> xdebug.idekey = netbeans-xdebug
> xdebug.renite_enable = 1
> xdebug.max_nesting_level = 1000
> xdebug.profiler_enable_trigger = 1
> xdebug.profiler_output_dir = '/var/log/xdebug'{code}
> 3. Restart apache2 service
> 4. Check if xdebug is installed by checking phpinfo
> 5. open Netbeans 11.1
> 6. Go to Tools > Options -> PHP -> Debugging
> 7. set "Debugger Port" to 51234
> 8. set "Session ID" to netbeans-xdebug
> 9. open a test script
> 10. right click -> Debug File
> 11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
> nothing happens.
> */var/log/xdebug/xdebug.log:*
> {code:java}
> [22426] Log opened at 2019-08-01 07:01:46
> [22426] I: Connecting to configured address/port: 192.168.40.161:51234.
> [22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
> [22426] Log closed at 2019-08-01 07:01:49{code}
>  
> 12. Do the same on Netbeans 8.2 and notice that it works



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete edited comment on NETBEANS-2929 at 8/1/19 7:43 AM:
-

Update: This is definitely a Netbeans 11.1 bug. I just tried it from another 
webserver where xdebug always works reliable since a year, but netbeans 11.1 
can't connect. I just get `Waiting for Connection (netbeans-xdebug)` forever 
and the website loads forever. The log just says `Log opened at 2019-08-01 
07:40:51` and nothing happens. While it works perfectly fine in 8.2


was (Author: edd):
Update: This is definitely a Netbeans 11.1 bug. I just tried it from another 
webserver where xdebug always works reliable since a year, but netbeans can't 
connect. I just get `Waiting for Connection (netbeans-xdebug)` forever and the 
website loads forever. The log just says `Log opened at 2019-08-01 07:40:51` 
and nothing happens. While it works perfectly fine in 8.2

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where netbeans runs
> xdebug.remote_port=51234
> xdebug.remote_timeout=3000
> xdebug.remote_mode=req
> xdebug.remote_log=/var/log/xdebug/xdebug.log
> xdebug.idekey = netbeans-xdebug
> xdebug.renite_enable = 1
> xdebug.max_nesting_level = 1000
> xdebug.profiler_enable_trigger = 1
> xdebug.profiler_output_dir = '/var/log/xdebug'{code}
> 3. Restart apache2 service
> 4. Check if xdebug is installed by checking phpinfo
> 5. open Netbeans 11.1
> 6. Go to Tools > Options -> PHP -> Debugging
> 7. set "Debugger Port" to 51234
> 8. set "Session ID" to netbeans-xdebug
> 9. open a test script
> 10. right click -> Debug File
> 11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
> nothing happens.
> */var/log/xdebug/xdebug.log:*
> {code:java}
> [22426] Log opened at 2019-08-01 07:01:46
> [22426] I: Connecting to configured address/port: 192.168.40.161:51234.
> [22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
> [22426] Log closed at 2019-08-01 07:01:49{code}
>  
> 12. Do the same on Netbeans 8.2 and notice that it works



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete commented on NETBEANS-2929:
-

Update: This is definitely a Netbeans 11.1 bug. I just tried it from another 
webserver where xdebug always works reliable since a year, but netbeans can't 
connect. I just get `Waiting for Connection (netbeans-xdebug)` forever and the 
website loads forever. The log just says `Log opened at 2019-08-01 07:40:51` 
and nothing happens. While it works perfectly fine in 8.2

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where netbeans runs
> xdebug.remote_port=51234
> xdebug.remote_timeout=3000
> xdebug.remote_mode=req
> xdebug.remote_log=/var/log/xdebug/xdebug.log
> xdebug.idekey = netbeans-xdebug
> xdebug.renite_enable = 1
> xdebug.max_nesting_level = 1000
> xdebug.profiler_enable_trigger = 1
> xdebug.profiler_output_dir = '/var/log/xdebug'{code}
> 3. Restart apache2 service
> 4. Check if xdebug is installed by checking phpinfo
> 5. open Netbeans 11.1
> 6. Go to Tools > Options -> PHP -> Debugging
> 7. set "Debugger Port" to 51234
> 8. set "Session ID" to netbeans-xdebug
> 9. open a test script
> 10. right click -> Debug File
> 11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
> nothing happens.
> */var/log/xdebug/xdebug.log:*
> {code:java}
> [22426] Log opened at 2019-08-01 07:01:46
> [22426] I: Connecting to configured address/port: 192.168.40.161:51234.
> [22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
> [22426] Log closed at 2019-08-01 07:01:49{code}
>  
> 12. Do the same on Netbeans 8.2 and notice that it works



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete edited comment on NETBEANS-2929 at 8/1/19 7:13 AM:
-

# Install xdebug 2.7.2 from source by following instructions from here 
[https://github.com/xdebug/xdebug]
 # Set the following in php.ini

{code:java}
[XDebug]
zend_extension = /usr/lib64/php7/extensions/xdebug.so
xdebug.remote_connect_back=0
xdebug.force_display_errors=on
xdebug.force_error_reporting=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
where netbeans runs
xdebug.remote_port=51234
xdebug.remote_timeout=3000
xdebug.remote_mode=req
xdebug.remote_log=/var/log/xdebug/xdebug.log
xdebug.idekey = netbeans-xdebug
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = '/var/log/xdebug'{code}
3. Restart apache2 service

4. Check if xdebug is installed by checking phpinfo

5. open Netbeans 11.1

6. Go to Tools > Options -> PHP -> Debugging

7. set "Debugger Port" to 51234

8. set "Session ID" to netbeans-xdebug

9. open a test script

10. right click -> Debug File

11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
nothing happens.

*/var/log/xdebug/xdebug.log:*
{code:java}
[22426] Log opened at 2019-08-01 07:01:46
[22426] I: Connecting to configured address/port: 192.168.40.161:51234.
[22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
[22426] Log closed at 2019-08-01 07:01:49{code}
 


was (Author: edd):
# Install xdebug 2.7.2 from source by following instructions from here 
[https://github.com/xdebug/xdebug]
 # Set the following in php.ini

{code:java}
[XDebug]
zend_extension = /usr/lib64/php7/extensions/xdebug.so
xdebug.remote_connect_back=0
xdebug.force_display_errors=on
xdebug.force_error_reporting=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
where netbeans runs
xdebug.remote_port=51234
xdebug.remote_timeout=3000
xdebug.remote_mode=req
xdebug.remote_log=/var/log/xdebug/xdebug.log
xdebug.idekey = netbeans-xdebug
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = '/var/log/xdebug'{code}
3. Restart apache2 service

4. Check if xdebug is installed by checking phpinfo

5. open Netbeans 11.1

6. Go to Tools -> Options -> PHP -> Debugging-

7. set "Debugger Port" to 51234

8. set "Session ID" to netbeans-xdebug

9. open a test script

10. right click -> Debug File

11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
nothing happens.


*/var/log/xdebug/xdebug.log:*
{code:java}
[22426] Log opened at 2019-08-01 07:01:46
[22426] I: Connecting to configured address/port: 192.168.40.161:51234.
[22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
[22426] Log closed at 2019-08-01 07:01:49{code}
 

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where netbeans runs
> xdebug.remote_port=51234
> xdebug.remote_timeout=3000
> xdebug.remote_mode=req
> xdebug.remote_log=/var/log/xdebug/xdebug.log
> xdebug.idekey = netbeans-xdebug
> xdebug.renite_enable = 1
> xdebug.max_nesting_level = 1000
> xdebug.profiler_enable_trigger = 1
> xdebug.profiler_output_dir = '/var/log/xdebug'{code}
> 3. Restart apache2 service
> 4. Check if xdebug is installed by checking phpinfo
> 5. open Netbeans 11.1
> 6. Go to Tools > Options -> PHP -> Debugging
> 7. set "Debugger Port" to 51234
> 8. set "Session ID" to netbeans-xdebug
> 9. open a test script
> 10. right click -> Debug File
> 11. 

[jira] [Updated] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eduard Fekete updated NETBEANS-2929:

Description: 
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)

 Java: jdk1.8.0_172, jre1.8.0_181

 

*Reproduction:*
 # Install xdebug 2.7.2 from source by following instructions from here 
[https://github.com/xdebug/xdebug]
 # Set the following in php.ini

{code:java}
[XDebug]
zend_extension = /usr/lib64/php7/extensions/xdebug.so
xdebug.remote_connect_back=0
xdebug.force_display_errors=on
xdebug.force_error_reporting=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
where netbeans runs
xdebug.remote_port=51234
xdebug.remote_timeout=3000
xdebug.remote_mode=req
xdebug.remote_log=/var/log/xdebug/xdebug.log
xdebug.idekey = netbeans-xdebug
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = '/var/log/xdebug'{code}
3. Restart apache2 service

4. Check if xdebug is installed by checking phpinfo

5. open Netbeans 11.1

6. Go to Tools > Options -> PHP -> Debugging

7. set "Debugger Port" to 51234

8. set "Session ID" to netbeans-xdebug

9. open a test script

10. right click -> Debug File

11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
nothing happens.

*/var/log/xdebug/xdebug.log:*
{code:java}
[22426] Log opened at 2019-08-01 07:01:46
[22426] I: Connecting to configured address/port: 192.168.40.161:51234.
[22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
[22426] Log closed at 2019-08-01 07:01:49{code}
 

12. Do the same on Netbeans 8.2 and notice that it works

  was:
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)

 Java: jdk1.8.0_172, jre1.8.0_181

 

*Reproduction:*
 # Install xdebug 2.7.2 from source by following instructions from here 
[https://github.com/xdebug/xdebug]
 # Set the following in php.ini

{code:java}
[XDebug]
zend_extension = /usr/lib64/php7/extensions/xdebug.so
xdebug.remote_connect_back=0
xdebug.force_display_errors=on
xdebug.force_error_reporting=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
where netbeans runs
xdebug.remote_port=51234
xdebug.remote_timeout=3000
xdebug.remote_mode=req
xdebug.remote_log=/var/log/xdebug/xdebug.log
xdebug.idekey = netbeans-xdebug
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = '/var/log/xdebug'{code}
3. Restart apache2 service

4. Check if xdebug is installed by checking phpinfo

5. open Netbeans 11.1

6. Go to Tools > Options -> PHP -> Debugging

7. set "Debugger Port" to 51234

8. set "Session ID" to netbeans-xdebug

9. open a test script

10. right click -> Debug File

11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
nothing happens.

*/var/log/xdebug/xdebug.log:*
{code:java}
[22426] Log opened at 2019-08-01 07:01:46
[22426] I: Connecting to configured address/port: 192.168.40.161:51234.
[22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
[22426] Log closed at 2019-08-01 07:01:49{code}
 


> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161  

[jira] [Updated] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eduard Fekete updated NETBEANS-2929:

Description: 
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)

 Java: jdk1.8.0_172, jre1.8.0_181

 

*Reproduction:*
 # Install xdebug 2.7.2 from source by following instructions from here 
[https://github.com/xdebug/xdebug]
 # Set the following in php.ini

{code:java}
[XDebug]
zend_extension = /usr/lib64/php7/extensions/xdebug.so
xdebug.remote_connect_back=0
xdebug.force_display_errors=on
xdebug.force_error_reporting=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
where netbeans runs
xdebug.remote_port=51234
xdebug.remote_timeout=3000
xdebug.remote_mode=req
xdebug.remote_log=/var/log/xdebug/xdebug.log
xdebug.idekey = netbeans-xdebug
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = '/var/log/xdebug'{code}
3. Restart apache2 service

4. Check if xdebug is installed by checking phpinfo

5. open Netbeans 11.1

6. Go to Tools > Options -> PHP -> Debugging

7. set "Debugger Port" to 51234

8. set "Session ID" to netbeans-xdebug

9. open a test script

10. right click -> Debug File

11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
nothing happens.

*/var/log/xdebug/xdebug.log:*
{code:java}
[22426] Log opened at 2019-08-01 07:01:46
[22426] I: Connecting to configured address/port: 192.168.40.161:51234.
[22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
[22426] Log closed at 2019-08-01 07:01:49{code}
 

  was:
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)

 Java: jdk1.8.0_172, jre1.8.0_181

 

*Reproduction:*
 # Install xdebug 2.7.2 from source by following instructions from here 
[https://github.com/xdebug/xdebug]
 # Set the following in php.ini

{code:java}
[XDebug]
zend_extension = /usr/lib64/php7/extensions/xdebug.so
xdebug.remote_connect_back=0
xdebug.force_display_errors=on
xdebug.force_error_reporting=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
where netbeans runs
xdebug.remote_port=51234
xdebug.remote_timeout=3000
xdebug.remote_mode=req
xdebug.remote_log=/var/log/xdebug/xdebug.log
xdebug.idekey = netbeans-xdebug
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = '/var/log/xdebug'{code}
3. Restart apache2 service

4. Check if xdebug is installed by checking phpinfo

5. open Netbeans 11.1

6. Go to Tools -> Options -> PHP -> Debugging-

7. set "Debugger Port" to 51234

8. set "Session ID" to netbeans-xdebug

9. open a test script

10. right click -> Debug File

11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
nothing happens.

*/var/log/xdebug/xdebug.log:*
{code:java}
[22426] Log opened at 2019-08-01 07:01:46
[22426] I: Connecting to configured address/port: 192.168.40.161:51234.
[22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
[22426] Log closed at 2019-08-01 07:01:49{code}
 


> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where 

[jira] [Commented] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete commented on NETBEANS-2929:
-

# Install xdebug 2.7.2 from source by following instructions from here 
[https://github.com/xdebug/xdebug]
 # Set the following in php.ini

{code:java}
[XDebug]
zend_extension = /usr/lib64/php7/extensions/xdebug.so
xdebug.remote_connect_back=0
xdebug.force_display_errors=on
xdebug.force_error_reporting=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
where netbeans runs
xdebug.remote_port=51234
xdebug.remote_timeout=3000
xdebug.remote_mode=req
xdebug.remote_log=/var/log/xdebug/xdebug.log
xdebug.idekey = netbeans-xdebug
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = '/var/log/xdebug'{code}
3. Restart apache2 service

4. Check if xdebug is installed by checking phpinfo

5. open Netbeans 11.1

6. Go to Tools -> Options -> PHP -> Debugging-

7. set "Debugger Port" to 51234

8. set "Session ID" to netbeans-xdebug

9. open a test script

10. right click -> Debug File

11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
nothing happens.


*/var/log/xdebug/xdebug.log:*
{code:java}
[22426] Log opened at 2019-08-01 07:01:46
[22426] I: Connecting to configured address/port: 192.168.40.161:51234.
[22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
[22426] Log closed at 2019-08-01 07:01:49{code}
 

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  
>  
> Java: jdk1.8.0_172, jre1.8.0_181



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eduard Fekete updated NETBEANS-2929:

Description: 
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)

 Java: jdk1.8.0_172, jre1.8.0_181

 

*Reproduction:*
 # Install xdebug 2.7.2 from source by following instructions from here 
[https://github.com/xdebug/xdebug]
 # Set the following in php.ini

{code:java}
[XDebug]
zend_extension = /usr/lib64/php7/extensions/xdebug.so
xdebug.remote_connect_back=0
xdebug.force_display_errors=on
xdebug.force_error_reporting=on
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
where netbeans runs
xdebug.remote_port=51234
xdebug.remote_timeout=3000
xdebug.remote_mode=req
xdebug.remote_log=/var/log/xdebug/xdebug.log
xdebug.idekey = netbeans-xdebug
xdebug.renite_enable = 1
xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = '/var/log/xdebug'{code}
3. Restart apache2 service

4. Check if xdebug is installed by checking phpinfo

5. open Netbeans 11.1

6. Go to Tools -> Options -> PHP -> Debugging-

7. set "Debugger Port" to 51234

8. set "Session ID" to netbeans-xdebug

9. open a test script

10. right click -> Debug File

11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
nothing happens.

*/var/log/xdebug/xdebug.log:*
{code:java}
[22426] Log opened at 2019-08-01 07:01:46
[22426] I: Connecting to configured address/port: 192.168.40.161:51234.
[22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
[22426] Log closed at 2019-08-01 07:01:49{code}
 

  was:
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)

 

 

Java: jdk1.8.0_172, jre1.8.0_181


> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  Java: jdk1.8.0_172, jre1.8.0_181
>  
> *Reproduction:*
>  # Install xdebug 2.7.2 from source by following instructions from here 
> [https://github.com/xdebug/xdebug]
>  # Set the following in php.ini
> {code:java}
> [XDebug]
> zend_extension = /usr/lib64/php7/extensions/xdebug.so
> xdebug.remote_connect_back=0
> xdebug.force_display_errors=on
> xdebug.force_error_reporting=on
> xdebug.remote_enable=on
> xdebug.remote_handler=dbgp
> xdebug.remote_host=192.168.40.161   #replace with IP of your remote client 
> where netbeans runs
> xdebug.remote_port=51234
> xdebug.remote_timeout=3000
> xdebug.remote_mode=req
> xdebug.remote_log=/var/log/xdebug/xdebug.log
> xdebug.idekey = netbeans-xdebug
> xdebug.renite_enable = 1
> xdebug.max_nesting_level = 1000
> xdebug.profiler_enable_trigger = 1
> xdebug.profiler_output_dir = '/var/log/xdebug'{code}
> 3. Restart apache2 service
> 4. Check if xdebug is installed by checking phpinfo
> 5. open Netbeans 11.1
> 6. Go to Tools -> Options -> PHP -> Debugging-
> 7. set "Debugger Port" to 51234
> 8. set "Session ID" to netbeans-xdebug
> 9. open a test script
> 10. right click -> Debug File
> 11. Notice that "Wating for Connection (netbeans-xdebug)" shows forever and 
> nothing happens.
> */var/log/xdebug/xdebug.log:*
> {code:java}
> [22426] Log opened at 2019-08-01 07:01:46
> [22426] I: Connecting to configured address/port: 192.168.40.161:51234.
> [22426] E: Time-out connecting to client (Waited: 3000 ms). :-(
> [22426] Log closed at 2019-08-01 07:01:49{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2929:


Just write your exact steps to reproduce it. Otherwise, we cannot do anything.

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  
>  
> Java: jdk1.8.0_172, jre1.8.0_181



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete edited comment on NETBEANS-2929 at 8/1/19 7:01 AM:
-

You are not using the same version and you are on Linux. I also tried it with 
xdebug 2.6, same issue. Must be a bug related to netbeans 11.1 since it works 
with 8.2


was (Author: edd):
You are not using the same version and you are on Linux. I also tried it with 
xdebug 2.6, same issue

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  
>  
> Java: jdk1.8.0_172, jre1.8.0_181



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eduard Fekete updated NETBEANS-2929:

Description: 
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)

 

 

Java: jdk1.8.0_172, jre1.8.0_181

  was:
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)


> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)
>  
>  
> Java: jdk1.8.0_172, jre1.8.0_181



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete commented on NETBEANS-2929:
-

You are not using the same version and you are on Linux. I also tried it with 
xdebug 2.6, same issue

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Comment Edited] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto edited comment on NETBEANS-2929 at 8/1/19 6:55 AM:


I can't reproduce it.

PHP 7.2.19-0ubuntu0.18.04.1 (cli) (built: Jun 4 2019 14:48:12) ( NTS )
 Copyright (c) 1997-2018 The PHP Group
 Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
 with Zend OPcache v7.2.19-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend 
Technologies
 with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
{code:java}
// /etc/php/7.2/cli/conf.d/20-xdebug.ini and 
/etc/php/7.2/apache2/conf.d/20-xdebug.ini
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.idekey="netbeans-xdebug"
{code}
Product Version: Apache NetBeans IDE 11.1
 Java: 1.8.0_202; Java HotSpot(TM) 64-Bit Server VM 25.202-b08 
 Runtime: Java(TM) SE Runtime Environment 1.8.0_202-b08 
 System: Linux version 4.16.0-041600-generic running on amd64; UTF-8;

 

!netbeans-2929-screenshot.png!

 


was (Author: junichi11):
I can't reproduce it.

PHP 7.2.19-0ubuntu0.18.04.1 (cli) (built: Jun 4 2019 14:48:12) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
 with Zend OPcache v7.2.19-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend 
Technologies
 with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
{code:java}
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.idekey="netbeans-xdebug"
{code}
Product Version: Apache NetBeans IDE 11.1
 Java: 1.8.0_202; Java HotSpot(TM) 64-Bit Server VM 25.202-b08 
Runtime: Java(TM) SE Runtime Environment 1.8.0_202-b08 
System: Linux version 4.16.0-041600-generic running on amd64; UTF-8;

 

!netbeans-2929-screenshot.png!

 

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Junichi Yamamoto (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-2929:
---
Priority: Major  (was: Blocker)

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Major
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2929:


I can't reproduce it.

PHP 7.2.19-0ubuntu0.18.04.1 (cli) (built: Jun 4 2019 14:48:12) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
 with Zend OPcache v7.2.19-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend 
Technologies
 with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
{code:java}
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.idekey="netbeans-xdebug"
{code}
Product Version: Apache NetBeans IDE 11.1
 Java: 1.8.0_202; Java HotSpot(TM) 64-Bit Server VM 25.202-b08 
Runtime: Java(TM) SE Runtime Environment 1.8.0_202-b08 
System: Linux version 4.16.0-041600-generic running on amd64; UTF-8;

 

!netbeans-2929-screenshot.png!

 

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Blocker
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Junichi Yamamoto (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto updated NETBEANS-2929:
---
Attachment: netbeans-2929-screenshot.png

> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Blocker
> Attachments: netbeans-2929-screenshot.png
>
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2927) PHP code completion does not work

2019-08-01 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2927:


Great to hear (y)

> PHP code completion does not work
> -
>
> Key: NETBEANS-2927
> URL: https://issues.apache.org/jira/browse/NETBEANS-2927
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows
>Reporter: Krzysztof
>Priority: Major
> Attachments: netbeans-2927-screenshot.png, php.png
>
>
> After upgrade from 11.0 to 11.1 PHP code completion does not work anymore. 
> Hitting Ctrl+Space gives "No suggestions" message.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-2927) PHP code completion does not work

2019-08-01 Thread Krzysztof (JIRA)


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

Krzysztof commented on NETBEANS-2927:
-

Deleting cache directory helped. Thank you!

> PHP code completion does not work
> -
>
> Key: NETBEANS-2927
> URL: https://issues.apache.org/jira/browse/NETBEANS-2927
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows
>Reporter: Krzysztof
>Priority: Major
> Attachments: netbeans-2927-screenshot.png, php.png
>
>
> After upgrade from 11.0 to 11.1 PHP code completion does not work anymore. 
> Hitting Ctrl+Space gives "No suggestions" message.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eduard Fekete updated NETBEANS-2929:

Description: 
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both NetBeans (Port, IDE key)

  was:
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both apaches (Port, IDE key)


> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Blocker
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both NetBeans (Port, IDE key)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Updated] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eduard Fekete updated NETBEANS-2929:

Description: 
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.

 

The configuration is the same in both apaches (Port, IDE key)

  was:
I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.


> xdebug not working with NetBeans 11.1
> -
>
> Key: NETBEANS-2929
> URL: https://issues.apache.org/jira/browse/NETBEANS-2929
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 64 bit
>Reporter: Eduard Fekete
>Priority: Blocker
>
> I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.
> It does not start the debugger and says "Waiting for debugger 
> (netbeans-xdebug)" but nothing happens.
> If I try it in NetBeans 8.2 then it works.
>  
> The configuration is the same in both apaches (Port, IDE key)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



[jira] [Commented] (NETBEANS-1959) Unable to start debugging PHP (xdebug)

2019-08-01 Thread Eduard Fekete (JIRA)


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

Eduard Fekete commented on NETBEANS-1959:
-

I have the same problem, but it works with NetBeans 8.2. I also changed my port 
from 9000 to 51234

> Unable to start debugging PHP (xdebug)
> --
>
> Key: NETBEANS-1959
> URL: https://issues.apache.org/jira/browse/NETBEANS-1959
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 10.0, 11.0
> Environment: OS: Debian GNU/Linux buster/sid amd64
> NB10 - NB11
> OpenJDK 11
> PHP 7.x
>Reporter: Lucio Crusca
>Priority: Major
>  Labels: php-debug, php7
>
> Product Version = NetBeans 10
>  Operating System = Debian GNU/Linux testing/sid up to date
>  openjdk version "11.0.1" 2018-10-16
>  OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
> Reproducibility: Happens every time
> I'm not able to debug any PHP project. NB shows "Waiting For Connection 
> (xdebug)", and it does not automatically open my PHP website in the browser 
> tab, but the internal PHP Debugger state has nothing to do with the wait for 
> xdebug connection.
> Here is my xdebug configuration, which works correctly at least with Visual 
> Studio Code for Linux :
> {{zend_extension = /usr/lib/php/20180731/xdebug.so}}
>  {{xdebug.remote_autostart = 1}}
>  {{xdebug.remote_enable = 1}}
>  {{xdebug.remote_handler = dbgp}}
>  {{xdebug.remote_host = 127.0.0.1}}
>  {{xdebug.remote_mode = req}}
>  {{xdebug.remote_port = }}
>  {{xdebug.profiler_enable_trigger_value="dbgp"}}
>  {{xdebug.trace_enable_trigger_value="dbgp"}}
>  {{xdebug.profiler_enable=0}}
>  {{xdebug.profiler_enable_trigger=1}}
>  {{xdebug.trace_enable_trigger=1}}
>  {{xdebug.profiler_output_dir="/var/log/xdebug"}}
>  {{xdebug.gc_stats_output_dir="/var/log/xdebug"}}
>  {{xdebug.trace_output_dir="/var/log/xdebug"}}
>  {{xdebug.remote_log="/var/log/xdebug/remote.log"}}
>  {{xdebug.coverage_enable=0}}
>  {{xdebug.extended_info=1}}
>  {{xdebug.profiler_append=1}}
>  {{xdebug.trace_options=1}}
>  {{xdebug.collect_params=1}}
> I think either NB has a bug at DGBP protocol level, or the "Waiting For 
> Connection (xdebug)" message does not reflect the real state of the PHP 
> Debugger, at least in my case. More likely the latter.
> Here are the contents of /var/log/xdebug/remote.log:
> {{[23361] Log opened at 2019-01-20 10:55:27}}
>  {{[23361] I: Connecting to configured address/port: 127.0.0.1:.}}
>  {{[23361] I: Connected to client. :)}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; 
> fileuri="file:///home/lucio/virtualbit/progetti/workspace/netbeans/bvacance/index.php"
>  language="PHP" xdebug:language_version="7.3.0RC3" protocol_version="1.0" 
> appid="23361" idekey="lucio"> version="2.7.0beta1">}}
>  {{[23361]}}
>  {{[23361] <- feature_set -i 0 -n show_hidden -v 1}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; command="feature_set" 
> transaction_id="0" feature="show_hidden" success="1">}}
>  {{[23361]}}
>  {{[23361] <- feature_set -i 1 -n max_depth -v 2}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; command="feature_set" 
> transaction_id="1" feature="max_depth" success="1">}}
>  {{[23361]}}
>  {{[23361] <- feature_set -i 2 -n max_children -v 30}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; command="feature_set" 
> transaction_id="2" feature="max_children" success="1">}}
>  {{[23361]}}
>  {{[23361] <- feature_set -i 3 -n max_data -v 65536}}
>  {{[23361] ->  xmlns:xdebug="http://xdebug.org/dbgp/xdebug; command="feature_set" 
> transaction_id="3" feature="max_data" success="1">}}
>  {{[23361]}}
> However, when I try with Visual Studio Code for Linux, which works, the log 
> file contents are completely different (which was expected), but a noticeable 
> difference is the presence of "breakpoint_set" and "run" commands in the VSC 
> case, that are missing in the NB case. 
> I suspect NB fails to start the browser tab for some reason and, as a 
> consequence, fails to send the appropriate commands to xdebug.
> What I know for sure is that the "Waiting For Connection (xdebug)" message is 
> misleading at best in my case, because logs show the connection has correctly 
> happened, and the problem is elsewhere.
> I don't know if we need more precise messages about what's going on in NB to 
> sort this out, so I don't know if the bug here is the approximate message, or 
> the failure to open the browser tab, or a real problem in the DBGP protocol 
> implementation.
> Please note that, when I say NB does not open my site in the browser tab, I 
> mean NB manages to open a new browser tab, but it fails to redirect it to my 
> website, and I get only a new browser tab, pointing to a tmp file and showing 
> a 

[jira] [Created] (NETBEANS-2929) xdebug not working with NetBeans 11.1

2019-08-01 Thread Eduard Fekete (JIRA)
Eduard Fekete created NETBEANS-2929:
---

 Summary: xdebug not working with NetBeans 11.1
 Key: NETBEANS-2929
 URL: https://issues.apache.org/jira/browse/NETBEANS-2929
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1
 Environment: Windows 10 64 bit
Reporter: Eduard Fekete


I tried xdebug 2.7.2 with PHP 7.2.5 running on a remote linux openSUSE server.

It does not start the debugger and says "Waiting for debugger 
(netbeans-xdebug)" but nothing happens.

If I try it in NetBeans 8.2 then it works.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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