[jira] [Commented] (NETBEANS-3579) Code completion not working inside block lambdas

2022-10-19 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini commented on NETBEANS-3579:


Maxence: the current version is 15, and current issue tracker is 
https://github.com/apache/netbeans/issues

> Code completion not working inside block lambdas
> 
>
> Key: NETBEANS-3579
> URL: https://issues.apache.org/jira/browse/NETBEANS-3579
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 11.2
>Reporter: Jan Lahoda
>Assignee: Akhilesh Singh
>Priority: Critical
> Fix For: 12.3
>
> Attachments: 3579.png, RE Defect #3579 Status  Findings.msg, RE 
> Defect #3579 Status  Findings.msg, Screenshot (346).png
>
>
> Consider the following code ('|' should not be part of the code, and 
> represents where the caret should be placed):
> {{package org.netbeans.modules.learning.lambda.code.completion;}}
> {{import java.util.Collection;}}
> {{public class NewClass {}}
> {{    public int compute(Collection c) {}}
> {{    return c.stream().map(s -> {s.|)}}
> {{    }}}
> {{}}}
> Invoking the code completion at the marked place ('|') yields not results 
> whatsoever for me. That is apparently wrong - there should be results for a 
> variable of type String.
>  
> The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
> running on JDK 13:
> Product Version: Apache NetBeans IDE 11.2
> Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
> Runtime: OpenJDK Runtime Environment 13.0.1+9
> System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
> User directory: /tmp/nbuser.lambda.test
> Cache directory: /tmp/nbuser.lambda.test/var/cache



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
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-5637) Automatic configuration of javadoc for JDK platforms

2021-04-29 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-5637:
--

 Summary: Automatic configuration of javadoc for JDK platforms
 Key: NETBEANS-5637
 URL: https://issues.apache.org/jira/browse/NETBEANS-5637
 Project: NetBeans
  Issue Type: Bug
  Components: java - Javadoc, java - Platform
Affects Versions: 11.3
Reporter: Alessandro Polverini


I've tried on all possible ways I could think and followed all the 
stackexchange suggestions but I was not able to link the jdk javadoc for java 
11 to 16 using the one available online from oracle website.

Since the URL of the javadoc is well defined and stable, for example 
https://docs.oracle.com/en/java/javase/11/docs/api/ for java11, it would be 
useful to autoconfigure it as a default when creating a new entry in the "java 
platforms" netbeans configuration.



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

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

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



[jira] [Updated] (NETBEANS-3110) Netbeans warns of missing persistance unit on a Spring project

2021-01-24 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini updated NETBEANS-3110:
---
Attachment: bug-3110.png

> Netbeans warns of missing persistance unit on a Spring project
> --
>
> Key: NETBEANS-3110
> URL: https://issues.apache.org/jira/browse/NETBEANS-3110
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations, java - Hints
>Affects Versions: 11.1, 12.2
> Environment: Java 11, Netbeans 11.1, Linux
>Reporter: Alessandro Polverini
>Priority: Major
> Attachments: bug-3110.png, demo.zip
>
>
> When working on a Spring or Spring Boot project, where the persistance unit 
> is handled automatically by the framework (the default), every @Entity class 
> in the project has the hint:
> "The project does not contain a persistance unit"
> and we are prompted to create one.
> The IDE should understand that this is not an error when using Spring.



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

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

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



[jira] [Updated] (NETBEANS-3110) Netbeans warns of missing persistance unit on a Spring project

2021-01-24 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini updated NETBEANS-3110:
---
Attachment: demo.zip

> Netbeans warns of missing persistance unit on a Spring project
> --
>
> Key: NETBEANS-3110
> URL: https://issues.apache.org/jira/browse/NETBEANS-3110
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations, java - Hints
>Affects Versions: 11.1, 12.2
> Environment: Java 11, Netbeans 11.1, Linux
>Reporter: Alessandro Polverini
>Priority: Major
> Attachments: bug-3110.png, demo.zip
>
>
> When working on a Spring or Spring Boot project, where the persistance unit 
> is handled automatically by the framework (the default), every @Entity class 
> in the project has the hint:
> "The project does not contain a persistance unit"
> and we are prompted to create one.
> The IDE should understand that this is not an error when using Spring.



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

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

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



