[jira] [Updated] (NETBEANS-5748) when start netbeans show your ide is slowness netbeans 12.3
[ https://issues.apache.org/jira/browse/NETBEANS-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nezar jhons ayad updated NETBEANS-5748: --- Summary: when start netbeans show your ide is slowness netbeans 12.3 (was: when start netbeans show your ide is slowness) > when start netbeans show your ide is slowness netbeans 12.3 > --- > > Key: NETBEANS-5748 > URL: https://issues.apache.org/jira/browse/NETBEANS-5748 > Project: NetBeans > Issue Type: Bug > Environment: record> > 2021-06-04T05:46:40 > 1622778400745 > 30397 > 800 > 2506 > INDEXING_STARTED > INDEXING_STARTED > org.netbeans.modules.parsing.impl.indexing.Bundle > 93739 > >Reporter: nezar jhons ayad >Assignee: nezar jhons ayad >Priority: Major > > its show when open neteans -- 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-5748) when start netbeans show your ide is slowness netbeans 12.3
[ https://issues.apache.org/jira/browse/NETBEANS-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nezar jhons ayad updated NETBEANS-5748: --- Description: its show when open neteans 12.3 (was: its show when open neteans ) > when start netbeans show your ide is slowness netbeans 12.3 > --- > > Key: NETBEANS-5748 > URL: https://issues.apache.org/jira/browse/NETBEANS-5748 > Project: NetBeans > Issue Type: Bug > Environment: record> > 2021-06-04T05:46:40 > 1622778400745 > 30397 > 800 > 2506 > INDEXING_STARTED > INDEXING_STARTED > org.netbeans.modules.parsing.impl.indexing.Bundle > 93739 > >Reporter: nezar jhons ayad >Assignee: nezar jhons ayad >Priority: Major > > its show when open neteans 12.3 -- 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] [Assigned] (NETBEANS-5748) when start netbeans show your ide is slowness
[ https://issues.apache.org/jira/browse/NETBEANS-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nezar jhons ayad reassigned NETBEANS-5748: -- Assignee: nezar jhons ayad > when start netbeans show your ide is slowness > - > > Key: NETBEANS-5748 > URL: https://issues.apache.org/jira/browse/NETBEANS-5748 > Project: NetBeans > Issue Type: Bug > Environment: record> > 2021-06-04T05:46:40 > 1622778400745 > 30397 > 800 > 2506 > INDEXING_STARTED > INDEXING_STARTED > org.netbeans.modules.parsing.impl.indexing.Bundle > 93739 > >Reporter: nezar jhons ayad >Assignee: nezar jhons ayad >Priority: Major > > its show when open neteans -- 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-5748) when start netbeans show your ide is slowness
nezar jhons ayad created NETBEANS-5748: -- Summary: when start netbeans show your ide is slowness Key: NETBEANS-5748 URL: https://issues.apache.org/jira/browse/NETBEANS-5748 Project: NetBeans Issue Type: Bug Environment: record> 2021-06-04T05:46:40 1622778400745 30397 800 2506 INDEXING_STARTED INDEXING_STARTED org.netbeans.modules.parsing.impl.indexing.Bundle 93739 Reporter: nezar jhons ayad its show when open neteans -- 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-5747) Basic user console input will not accept input
[ https://issues.apache.org/jira/browse/NETBEANS-5747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wichter updated NETBEANS-5747: - Description: // The folloinw short program runs fine but there is no way to input anything? // It runs fine using Windows 10 CMD line // I am new to Apache NetBean so the answer is probably obvious. // I have tried typing text on the same line as the prompt and the next it will not accept anything import java.util.*; public class UserInput { public static void main(String args[]) { // Create Scanner Object Scanner cons = new Scanner(System.in); // Output the question System.out.println("Enter line of text: "); // Wait for user input String str = cons.nextLine(); //display user input System.out.println("You entered this: " + str); } } was: // The folloinw short program runs fine but there is no way to input anything? // It runs fine using Windows 10 CMD // I am new to Apache NetBean so the answer is probably obvious. // I have tried typing text on the same line as the prompt and the next it will not accept anything import java.util.*; public class UserInput { public static void main(String args[]) { // Create Scanner Object Scanner cons = new Scanner(System.in); // Output the question System.out.println("Enter line of text: "); // Wait for user input String str = cons.nextLine(); //display user input System.out.println("You entered this: " + str); } } > Basic user console input will not accept input > -- > > Key: NETBEANS-5747 > URL: https://issues.apache.org/jira/browse/NETBEANS-5747 > Project: NetBeans > Issue Type: Bug >Reporter: Martin Wichter >Priority: Critical > Attachments: UserInput.java > > > // The folloinw short program runs fine but there is no way to input anything? > // It runs fine using Windows 10 CMD line > // I am new to Apache NetBean so the answer is probably obvious. > // I have tried typing text on the same line as the prompt and the next it > will not accept anything > > import java.util.*; > public class UserInput { > public static void main(String args[]) { > // Create Scanner Object > Scanner cons = new Scanner(System.in); > > // Output the question > System.out.println("Enter line of text: "); > > // Wait for user input > String str = cons.nextLine(); > > //display user input > System.out.println("You entered this: " + str); > > > } > } -- 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-5747) Basic user console input will not accept input
[ https://issues.apache.org/jira/browse/NETBEANS-5747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wichter updated NETBEANS-5747: - Attachment: UserInput.java > Basic user console input will not accept input > -- > > Key: NETBEANS-5747 > URL: https://issues.apache.org/jira/browse/NETBEANS-5747 > Project: NetBeans > Issue Type: Bug >Reporter: Martin Wichter >Priority: Critical > Attachments: UserInput.java > > > // The folloinw short program runs fine but there is no way to input anything? > // It runs fine using Windows 10 CMD > // I am new to Apache NetBeans so the answer is probably obvious. > // I have tried typing text on the same line and the prompt and the next it > will not accept anything > > import java.util.*; > public class UserInput { > public static void main(String args[]) { > // Create Scanner Object > Scanner cons = new Scanner(System.in); > > // Output the question > System.out.println("Enter line of text: "); > > // Wait for user input > String str = cons.nextLine(); > > //display user input > System.out.println("You entered this: " + str); > > > } > } -- 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-5747) Basic user console input will not accept input
[ https://issues.apache.org/jira/browse/NETBEANS-5747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wichter updated NETBEANS-5747: - Description: // The folloinw short program runs fine but there is no way to input anything? // It runs fine using Windows 10 CMD // I am new to Apache NetBean so the answer is probably obvious. // I have tried typing text on the same line as the prompt and the next it will not accept anything import java.util.*; public class UserInput { public static void main(String args[]) { // Create Scanner Object Scanner cons = new Scanner(System.in); // Output the question System.out.println("Enter line of text: "); // Wait for user input String str = cons.nextLine(); //display user input System.out.println("You entered this: " + str); } } was: // The folloinw short program runs fine but there is no way to input anything? // It runs fine using Windows 10 CMD // I am new to Apache NetBeans so the answer is probably obvious. // I have tried typing text on the same line and the prompt and the next it will not accept anything import java.util.*; public class UserInput { public static void main(String args[]) { // Create Scanner Object Scanner cons = new Scanner(System.in); // Output the question System.out.println("Enter line of text: "); // Wait for user input String str = cons.nextLine(); //display user input System.out.println("You entered this: " + str); } } > Basic user console input will not accept input > -- > > Key: NETBEANS-5747 > URL: https://issues.apache.org/jira/browse/NETBEANS-5747 > Project: NetBeans > Issue Type: Bug >Reporter: Martin Wichter >Priority: Critical > Attachments: UserInput.java > > > // The folloinw short program runs fine but there is no way to input anything? > // It runs fine using Windows 10 CMD > // I am new to Apache NetBean so the answer is probably obvious. > // I have tried typing text on the same line as the prompt and the next it > will not accept anything > > import java.util.*; > public class UserInput { > public static void main(String args[]) { > // Create Scanner Object > Scanner cons = new Scanner(System.in); > > // Output the question > System.out.println("Enter line of text: "); > > // Wait for user input > String str = cons.nextLine(); > > //display user input > System.out.println("You entered this: " + str); > > > } > } -- 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-5747) Basic user console input will not accept input
[ https://issues.apache.org/jira/browse/NETBEANS-5747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Wichter updated NETBEANS-5747: - Description: // The folloinw short program runs fine but there is no way to input anything? // It runs fine using Windows 10 CMD // I am new to Apache NetBeans so the answer is probably obvious. // I have tried typing text on the same line and the prompt and the next it will not accept anything import java.util.*; public class UserInput { public static void main(String args[]) { // Create Scanner Object Scanner cons = new Scanner(System.in); // Output the question System.out.println("Enter line of text: "); // Wait for user input String str = cons.nextLine(); //display user input System.out.println("You entered this: " + str); } } was: // The folloinw short program runs fine but there is no way to input anything? // It runs fine using Windows 10 CMD // I am new to Apache NetBeans so the answer is probably obvious. // I have tried typing text on the same line and the prompt and the next it will not accept anything import java.util.*; public class UserInput { public static void main(String args[]) { // Create Scanner Object Scanner cons = new Scanner(System.in); // Output the question System.out.println("Enter line of text: "); // Wait for user input //String line = input.nextLine(); String str = cons.nextLine(); //display user input System.out.println("You entered this: " + str); } } > Basic user console input will not accept input > -- > > Key: NETBEANS-5747 > URL: https://issues.apache.org/jira/browse/NETBEANS-5747 > Project: NetBeans > Issue Type: Bug >Reporter: Martin Wichter >Priority: Critical > > // The folloinw short program runs fine but there is no way to input anything? > // It runs fine using Windows 10 CMD > // I am new to Apache NetBeans so the answer is probably obvious. > // I have tried typing text on the same line and the prompt and the next it > will not accept anything > > import java.util.*; > public class UserInput { > public static void main(String args[]) { > // Create Scanner Object > Scanner cons = new Scanner(System.in); > > // Output the question > System.out.println("Enter line of text: "); > > // Wait for user input > String str = cons.nextLine(); > > //display user input > System.out.println("You entered this: " + str); > > > } > } -- 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-5747) Basic user console input will not accept input
Martin Wichter created NETBEANS-5747: Summary: Basic user console input will not accept input Key: NETBEANS-5747 URL: https://issues.apache.org/jira/browse/NETBEANS-5747 Project: NetBeans Issue Type: Bug Reporter: Martin Wichter // The folloinw short program runs fine but there is no way to input anything? // It runs fine using Windows 10 CMD // I am new to Apache NetBeans so the answer is probably obvious. // I have tried typing text on the same line and the prompt and the next it will not accept anything import java.util.*; public class UserInput { public static void main(String args[]) { // Create Scanner Object Scanner cons = new Scanner(System.in); // Output the question System.out.println("Enter line of text: "); // Wait for user input //String line = input.nextLine(); String str = cons.nextLine(); //display user input System.out.println("You entered this: " + str); } } -- 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-5746) Fatal Error: Unable to find package java.lang in classpath or bootclasspath
[ https://issues.apache.org/jira/browse/NETBEANS-5746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356633#comment-17356633 ] Frank Griffin commented on NETBEANS-5746: - Followup: The case that worked was after I changed netbeans.conf and restarted NB. Unfortunately, when I tried a second build of the same project, I got the error again. Now I get it regardless of which of the two values I put in netbeans.conf, and whether I run the build after a restart of NB or not. Any ideas ? I originally saw this problem under 12.3, and IIRC it *occasionally* worked, but mostly failed. > Fatal Error: Unable to find package java.lang in classpath or bootclasspath > --- > > Key: NETBEANS-5746 > URL: https://issues.apache.org/jira/browse/NETBEANS-5746 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.3, 12.4 > Environment: Mageia cauldron (9) using the openjdk version noted > above. >Reporter: Frank Griffin >Priority: Major > Attachments: messages.log, messages.log.1 > > > Yes, I know that this problem has been reported countless times over the > years, but none of the perceived causes are the case in this report. > This is a fresh 12.4 install, carrying over project descriptions from older > versions. > The install finds the default Mageia JDK 11 install point of > /usr/lib/jvm/java-11, and NetBeans/netbeans/etc/netbeans.conf reflects this. > However, the actual value Mageia gives $JAVA_HOME is > /etc/alternatives/java_sdk, and if you go to Tools -> Java Platforms > /etc/alternatives/java_sdk is what is shown for Java Platform Folder. > However, this is a symlink: > (/etc/alternatives) > lrwxrwxrwx 1 root root 61 Feb 17 16:09 java_sdk -> > /usr/lib/jvm/java-11-openjdk-11.0.10.0.1-0.0.ea.2.mga8.x86_64/ > as is /usr/lib/jvm/java-11, which ends up in the same place: > (/usr/lib/jvm) > lrwxrwxrwx 1 root root 29 Feb 17 16:09 java-11 -> > /etc/alternatives/java_sdk_11/ > (/etc/alternatives) > lrwxrwxrwx 1 root root 61 Feb 17 16:09 java_sdk_11 -> > /usr/lib/jvm/java-11-openjdk-11.0.10.0.1-0.0.ea.2.mga8.x86_64/ > Here's the interesting part. If I leave netbeans.conf as is, I get the error > in the bug title. If I change netbeans.conf to /etc/alternatives/java_sdk, > then everything works. > I'll attach ~/.netbeans/var/log/messages.log for both cases. messages.log is > the working case, and messages.log.1 is the failing case. > > > -- 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-5746) Fatal Error: Unable to find package java.lang in classpath or bootclasspath
Frank Griffin created NETBEANS-5746: --- Summary: Fatal Error: Unable to find package java.lang in classpath or bootclasspath Key: NETBEANS-5746 URL: https://issues.apache.org/jira/browse/NETBEANS-5746 Project: NetBeans Issue Type: Bug Affects Versions: 12.3, 12.4 Environment: Mageia cauldron (9) using the openjdk version noted above. Reporter: Frank Griffin Attachments: messages.log, messages.log.1 Yes, I know that this problem has been reported countless times over the years, but none of the perceived causes are the case in this report. This is a fresh 12.4 install, carrying over project descriptions from older versions. The install finds the default Mageia JDK 11 install point of /usr/lib/jvm/java-11, and NetBeans/netbeans/etc/netbeans.conf reflects this. However, the actual value Mageia gives $JAVA_HOME is /etc/alternatives/java_sdk, and if you go to Tools -> Java Platforms /etc/alternatives/java_sdk is what is shown for Java Platform Folder. However, this is a symlink: (/etc/alternatives) lrwxrwxrwx 1 root root 61 Feb 17 16:09 java_sdk -> /usr/lib/jvm/java-11-openjdk-11.0.10.0.1-0.0.ea.2.mga8.x86_64/ as is /usr/lib/jvm/java-11, which ends up in the same place: (/usr/lib/jvm) lrwxrwxrwx 1 root root 29 Feb 17 16:09 java-11 -> /etc/alternatives/java_sdk_11/ (/etc/alternatives) lrwxrwxrwx 1 root root 61 Feb 17 16:09 java_sdk_11 -> /usr/lib/jvm/java-11-openjdk-11.0.10.0.1-0.0.ea.2.mga8.x86_64/ Here's the interesting part. If I leave netbeans.conf as is, I get the error in the bug title. If I change netbeans.conf to /etc/alternatives/java_sdk, then everything works. I'll attach ~/.netbeans/var/log/messages.log for both cases. messages.log is the working case, and messages.log.1 is the failing case. -- 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] [Comment Edited] (NETBEANS-5550) IDE UI-freeze By Ctrl+F
[ https://issues.apache.org/jira/browse/NETBEANS-5550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355489#comment-17355489 ] Dan Armstrong edited comment on NETBEANS-5550 at 6/3/21, 5:09 PM: -- For what it's worth: Debian Linux 10.9, 64-bit OpenJDK 11.0.11 Edit: I also get this issue on multiple file types, including pom.xml and *.java files. was (Author: dan_armstrong): For what it's worth: Debian Linux 10.9, 64-bit OpenJDK 11.0.11 I've been editoring *.xml files more than usual lately, so perhaps that is related - not sure though. I'll follow-up if I see the same problem on other file types. > IDE UI-freeze By Ctrl+F > --- > > Key: NETBEANS-5550 > URL: https://issues.apache.org/jira/browse/NETBEANS-5550 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 12.0 > Environment: Win 7 x86_64, JDK 1.8_261, 14, and 15.0.2 >Reporter: dev >Priority: Critical > > Randomly(not sure yet), but sometimes when I press `Ctrl+F` to start find for > something(mostly javascript files), UI goes down(UI-Freeze). After a short > time, whole black screen. > > The IDE does not goes into heavy process mode, so I guess the uI thread gets > blocked by some interminable process by the backend. > > The only way is about end-task by the task manager, hopefully peaceful > shutdown works, but needs time. > > Error happens more often when I mistakenly press `Ctrl+V`, before `Ctrl+F`. > > I'm on Windows 7 X86_64, java 8, 14, and 15. Error seems has no explicitly > associated to a specific JDK. Error exist with all jdks I've tried have the > same issue. > > I have been working with NetBeans since V6, till now. Only this 12.0 LTS > version I can have this issue. -- 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-5744) [LSP] Gradle continuous mode does not properly terminate app
[ https://issues.apache.org/jira/browse/NETBEANS-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-5744: - Labels: pull-request-available (was: ) > [LSP] Gradle continuous mode does not properly terminate app > > > Key: NETBEANS-5744 > URL: https://issues.apache.org/jira/browse/NETBEANS-5744 > Project: NetBeans > Issue Type: Improvement > Components: lsp, projects - Gradle >Affects Versions: 12.5 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Critical > Labels: pull-request-available > Fix For: 12.5 > > Time Spent: 10m > Remaining Estimate: 0h > > It seems that when one terminates the process, the continuous mode's daemon > is still active and keeps the application alive. So any source save will > restart the application. In case the app keeps some ports open, the *real* > restart made by the user will fail (the port is already used by the > background app). -- 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-5744) [LSP] Gradle continuous mode does not properly terminate app
[ https://issues.apache.org/jira/browse/NETBEANS-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic updated NETBEANS-5744: -- Summary: [LSP] Gradle continuous mode does not properly terminate app (was: Gradle continuous mode does not properly terminate app) > [LSP] Gradle continuous mode does not properly terminate app > > > Key: NETBEANS-5744 > URL: https://issues.apache.org/jira/browse/NETBEANS-5744 > Project: NetBeans > Issue Type: Improvement > Components: lsp, projects - Gradle >Affects Versions: 12.5 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Critical > Fix For: 12.5 > > > It seems that when one terminates the process, the continuous mode's daemon > is still active and keeps the application alive. So any source save will > restart the application. In case the app keeps some ports open, the *real* > restart made by the user will fail (the port is already used by the > background app). -- 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-5744) Gradle continuous mode does not properly terminate app
[ https://issues.apache.org/jira/browse/NETBEANS-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic updated NETBEANS-5744: -- Component/s: lsp > Gradle continuous mode does not properly terminate app > -- > > Key: NETBEANS-5744 > URL: https://issues.apache.org/jira/browse/NETBEANS-5744 > Project: NetBeans > Issue Type: Improvement > Components: lsp, projects - Gradle >Affects Versions: 12.5 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Critical > Fix For: 12.5 > > > It seems that when one terminates the process, the continuous mode's daemon > is still active and keeps the application alive. So any source save will > restart the application. In case the app keeps some ports open, the *real* > restart made by the user will fail (the port is already used by the > background app). -- 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-5745) Missing to show in editor where is problem - return statement
[ https://issues.apache.org/jira/browse/NETBEANS-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 updated NETBEANS-5745: - Description: return "any value";; There is no error on such line in Apacha Netbeans 12.0 editor window. was: public static void main(String[] args) { List z = List.of(1,2,3); z.stream() .map(SandboxTemp1::ou) .toString(); } private static int ou(String o) { return 0; } There is missing to be shown as error on such line. It is seen as issue in action items and red indicator in tab next name of file, but no issue shown in editor itself. In actions items you can see: Error incompatible types: invalid method reference incompatible types: java.lang.Integer cannot be converted to java.lang.String ... :23 This is not one case, but this happens for different types so not only that one from example. > Missing to show in editor where is problem - return statement > - > > Key: NETBEANS-5745 > URL: https://issues.apache.org/jira/browse/NETBEANS-5745 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, platform - Action Items >Affects Versions: 12.0, 11.2, 11.3, 12.2 > Environment: OpenJDK 11.0.2 > Gradle 6.4.1 >Reporter: Netbeans User 2019 >Assignee: Akshay Gupta >Priority: Major > Labels: compiler > > return "any value";; > There is no error on such line in Apacha Netbeans 12.0 editor window. -- 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-5745) Missing to show in editor where is problem - return statement
[ https://issues.apache.org/jira/browse/NETBEANS-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 updated NETBEANS-5745: - Environment: Runtime = OpenJDK Runtime Environment 11.0.10+9-LTS System Locale; Encoding = en_US (nb); UTF-8 Gradle 6.8.3 was: OpenJDK 11.0.2 Gradle 6.4.1 > Missing to show in editor where is problem - return statement > - > > Key: NETBEANS-5745 > URL: https://issues.apache.org/jira/browse/NETBEANS-5745 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, platform - Action Items >Affects Versions: 12.0 > Environment: Runtime = OpenJDK Runtime Environment 11.0.10+9-LTS > System Locale; Encoding = en_US (nb); UTF-8 > Gradle 6.8.3 >Reporter: Netbeans User 2019 >Assignee: Akshay Gupta >Priority: Major > Labels: compiler > > return "any value";; > There is no error on such line in Apacha Netbeans 12.0 editor window. -- 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-5745) Missing to show in editor where is problem - return statement
[ https://issues.apache.org/jira/browse/NETBEANS-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 updated NETBEANS-5745: - Affects Version/s: (was: 12.2) (was: 11.3) (was: 11.2) > Missing to show in editor where is problem - return statement > - > > Key: NETBEANS-5745 > URL: https://issues.apache.org/jira/browse/NETBEANS-5745 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, platform - Action Items >Affects Versions: 12.0 > Environment: OpenJDK 11.0.2 > Gradle 6.4.1 >Reporter: Netbeans User 2019 >Assignee: Akshay Gupta >Priority: Major > Labels: compiler > > return "any value";; > There is no error on such line in Apacha Netbeans 12.0 editor window. -- 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-5745) Missing to show in editor where is problem - return statement
Netbeans User 2019 created NETBEANS-5745: Summary: Missing to show in editor where is problem - return statement Key: NETBEANS-5745 URL: https://issues.apache.org/jira/browse/NETBEANS-5745 Project: NetBeans Issue Type: Bug Components: java - Compiler, java - Editor, platform - Action Items Affects Versions: 12.0, 11.2, 11.3, 12.2 Environment: OpenJDK 11.0.2 Gradle 6.4.1 Reporter: Netbeans User 2019 Assignee: Akshay Gupta public static void main(String[] args) { List z = List.of(1,2,3); z.stream() .map(SandboxTemp1::ou) .toString(); } private static int ou(String o) { return 0; } There is missing to be shown as error on such line. It is seen as issue in action items and red indicator in tab next name of file, but no issue shown in editor itself. In actions items you can see: Error incompatible types: invalid method reference incompatible types: java.lang.Integer cannot be converted to java.lang.String ... :23 This is not one case, but this happens for different types so not only that one from example. -- 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-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356376#comment-17356376 ] Netbeans User 2019 commented on NETBEANS-5292: -- Nowadays to me it seems that it is not takes as before such scanning, but it seems it is not finished well as seem that even in indexing missing a classes (open type dialog) additionally dependent classes is also read like about missing such types and/or method that is not possible finished. Seems to me even that it is skip lombok processing. So nb-javac should be really fixed as even using pure one is not a win as javacode @see, ... do not offer code completion and similar case it is even with lambdas. netbeans-linux-435-on-20210531-release.zip Product Version = Apache NetBeans IDE DEV (Build dev-0fb44eb02182e92bbb654c67781358c301fada94) Runtime = OpenJDK Runtime Environment 11.0.10+9-LTS System Locale; Encoding = en_US (nb); UTF-8 messages.log contains several: java.lang.NoSuchMethodException: com.sun.tools.javac.comp.Enter.unenter(com.sun.tools.javac.tree.JCTree$JCCompilationUnit, com.sun.tools.javac.tree.JCTree) at java.base/java.lang.Class.getDeclaredMethod(Class.java:2475) at org.netbeans.api.java.source.TreeUtilities.unenter(TreeUtilities.java:927) at org.netbeans.api.java.source.TreeUtilities.attributeTreeTo(TreeUtilities.java:973) at org.netbeans.api.java.source.TreeUtilities.reattributeTreeTo(TreeUtilities.java:884) at org.netbeans.modules.java.completion.BaseTask.getEnvImpl(BaseTask.java:363) at org.netbeans.modules.java.completion.BaseTask.getCompletionEnvironment(BaseTask.java:270) at org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:316) at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:60) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) WARNING [org.netbeans.modules.editor.hints.AnnotationHolder]: null ErrorDescription in layer org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker-hints. WARNING [null]: Last record repeated again. java.lang.NullPointerException at com.sun.tools.javac.comp.Check$Validator.visitTypeIdent(Check.java:1532) at com.sun.tools.javac.tree.JCTree$JCPrimitiveTypeTree.accept(JCTree.java:2499) at com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1551) at com.sun.tools.javac.comp.Check.validate(Check.java:1422) at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1333) at org.netbeans.lib.nbjavac.services.NBAttr.visitVarDef(NBAttr.java:83) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:998) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5302) at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:1005) at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:64) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:804) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468) at com.sun.t
[jira] [Created] (NETBEANS-5744) Gradle continuous mode does not properly terminate app
Svatopluk Dedic created NETBEANS-5744: - Summary: Gradle continuous mode does not properly terminate app Key: NETBEANS-5744 URL: https://issues.apache.org/jira/browse/NETBEANS-5744 Project: NetBeans Issue Type: Improvement Components: projects - Gradle Affects Versions: 12.5 Reporter: Svatopluk Dedic Assignee: Svatopluk Dedic Fix For: 12.5 It seems that when one terminates the process, the continuous mode's daemon is still active and keeps the application alive. So any source save will restart the application. In case the app keeps some ports open, the *real* restart made by the user will fail (the port is already used by the background app). -- 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-4762) Gradle support broken recognizing of Lombok generation
[ https://issues.apache.org/jira/browse/NETBEANS-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356342#comment-17356342 ] Netbeans User 2019 commented on NETBEANS-4762: -- And there is also: WARNING [org.openide.util.WeakListenerImpl]: Can't remove java.beans.PropertyChangeListener using method org.netbeans.modules.gradle.NbGradleProjectImpl.removePropertyChangeListener from Gradle: xy[FULL] > Gradle support broken recognizing of Lombok generation > -- > > Key: NETBEANS-4762 > URL: https://issues.apache.org/jira/browse/NETBEANS-4762 > Project: NetBeans > Issue Type: Bug > Components: editor - Hints & Annotations, editor - Navigation, > java - Compiler, java - Editor, java - Hints, java - Navigation, platform - > Action Items, projects - Gradle >Affects Versions: 12.1, 12.5 > Environment: OpenJDK 11.0.2, 11.0.10+9 > Gradle 6.4.1, 6.6.1, 6.8.3 > Lombok 1.18.12, 1.18.20 > nb-javac is installed >Reporter: Netbeans User 2019 >Assignee: Laszlo Kishalmi >Priority: Critical > Labels: Lombok, annotation-processor, gradle > Fix For: 12.2 > > Time Spent: 20m > Remaining Estimate: 0h > > After upgrade to Apache Netbeans 12.1 it seems that every class uses Lombok > annotation or even class that depends on such class leads to red look (action > items, items in tree of "Projects", particular file in editor). It is tried > every prior ways to remove it, but without success. > So tried like > - close project and open > - reload project > - clean and build > - scan for external changes > - modification of file > - creation new file in same folder and remove > - removal of Apache Netbeans cache (under option --cachedir) > - removal of caches/6.4.1 under gradle home > - removal caches .gradle under project > - switching new option about trusted to always > - using new version of Gradle 6.6.1 > - using lombok plugin for gradle instead of manually steps via dependencies > So it is still red even clean and build works well. > So it is really not possible use that version of Apache Netbeans with > hundreds of false > errors. > So I have to revert back to 12.0 where I can get that back to non-red after > clean and build of root project and reopening of projects or by creation of > files under particular folder and remove it. > In context: > Tested on multi project (root with subprojects). -- 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-4762) Gradle support broken recognizing of Lombok generation
[ https://issues.apache.org/jira/browse/NETBEANS-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 updated NETBEANS-4762: - Environment: OpenJDK 11.0.2, 11.0.10+9 Gradle 6.4.1, 6.6.1, 6.8.3 Lombok 1.18.12, 1.18.20 nb-javac is installed was: OpenJDK 11.0.2, 11.0.10+9 Gradle 6.4.1, 6.6.1, 6.8.3 Lombok 1.18.12, 1.18.20 > Gradle support broken recognizing of Lombok generation > -- > > Key: NETBEANS-4762 > URL: https://issues.apache.org/jira/browse/NETBEANS-4762 > Project: NetBeans > Issue Type: Bug > Components: editor - Hints & Annotations, editor - Navigation, > java - Compiler, java - Editor, java - Hints, java - Navigation, platform - > Action Items, projects - Gradle >Affects Versions: 12.1, 12.5 > Environment: OpenJDK 11.0.2, 11.0.10+9 > Gradle 6.4.1, 6.6.1, 6.8.3 > Lombok 1.18.12, 1.18.20 > nb-javac is installed >Reporter: Netbeans User 2019 >Assignee: Laszlo Kishalmi >Priority: Critical > Labels: Lombok, annotation-processor, gradle > Fix For: 12.2 > > Time Spent: 20m > Remaining Estimate: 0h > > After upgrade to Apache Netbeans 12.1 it seems that every class uses Lombok > annotation or even class that depends on such class leads to red look (action > items, items in tree of "Projects", particular file in editor). It is tried > every prior ways to remove it, but without success. > So tried like > - close project and open > - reload project > - clean and build > - scan for external changes > - modification of file > - creation new file in same folder and remove > - removal of Apache Netbeans cache (under option --cachedir) > - removal of caches/6.4.1 under gradle home > - removal caches .gradle under project > - switching new option about trusted to always > - using new version of Gradle 6.6.1 > - using lombok plugin for gradle instead of manually steps via dependencies > So it is still red even clean and build works well. > So it is really not possible use that version of Apache Netbeans with > hundreds of false > errors. > So I have to revert back to 12.0 where I can get that back to non-red after > clean and build of root project and reopening of projects or by creation of > files under particular folder and remove it. > In context: > Tested on multi project (root with subprojects). -- 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-4762) Gradle support broken recognizing of Lombok generation
[ https://issues.apache.org/jira/browse/NETBEANS-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 updated NETBEANS-4762: - Affects Version/s: 12.5 > Gradle support broken recognizing of Lombok generation > -- > > Key: NETBEANS-4762 > URL: https://issues.apache.org/jira/browse/NETBEANS-4762 > Project: NetBeans > Issue Type: Bug > Components: editor - Hints & Annotations, editor - Navigation, > java - Compiler, java - Editor, java - Hints, java - Navigation, platform - > Action Items, projects - Gradle >Affects Versions: 12.1, 12.5 > Environment: OpenJDK 11.0.2, 11.0.10+9 > Gradle 6.4.1, 6.6.1, 6.8.3 > Lombok 1.18.12, 1.18.20 >Reporter: Netbeans User 2019 >Assignee: Laszlo Kishalmi >Priority: Critical > Labels: Lombok, annotation-processor, gradle > Fix For: 12.2 > > Time Spent: 20m > Remaining Estimate: 0h > > After upgrade to Apache Netbeans 12.1 it seems that every class uses Lombok > annotation or even class that depends on such class leads to red look (action > items, items in tree of "Projects", particular file in editor). It is tried > every prior ways to remove it, but without success. > So tried like > - close project and open > - reload project > - clean and build > - scan for external changes > - modification of file > - creation new file in same folder and remove > - removal of Apache Netbeans cache (under option --cachedir) > - removal of caches/6.4.1 under gradle home > - removal caches .gradle under project > - switching new option about trusted to always > - using new version of Gradle 6.6.1 > - using lombok plugin for gradle instead of manually steps via dependencies > So it is still red even clean and build works well. > So it is really not possible use that version of Apache Netbeans with > hundreds of false > errors. > So I have to revert back to 12.0 where I can get that back to non-red after > clean and build of root project and reopening of projects or by creation of > files under particular folder and remove it. > In context: > Tested on multi project (root with subprojects). -- 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-4762) Gradle support broken recognizing of Lombok generation
[ https://issues.apache.org/jira/browse/NETBEANS-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 updated NETBEANS-4762: - Environment: OpenJDK 11.0.2, 11.0.10+9 Gradle 6.4.1, 6.6.1, 6.8.3 Lombok 1.18.12, 1.18.20 was: OpenJDK 11.0.2 Gradle 6.4.1, 6.6.1 Lombok 1.18.12 > Gradle support broken recognizing of Lombok generation > -- > > Key: NETBEANS-4762 > URL: https://issues.apache.org/jira/browse/NETBEANS-4762 > Project: NetBeans > Issue Type: Bug > Components: editor - Hints & Annotations, editor - Navigation, > java - Compiler, java - Editor, java - Hints, java - Navigation, platform - > Action Items, projects - Gradle >Affects Versions: 12.1 > Environment: OpenJDK 11.0.2, 11.0.10+9 > Gradle 6.4.1, 6.6.1, 6.8.3 > Lombok 1.18.12, 1.18.20 >Reporter: Netbeans User 2019 >Assignee: Laszlo Kishalmi >Priority: Critical > Labels: Lombok, annotation-processor, gradle > Fix For: 12.2 > > Time Spent: 20m > Remaining Estimate: 0h > > After upgrade to Apache Netbeans 12.1 it seems that every class uses Lombok > annotation or even class that depends on such class leads to red look (action > items, items in tree of "Projects", particular file in editor). It is tried > every prior ways to remove it, but without success. > So tried like > - close project and open > - reload project > - clean and build > - scan for external changes > - modification of file > - creation new file in same folder and remove > - removal of Apache Netbeans cache (under option --cachedir) > - removal of caches/6.4.1 under gradle home > - removal caches .gradle under project > - switching new option about trusted to always > - using new version of Gradle 6.6.1 > - using lombok plugin for gradle instead of manually steps via dependencies > So it is still red even clean and build works well. > So it is really not possible use that version of Apache Netbeans with > hundreds of false > errors. > So I have to revert back to 12.0 where I can get that back to non-red after > clean and build of root project and reopening of projects or by creation of > files under particular folder and remove it. > In context: > Tested on multi project (root with subprojects). -- 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-4762) Gradle support broken recognizing of Lombok generation
[ https://issues.apache.org/jira/browse/NETBEANS-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356340#comment-17356340 ] Netbeans User 2019 commented on NETBEANS-4762: -- It seems that issues is still there if nb-javac is installed at least in 12.5 dev there are info from log messages: netbeans-linux-435-on-20210531-release.zip Product Version = Apache NetBeans IDE DEV (Build dev-0fb44eb02182e92bbb654c67781358c301fada94) Runtime = OpenJDK Runtime Environment 11.0.10+9-LTS System Locale; Encoding = en_US (nb); UTF-8 messages.log contains several: java.lang.NoSuchMethodException: com.sun.tools.javac.comp.Enter.unenter(com.sun.tools.javac.tree.JCTree$JCCompilationUnit, com.sun.tools.javac.tree.JCTree) at java.base/java.lang.Class.getDeclaredMethod(Class.java:2475) at org.netbeans.api.java.source.TreeUtilities.unenter(TreeUtilities.java:927) at org.netbeans.api.java.source.TreeUtilities.attributeTreeTo(TreeUtilities.java:973) at org.netbeans.api.java.source.TreeUtilities.reattributeTreeTo(TreeUtilities.java:884) at org.netbeans.modules.java.completion.BaseTask.getEnvImpl(BaseTask.java:363) at org.netbeans.modules.java.completion.BaseTask.getCompletionEnvironment(BaseTask.java:270) at org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:316) at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:60) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) WARNING [org.netbeans.modules.editor.hints.AnnotationHolder]: null ErrorDescription in layer org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker-hints. WARNING [null]: Last record repeated again. java.lang.NullPointerException at com.sun.tools.javac.comp.Check$Validator.visitTypeIdent(Check.java:1532) at com.sun.tools.javac.tree.JCTree$JCPrimitiveTypeTree.accept(JCTree.java:2499) at com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1551) at com.sun.tools.javac.comp.Check.validate(Check.java:1422) at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1333) at org.netbeans.lib.nbjavac.services.NBAttr.visitVarDef(NBAttr.java:83) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:998) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5302) at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:1005) at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:64) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:804) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468)
[jira] [Reopened] (NETBEANS-4762) Gradle support broken recognizing of Lombok generation
[ https://issues.apache.org/jira/browse/NETBEANS-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 reopened NETBEANS-4762: -- > Gradle support broken recognizing of Lombok generation > -- > > Key: NETBEANS-4762 > URL: https://issues.apache.org/jira/browse/NETBEANS-4762 > Project: NetBeans > Issue Type: Bug > Components: editor - Hints & Annotations, editor - Navigation, > java - Compiler, java - Editor, java - Hints, java - Navigation, platform - > Action Items, projects - Gradle >Affects Versions: 12.1 > Environment: OpenJDK 11.0.2 > Gradle 6.4.1, 6.6.1 > Lombok 1.18.12 >Reporter: Netbeans User 2019 >Assignee: Laszlo Kishalmi >Priority: Critical > Labels: Lombok, annotation-processor, gradle > Fix For: 12.2 > > Time Spent: 20m > Remaining Estimate: 0h > > After upgrade to Apache Netbeans 12.1 it seems that every class uses Lombok > annotation or even class that depends on such class leads to red look (action > items, items in tree of "Projects", particular file in editor). It is tried > every prior ways to remove it, but without success. > So tried like > - close project and open > - reload project > - clean and build > - scan for external changes > - modification of file > - creation new file in same folder and remove > - removal of Apache Netbeans cache (under option --cachedir) > - removal of caches/6.4.1 under gradle home > - removal caches .gradle under project > - switching new option about trusted to always > - using new version of Gradle 6.6.1 > - using lombok plugin for gradle instead of manually steps via dependencies > So it is still red even clean and build works well. > So it is really not possible use that version of Apache Netbeans with > hundreds of false > errors. > So I have to revert back to 12.0 where I can get that back to non-red after > clean and build of root project and reopening of projects or by creation of > files under particular folder and remove it. > In context: > Tested on multi project (root with subprojects). -- 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-5293) Gradle multi project badly broken with new spring boot
[ https://issues.apache.org/jira/browse/NETBEANS-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356339#comment-17356339 ] Netbeans User 2019 commented on NETBEANS-5293: -- I have not time to retest with 12.5 dev that but in general it is enough to create any empty root project and add to subproject and second is dependent on other one. So maybe you can use a spring start to generate that for you. > Gradle multi project badly broken with new spring boot > -- > > Key: NETBEANS-5293 > URL: https://issues.apache.org/jira/browse/NETBEANS-5293 > Project: NetBeans > Issue Type: Bug > Components: projects - Generic Projects UI, projects - Gradle >Affects Versions: 12.2 > Environment: JDK 11+ > Gradle 6.8.1 > Spring Boot 2.3.8 and 2.4.2 (so plugin 'org.springframework.boot') >Reporter: Netbeans User 2019 >Assignee: Laszlo Kishalmi >Priority: Major > > After upgrade from 2.2.13.RELEASE to 2.3.8.RELEASE or 2.4.2 > it is starting to ask by resolving project dialog to resolve project > dependencies, but it is unsuccessful so only option to close a dialog and > problem icon is shown on projects that depends on any project dependencies. > But : > - it is possible to run gradle task via Clean, Build, Run action from context > menu > - Project properties dialog seems ok > - but such resolving dialog is forced to open by each start of IDE and > problem icon on projects persists > https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.dsl.DependencyHandler.html#N1748D > It only helps if it is also specify a "configuration" in project dependency. > Using different configuration of course leads to case to be added project as > jar > or as folder in Project properties, but without that Project Properties is > presented > in folder form, but problem icon shown on particular project. -- 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-2373) Support for Gradle distribution plugin
[ https://issues.apache.org/jira/browse/NETBEANS-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356335#comment-17356335 ] Netbeans User 2019 commented on NETBEANS-2373: -- It is prefix with xy in case if dist is not in "main" so I suggest that should be done same way as source packages so that should be put to brackets after e.g. Distribution Files [xy]. > Support for Gradle distribution plugin > -- > > Key: NETBEANS-2373 > URL: https://issues.apache.org/jira/browse/NETBEANS-2373 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0, 12.0, 11.1, 11.2, 11.3, 12.2, 12.3 > Environment: Netbeans 11 > Gradle 5, 6.4.1 > Java 11 >Reporter: Netbeans User 2019 >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Fix For: 12.5 > > Attachments: image-2021-05-21-10-42-51-280.png > > Time Spent: 40m > Remaining Estimate: 0h > > Gradle plugin shall recognize the distribution plugin and add a Source root > for 'src/main/dist' and it also need to support the created distribution > packages in a way. Either in a separate node or just in the project > customizer. -- 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-5734) JDK-Selection for Glassfish 6.1 is restricted to JDK 1.8
[ https://issues.apache.org/jira/browse/NETBEANS-5734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S. M. updated NETBEANS-5734: Description: When I try to assign a JDK to a Glassfish-6.1-Server the selection is restricted to JDK 1.8-versions though ther are other JDK's configured in the Java Platform Manager (e.g. JDK 11). !netbeans_bug-2.png! !netbeans_bug-3.png! was: When I try to assign a JDK to a Glassfish-6.1-Server the selection is restrikted to JDK 1.8-versions though ther are other JDK's configured in the Java Platform Manager (e.g. JDK 11). !netbeans_bug-2.png! !netbeans_bug-3.png! > JDK-Selection for Glassfish 6.1 is restricted to JDK 1.8 > > > Key: NETBEANS-5734 > URL: https://issues.apache.org/jira/browse/NETBEANS-5734 > Project: NetBeans > Issue Type: Bug > Components: serverplugins - GlassFish >Affects Versions: 12.4 >Reporter: S. M. >Priority: Blocker > Attachments: netbeans_bug-2.png, netbeans_bug-3.png > > > When I try to assign a JDK to a Glassfish-6.1-Server the selection is > restricted to JDK 1.8-versions though ther are other JDK's configured in the > Java Platform Manager (e.g. JDK 11). > !netbeans_bug-2.png! > !netbeans_bug-3.png! -- 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-2373) Support for Gradle distribution plugin
[ https://issues.apache.org/jira/browse/NETBEANS-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 reopened NETBEANS-2373: -- > Support for Gradle distribution plugin > -- > > Key: NETBEANS-2373 > URL: https://issues.apache.org/jira/browse/NETBEANS-2373 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 11.0, 12.0, 11.1, 11.2, 11.3, 12.2, 12.3 > Environment: Netbeans 11 > Gradle 5, 6.4.1 > Java 11 >Reporter: Netbeans User 2019 >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Fix For: 12.5 > > Attachments: image-2021-05-21-10-42-51-280.png > > Time Spent: 40m > Remaining Estimate: 0h > > Gradle plugin shall recognize the distribution plugin and add a Source root > for 'src/main/dist' and it also need to support the created distribution > packages in a way. Either in a separate node or just in the project > customizer. -- 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] [Closed] (NETBEANS-5636) New version of Java 11 seems does not work well
[ https://issues.apache.org/jira/browse/NETBEANS-5636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 closed NETBEANS-5636. > New version of Java 11 seems does not work well > --- > > Key: NETBEANS-5636 > URL: https://issues.apache.org/jira/browse/NETBEANS-5636 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 12.0 > Environment: Zulu 11.48.21 jdk11.0.11 > Gradle 6.8.3 >Reporter: Netbeans User 2019 >Priority: Blocker > Fix For: 12.5 > > Attachments: netbeans_breadcrumbs_macos.png, > netbeans_breadcrumbs_win.png > > > UI seems broken with new release of LTS (11) version of Java. > E.g. View > breadcrumbs disappears even if it is enable. > There was even other issue, but not always. > I would like to ask to be retested on each platform with new version of Java > and possibly hunt a issue and provide a update even for version 12.0 of > Apache Netbeans. -- 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] [Resolved] (NETBEANS-5636) New version of Java 11 seems does not work well
[ https://issues.apache.org/jira/browse/NETBEANS-5636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 resolved NETBEANS-5636. -- Resolution: Not A Problem > New version of Java 11 seems does not work well > --- > > Key: NETBEANS-5636 > URL: https://issues.apache.org/jira/browse/NETBEANS-5636 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 12.0 > Environment: Zulu 11.48.21 jdk11.0.11 > Gradle 6.8.3 >Reporter: Netbeans User 2019 >Priority: Blocker > Fix For: 12.5 > > Attachments: netbeans_breadcrumbs_macos.png, > netbeans_breadcrumbs_win.png > > > UI seems broken with new release of LTS (11) version of Java. > E.g. View > breadcrumbs disappears even if it is enable. > There was even other issue, but not always. > I would like to ask to be retested on each platform with new version of Java > and possibly hunt a issue and provide a update even for version 12.0 of > Apache Netbeans. -- 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-5636) New version of Java 11 seems does not work well
[ https://issues.apache.org/jira/browse/NETBEANS-5636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Netbeans User 2019 updated NETBEANS-5636: - Fix Version/s: 12.5 > New version of Java 11 seems does not work well > --- > > Key: NETBEANS-5636 > URL: https://issues.apache.org/jira/browse/NETBEANS-5636 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 12.0 > Environment: Zulu 11.48.21 jdk11.0.11 > Gradle 6.8.3 >Reporter: Netbeans User 2019 >Priority: Blocker > Fix For: 12.5 > > Attachments: netbeans_breadcrumbs_macos.png, > netbeans_breadcrumbs_win.png > > > UI seems broken with new release of LTS (11) version of Java. > E.g. View > breadcrumbs disappears even if it is enable. > There was even other issue, but not always. > I would like to ask to be retested on each platform with new version of Java > and possibly hunt a issue and provide a update even for version 12.0 of > Apache Netbeans. -- 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-5636) New version of Java 11 seems does not work well
[ https://issues.apache.org/jira/browse/NETBEANS-5636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356328#comment-17356328 ] Netbeans User 2019 commented on NETBEANS-5636: -- I would like to close this issue as seems that it is related on version of Operating system so simply after application of some updates it seems that such issue is not seen at least in dev version of 12.5. > New version of Java 11 seems does not work well > --- > > Key: NETBEANS-5636 > URL: https://issues.apache.org/jira/browse/NETBEANS-5636 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 12.0 > Environment: Zulu 11.48.21 jdk11.0.11 > Gradle 6.8.3 >Reporter: Netbeans User 2019 >Priority: Blocker > Attachments: netbeans_breadcrumbs_macos.png, > netbeans_breadcrumbs_win.png > > > UI seems broken with new release of LTS (11) version of Java. > E.g. View > breadcrumbs disappears even if it is enable. > There was even other issue, but not always. > I would like to ask to be retested on each platform with new version of Java > and possibly hunt a issue and provide a update even for version 12.0 of > Apache Netbeans. -- 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] [Closed] (NETBEANSINFRA-189) Copied files get truncated
[ https://issues.apache.org/jira/browse/NETBEANSINFRA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Barboni closed NETBEANSINFRA-189. -- Resolution: Fixed merged > Copied files get truncated > -- > > Key: NETBEANSINFRA-189 > URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-189 > Project: Apache NetBeans Infra > Issue Type: Bug > Components: MU - Apache NetBeans NBM maven plugin >Reporter: Frederic Simons >Priority: Major > Labels: pull-request-available > Fix For: NBM Maven Plugin 4.6 > > Original Estimate: 168h > Remaining Estimate: 168h > > By improving the copying of the modules files in this [pull > request|https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/8], > I overlooked some major flaw in my code. > Using JarOutputstream, it is not easily possible to update a single entry of > a zip (in this case jar) file. > Please revert the mentioned pull request to restore the original code > behaivior. I have a new pull request in the pipeline that actually does what > the original pull request intended and also keeps the optimized performance > without truncating files. > Best regards > Frederic Simons -- 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
[netbeans] branch master updated: Completion items imported from Java delegate to ElementJavadoc to get the content.
This is an automated email from the ASF dual-hosted git repository. sdedic pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 96d18cd Completion items imported from Java delegate to ElementJavadoc to get the content. new a15d4b6 Merge pull request #2984 from sdedic/groovy/completion-javadoc 96d18cd is described below commit 96d18cdc3a1e9e9a2edb7db1df931a59de56c226 Author: Svata Dedic AuthorDate: Tue Jun 1 16:38:13 2021 +0200 Completion items imported from Java delegate to ElementJavadoc to get the content. --- groovy/groovy.editor/nbproject/project.xml | 2 +- .../editor/api/completion/CompletionHandler.java | 53 +++- .../editor/api/completion/CompletionItem.java | 113 +++- .../groovy/editor/completion/MethodCompletion.java | 25 +- .../groovy/editor/completion/TypesCompletion.java | 27 +- .../completion/provider/CompletionAccessor.java| 64 + .../provider/GroovyElementsProvider.java | 35 ++- .../completion/provider/JavaElementHandler.java| 59 +++- .../groovy/editor/java/JavaElementHandle.java | 304 + 9 files changed, 632 insertions(+), 50 deletions(-) diff --git a/groovy/groovy.editor/nbproject/project.xml b/groovy/groovy.editor/nbproject/project.xml index 0cdabe9..d971f65 100644 --- a/groovy/groovy.editor/nbproject/project.xml +++ b/groovy/groovy.editor/nbproject/project.xml @@ -92,7 +92,7 @@ 2 -2.21 +2.43 diff --git a/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/completion/CompletionHandler.java b/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/completion/CompletionHandler.java index 79812ed..30c574f 100644 --- a/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/completion/CompletionHandler.java +++ b/groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/api/completion/CompletionHandler.java @@ -22,12 +22,18 @@ import groovy.lang.MetaMethod; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.io.File; +import java.io.IOException; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.util.*; +import java.util.concurrent.Callable; +import java.util.concurrent.Future; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; import java.util.logging.Level; import java.util.logging.Logger; +import javax.lang.model.element.Element; import javax.swing.text.Document; import javax.swing.text.JTextComponent; import org.codehaus.groovy.ast.ASTNode; @@ -36,6 +42,8 @@ import org.codehaus.groovy.ast.expr.ArgumentListExpression; import org.codehaus.groovy.reflection.CachedClass; import org.netbeans.api.java.platform.JavaPlatform; import org.netbeans.api.java.platform.JavaPlatformManager; +import org.netbeans.api.java.source.CompilationInfo; +import org.netbeans.api.java.source.ui.ElementJavadoc; import org.netbeans.api.lexer.Token; import org.netbeans.api.lexer.TokenSequence; import org.netbeans.editor.BaseDocument; @@ -53,12 +61,14 @@ import org.netbeans.modules.groovy.editor.api.lexer.GroovyTokenId; import org.netbeans.modules.groovy.editor.api.lexer.LexUtilities; import org.netbeans.modules.groovy.editor.utils.GroovyUtils; import org.netbeans.modules.groovy.editor.api.completion.util.CompletionContext; +import org.netbeans.modules.groovy.editor.java.JavaElementHandle; import org.netbeans.modules.groovy.support.api.GroovySettings; +import org.openide.util.Exceptions; import org.openide.util.NbBundle; import org.openide.util.Utilities; import org.openide.util.WeakListeners; -public class CompletionHandler implements CodeCompletionHandler { +public class CompletionHandler implements CodeCompletionHandler2 { private static final Logger LOG = Logger.getLogger(CompletionHandler.class.getName()); private final PropertyChangeListener docListener; @@ -433,7 +443,7 @@ public class CompletionHandler implements CodeCompletionHandler { String error = NbBundle.getMessage(CompletionHandler.class, "GroovyCompletion_NoJavaDocFound"); String doctext = null; - + if (element instanceof ASTMethod) { ASTMethod ame = (ASTMethod) element; @@ -630,4 +640,43 @@ public class CompletionHandler implements CodeCompletionHandler { } return ParameterInfo.NONE; } + +@Override +public Documentation documentElement(ParserResult info, ElementHandle handle, Callable cancel) { +if (handle instanceof JavaElementHandle) { +// let Java support do the hard work. +ElementJavadoc jdoc; +try { +jdoc