[jira] [Commented] (NETBEANS-3110) Netbeans warns of missing persistance unit on a Spring project

2021-01-24 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini commented on NETBEANS-3110:


Done.

> Netbeans warns of missing persistance unit on a Spring project
> --
>
> Key: NETBEANS-3110
> URL: https://issues.apache.org/jira/browse/NETBEANS-3110
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations, java - Hints
>Affects Versions: 11.1, 12.2
> Environment: Java 11, Netbeans 11.1, Linux
>Reporter: Alessandro Polverini
>Priority: Major
> Attachments: bug-3110.png, demo.zip
>
>
> When working on a Spring or Spring Boot project, where the persistance unit 
> is handled automatically by the framework (the default), every @Entity class 
> in the project has the hint:
> "The project does not contain a persistance unit"
> and we are prompted to create one.
> The IDE should understand that this is not an error when using Spring.



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

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

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



[jira] [Reopened] (NETBEANS-3110) Netbeans warns of missing persistance unit on a Spring project

2021-01-22 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini reopened NETBEANS-3110:


Please specify which kind of information you need

> Netbeans warns of missing persistance unit on a Spring project
> --
>
> Key: NETBEANS-3110
> URL: https://issues.apache.org/jira/browse/NETBEANS-3110
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations, java - Hints
>Affects Versions: 11.1
> Environment: Java 11, Netbeans 11.1, Linux
>Reporter: Alessandro Polverini
>Priority: Major
>
> When working on a Spring or Spring Boot project, where the persistance unit 
> is handled automatically by the framework (the default), every @Entity class 
> in the project has the hint:
> "The project does not contain a persistance unit"
> and we are prompted to create one.
> The IDE should understand that this is not an error when using Spring.



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

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

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



[jira] [Commented] (NETBEANS-3110) Netbeans warns of missing persistance unit on a Spring project

2021-01-22 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini commented on NETBEANS-3110:


How is this incomplete?
The problem persists in the latest release 12.2

> Netbeans warns of missing persistance unit on a Spring project
> --
>
> Key: NETBEANS-3110
> URL: https://issues.apache.org/jira/browse/NETBEANS-3110
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations, java - Hints
>Affects Versions: 11.1
> Environment: Java 11, Netbeans 11.1, Linux
>Reporter: Alessandro Polverini
>Priority: Major
>
> When working on a Spring or Spring Boot project, where the persistance unit 
> is handled automatically by the framework (the default), every @Entity class 
> in the project has the hint:
> "The project does not contain a persistance unit"
> and we are prompted to create one.
> The IDE should understand that this is not an error when using Spring.



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

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

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



[jira] [Commented] (NETBEANS-4008) NPE during usage of the IDE

2020-03-21 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini commented on NETBEANS-4008:


I'm sorry, it happened a bit of time ago and I don't remember any more. Anyway 
it was not easy to understand which one since I had many open and I saw the 
error in the notification area

> NPE during usage of the IDE
> ---
>
> Key: NETBEANS-4008
> URL: https://issues.apache.org/jira/browse/NETBEANS-4008
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 11.3
> Environment: Ubuntu Linux, openJDK 11
>Reporter: Alessandro Polverini
>Priority: Major
> Attachments: ide.log
>
>
> The IDE warned me that it logged an exception and asked me to report it, I 
> attach the Ide log.
> Last lines:
> [org.netbeans.modules.j2ee.metadata.model.api.support.annotation.PersistentObjectManager]:
>  typesAdded: type ElementHandle[kind=OTHER; 
> sigs=wf.bitcoin.chainmaster.forkclaimer.ForkClaimerService$1 ] has dissapeared
> SEVERE [org.openide.util.Exceptions]
> java.lang.NullPointerException



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

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

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



[jira] [Created] (NETBEANS-4008) NPE during usage of the IDE

2020-03-13 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-4008:
--

 Summary: NPE during usage of the IDE
 Key: NETBEANS-4008
 URL: https://issues.apache.org/jira/browse/NETBEANS-4008
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 11.3
 Environment: Ubuntu Linux, openJDK 11
Reporter: Alessandro Polverini
 Attachments: ide.log

The IDE warned me that it logged an exception and asked me to report it, I 
attach the Ide log.
Last lines:

[org.netbeans.modules.j2ee.metadata.model.api.support.annotation.PersistentObjectManager]:
 typesAdded: type ElementHandle[kind=OTHER; 
sigs=wf.bitcoin.chainmaster.forkclaimer.ForkClaimerService$1 ] has dissapeared
SEVERE [org.openide.util.Exceptions]
java.lang.NullPointerException




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

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

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



[jira] [Created] (NETBEANS-3872) Exception preventing me to use latest builds

2020-02-13 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-3872:
--

 Summary: Exception preventing me to use latest builds
 Key: NETBEANS-3872
 URL: https://issues.apache.org/jira/browse/NETBEANS-3872
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: Next
 Environment: jdk 11, ubuntu Eoan
Reporter: Alessandro Polverini


As soon as I fire up netbeans (after deleting the cache) if I move around in 
the sources I get those errors continuosly rendering me unable to use the IDE.

I've seen them consistently since latest stable builds.

This log is from build#1495

---
>Log Session: Thursday, February 13, 2020 at 9:33:37 AM Central European 
>Standard Time
>System Info: 
  Product Version = Apache NetBeans IDE DEV (Build 
dev-e198d0dade337c1dbc27adbbdfd5d12f621a7712)
  Operating System= Linux version 5.3.0-29-generic running on amd64
  Java; VM; Vendor= 11.0.6; OpenJDK 64-Bit Server VM 
11.0.6+10-post-Ubuntu-1ubuntu119.10.1; Ubuntu
  Runtime = OpenJDK Runtime Environment 
11.0.6+10-post-Ubuntu-1ubuntu119.10.1
  Java Home   = /usr/lib/jvm/java-11-openjdk-amd64
  System Locale; Encoding = it_IT (nb); UTF-8
  Home Directory  = /home/dusty
  Current Directory   = /home/dusty
  User Directory  = /home/dusty/.netbeans/dev
  Cache Directory = /home/dusty/.cache/netbeans/dev
  Installation= /home/sw/netbeans-dev/nb
/home/sw/netbeans-dev/ergonomics
/home/sw/netbeans-dev/ide
/home/sw/netbeans-dev/extide
/home/sw/netbeans-dev/java
/home/sw/netbeans-dev/apisupport
/home/sw/netbeans-dev/webcommon
/home/sw/netbeans-dev/websvccommon
/home/sw/netbeans-dev/enterprise
/home/sw/netbeans-dev/profiler
/home/sw/netbeans-dev/php
/home/sw/netbeans-dev/harness
/home/sw/netbeans-dev/groovy
/home/sw/netbeans-dev/javafx
/home/sw/netbeans-dev/platform
  Boot & Ext. Classpath   = 
  Application Classpath   = 
/home/sw/netbeans-dev/platform/lib/boot.jar:/home/sw/netbeans-dev/platform/lib/org-openide-modules.jar:/home/sw/netbeans-dev/platform/lib/org-openide-util.jar:/home/sw/netbeans-dev/platform/lib/org-openide-util-lookup.jar:/home/sw/netbeans-dev/platform/lib/org-openide-util-ui.jar
  Startup Classpath   = 
/home/sw/netbeans-dev/platform/core/org-netbeans-libs-asm.jar:/home/sw/netbeans-dev/platform/core/asm-tree-7.2.jar:/home/sw/netbeans-dev/platform/core/core-base.jar:/home/sw/netbeans-dev/platform/core/asm-commons-7.2.jar:/home/sw/netbeans-dev/platform/core/asm-7.2.jar:/home/sw/netbeans-dev/platform/core/org-openide-filesystems.jar:/home/sw/netbeans-dev/platform/core/core.jar:/home/sw/netbeans-dev/platform/core/org-openide-filesystems-compat8.jar:/home/sw/netbeans-dev/nb/core/org-netbeans-upgrader.jar:/home/sw/netbeans-dev/nb/core/locale/core_nb.jar
---
WARNING [org.netbeans.core.startup.NbEvents]: The extension 
/home/sw/netbeans-dev/ide/modules/ext/jcodings-1.0.18.jar may be multiply 
loaded by modules: 
[/home/sw/netbeans-dev/ide/modules/org-netbeans-libs-bytelist.jar, 
/home/sw/netbeans-dev/ide/modules/org-netbeans-modules-textmate-lexer.jar]; 
see: 
http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#class-path
INFO [org.netbeans.modules.netbinox]: Install area set to 
file:/home/sw/netbeans-dev/
WARNING [org.netbeans.core.modules]: the modules 
[org.netbeans.modules.java.editor.lib, org.netbeans.modules.web.core.syntax, 
org.netbeans.modules.xml.text] use 
org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, 
org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which 
is deprecated.
WARNING [org.netbeans.core.modules]: the modules 
[org.netbeans.modules.ant.hints, org.netbeans.modules.java.hints, 
org.netbeans.modules.jshell.support, org.netbeans.modules.maven.hints, 
org.netbeans.modules.maven.j2ee, org.netbeans.modules.web.beans] use 
org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java Hints 
SPI (org.netbeans.spi.java.hints) instead.
INFO [org.netbeans.modules.project.libraries.LibrariesStorage]: Cannot load 
library from file 
/home/dusty/.netbeans/dev/config/org-netbeans-api-project-libraries/Libraries/Java-EE-GlassFish-v3.xml,
 reason: Cannot create 

[jira] [Created] (NETBEANS-3606) Concurrent Modification Exception trying to rename a field

2019-12-18 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-3606:
--

 Summary: Concurrent Modification Exception trying to rename a field
 Key: NETBEANS-3606
 URL: https://issues.apache.org/jira/browse/NETBEANS-3606
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Refactoring
Affects Versions: 11.2
 Environment: openjdk 11, Ubuntu, netbeans 11.2
Reporter: Alessandro Polverini


Just tried to rename a public final static String with ctrl-r and got this 
exception:

java.util.ConcurrentModificationException
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:130)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:90)
at com.sun.proxy.$Proxy55.getParameterName(Unknown Source)
at 
com.sun.tools.javac.code.MissingInfoHandler.getParameterName(MissingInfoHandler.java:63)
at 
com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1746)
at 
com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1731)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.lambda$visitMethod$0(ParameterNameProviderImpl.java:142)
at 
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at 
java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at 
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at 
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at 
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at 
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at 
java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:142)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$2.visitMethod(ParameterNameProviderImpl.java:138)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:914)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:822)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
at 
com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145)
at 
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:603)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:146)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
at 

[jira] [Reopened] (NETBEANS-3339) "Go to Symbol" does nothing

2019-12-10 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini reopened NETBEANS-3339:


The problem is still present for me

> "Go to Symbol" does nothing
> ---
>
> Key: NETBEANS-3339
> URL: https://issues.apache.org/jira/browse/NETBEANS-3339
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 11.2
> Environment: Ubuntu, Netbeans 11.2 over JDK 11
>Reporter: Alessandro Polverini
>Priority: Major
> Fix For: 11.3
>
>
> If I open the Go to Sumbol panel (ctrl+alt+shift+O) and I start entering the 
> name of a symbol I correctly see the filtered one matching, but double 
> clicking one of them or pressing return just closes the window and nothing 
> else happens.



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

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

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



[jira] [Issue Comment Deleted] (NETBEANS-3339) "Go to Symbol" does nothing

2019-12-10 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini updated NETBEANS-3339:
---
Comment: was deleted

(was: The problem is still present for me)

> "Go to Symbol" does nothing
> ---
>
> Key: NETBEANS-3339
> URL: https://issues.apache.org/jira/browse/NETBEANS-3339
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 11.2
> Environment: Ubuntu, Netbeans 11.2 over JDK 11
>Reporter: Alessandro Polverini
>Priority: Major
> Fix For: 11.3
>
>
> If I open the Go to Sumbol panel (ctrl+alt+shift+O) and I start entering the 
> name of a symbol I correctly see the filtered one matching, but double 
> clicking one of them or pressing return just closes the window and nothing 
> else happens.



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

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

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



[jira] [Commented] (NETBEANS-3339) "Go to Symbol" does nothing

2019-12-10 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini commented on NETBEANS-3339:


I tried with latest 11.2 update 1 but the "go to symbol" still does not work: I 
can see the list of symbols correctly filtered, but by clicking on them nothing 
happens, and the window just closes.

 

I also tried with a development version but it gives me so many exceptions I 
can't do anything at all

> "Go to Symbol" does nothing
> ---
>
> Key: NETBEANS-3339
> URL: https://issues.apache.org/jira/browse/NETBEANS-3339
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 11.2
> Environment: Ubuntu, Netbeans 11.2 over JDK 11
>Reporter: Alessandro Polverini
>Priority: Major
> Fix For: 11.3
>
>
> If I open the Go to Sumbol panel (ctrl+alt+shift+O) and I start entering the 
> name of a symbol I correctly see the filtered one matching, but double 
> clicking one of them or pressing return just closes the window and nothing 
> else happens.



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

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

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



[jira] [Commented] (NETBEANS-3339) "Go to Symbol" does nothing

2019-11-07 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini commented on NETBEANS-3339:


I don't mind as long as I'm able to install the "dark theme", that for the time 
being I was not able to :)

Anyway thanks very much for the suggestion, I will do.

 

For the record, both go to symbol and find usages work correctly on the version 
you linked: 11.2 is just horribly broken and it's totally unusable in its 
current form, IMHO.

They should not have released it.

> "Go to Symbol" does nothing
> ---
>
> Key: NETBEANS-3339
> URL: https://issues.apache.org/jira/browse/NETBEANS-3339
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 11.2
> Environment: Ubuntu, Netbeans 11.2 over JDK 11
>Reporter: Alessandro Polverini
>Priority: Major
> Fix For: 11.3
>
>
> If I open the Go to Sumbol panel (ctrl+alt+shift+O) and I start entering the 
> name of a symbol I correctly see the filtered one matching, but double 
> clicking one of them or pressing return just closes the window and nothing 
> else happens.



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

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

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



[jira] [Commented] (NETBEANS-3339) "Go to Symbol" does nothing

2019-11-06 Thread Alessandro Polverini (Jira)


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

Alessandro Polverini commented on NETBEANS-3339:


Is there any workaround for manually starting javac?

Because it seems  that it has several other consequences: I'm even unable to 
make "find usages" work :(

In other words, a totally useless version, I need to revert using 11.1

> "Go to Symbol" does nothing
> ---
>
> Key: NETBEANS-3339
> URL: https://issues.apache.org/jira/browse/NETBEANS-3339
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Navigation
>Affects Versions: 11.2
> Environment: Ubuntu, Netbeans 11.2 over JDK 11
>Reporter: Alessandro Polverini
>Priority: Major
> Fix For: 11.3
>
>
> If I open the Go to Sumbol panel (ctrl+alt+shift+O) and I start entering the 
> name of a symbol I correctly see the filtered one matching, but double 
> clicking one of them or pressing return just closes the window and nothing 
> else happens.



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

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

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



[jira] [Created] (NETBEANS-3339) "Go to Symbol" does nothing

2019-11-04 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-3339:
--

 Summary: "Go to Symbol" does nothing
 Key: NETBEANS-3339
 URL: https://issues.apache.org/jira/browse/NETBEANS-3339
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Navigation
Affects Versions: 11.2
 Environment: Ubuntu, Netbeans 11.2 over JDK 11
Reporter: Alessandro Polverini


If I open the Go to Sumbol panel (ctrl+alt+shift+O) and I start entering the 
name of a symbol I correctly see the filtered one matching, but double clicking 
one of them or pressing return just closes the window and nothing else happens.



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

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

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



[jira] [Created] (NETBEANS-3110) Netbeans warns of missing persistance unit on a Spring project

2019-09-18 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-3110:
--

 Summary: Netbeans warns of missing persistance unit on a Spring 
project
 Key: NETBEANS-3110
 URL: https://issues.apache.org/jira/browse/NETBEANS-3110
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Hints  Annotations, java - Hints
Affects Versions: 11.1
 Environment: Java 11, Netbeans 11.1, Linux
Reporter: Alessandro Polverini


When working on a Spring or Spring Boot project, where the persistance unit is 
handled automatically by the framework (the default), every @Entity class in 
the project has the hint:

"The project does not contain a persistance unit"

and we are prompted to create one.

The IDE should understand that this is not an error when using Spring.



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

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

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



[jira] [Created] (NETBEANS-3079) Exception installing nb-javac

2019-09-10 Thread Alessandro Polverini (Jira)
Alessandro Polverini created NETBEANS-3079:
--

 Summary: Exception installing nb-javac
 Key: NETBEANS-3079
 URL: https://issues.apache.org/jira/browse/NETBEANS-3079
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Features On Demand
Affects Versions: 11.1
Reporter: Alessandro Polverini


Today NB asked to reinstall nb-javac, maybe due to the fact that my PC crashed 
yesterday, while the IDE was open.

 

After download I got this error:

 

java.lang.IllegalStateException: Host module 
StandardModule:org.netbeans.libs.javacimpl jarFile: 
/home/sw/netbeans-11.1/java/modules/org-netbeans-libs-javacimpl.jar was enabled 
before, will not accept fragment 
StandardModule:org.netbeans.modules.nbjavac.impl jarFile: 
/home/dusty/.netbeans/11.1/modules/org-netbeans-modules-nbjavac-impl.jar
 at org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104)
 at org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1708)
 at org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1721)
 at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1632)
 at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1605)
 at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289)
 at org.netbeans.core.startup.ModuleList.access$2400(ModuleList.java:93)
 at 
org.netbeans.core.startup.ModuleList$Listener.stepEnable(ModuleList.java:1384)
 at 
org.netbeans.core.startup.ModuleList$Listener.access$1400(ModuleList.java:982)
 at org.netbeans.core.startup.ModuleList$Listener$1.run(ModuleList.java:1206)
 at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
 at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
 at org.netbeans.core.startup.ModuleList$Listener.run(ModuleList.java:1182)
 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
(v8.3.2#803003)

-
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-221) Support for Promises

2017-12-18 Thread Alessandro Polverini (JIRA)
Alessandro Polverini created NETBEANS-221:
-

 Summary:  Support for Promises
 Key: NETBEANS-221
 URL: https://issues.apache.org/jira/browse/NETBEANS-221
 Project: NetBeans
  Issue Type: Bug
  Components: javascript - Editor
Affects Versions: 8.2
 Environment: Java 8, netbeans 8.2
Reporter: Alessandro Polverini


ECMA 6 Script brings Promises:

https://developer.mozilla.org/cs/docs/Web/JavaScript/Reference/Global_Objects/Promise

NetBeans should handle this in code completion at least. Offer then methods etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (NETBEANS-220) Module pattern incorrectly indented

2017-12-18 Thread Alessandro Polverini (JIRA)
Alessandro Polverini created NETBEANS-220:
-

 Summary: Module pattern incorrectly indented
 Key: NETBEANS-220
 URL: https://issues.apache.org/jira/browse/NETBEANS-220
 Project: NetBeans
  Issue Type: Bug
  Components: javascript - Editor
Affects Versions: 8.2
 Environment: Java 8, netbeans 8.2
Reporter: Alessandro Polverini


The following piece of code:

{code:javascript}
(function (window) {
  var module;
  window.module = module;
}(window)
);
{code}

Gets indentated as
{code:javascript}
(function (window) {
  var module;
  window.module = module;
}(window)
);
{code}

i.e.: the last closing brace is indentated while it should be at the same level 
of the first opening brace





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (NETBEANS-219) Bad indentation when using imports without trailing semicolons

2017-12-18 Thread Alessandro Polverini (JIRA)
Alessandro Polverini created NETBEANS-219:
-

 Summary: Bad indentation when using imports without trailing 
semicolons
 Key: NETBEANS-219
 URL: https://issues.apache.org/jira/browse/NETBEANS-219
 Project: NetBeans
  Issue Type: Bug
  Components: javascript - Editor
Affects Versions: 8.2
 Environment: Java 8, netbeans 8.2
Reporter: Alessandro Polverini


Let's consider the following snippet taken from a standard ember js app:

{code:javascript}
import Application from '@ember/application'
import Resolver from './resolver'
import loadInitializers from 'ember-load-initializers'
import config from './config/environment'

const App = Application.extend({
  modulePrefix: config.modulePrefix,
  podModulePrefix: config.podModulePrefix,
  Resolver
})

{code}

When reformatting the source the outputs becomes:

{code:javascript}
import Application from '@ember/application'
import Resolver from './resolver'
import loadInitializers from 'ember-load-initializers'
import config from './config/environment'

const App = Application.extend({
  modulePrefix: config.modulePrefix,
  podModulePrefix: config.podModulePrefix,
  Resolver
})
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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