[netbeans] branch master updated: Fixed endless CompletionStage chaining.
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 2d010f9 Fixed endless CompletionStage chaining. new 2df6992 Merge pull request #3621 from sdedic/lsp/endless-getNodeId 2d010f9 is described below commit 2d010f98735e3cc289082cdee2cab02a9bce69ad Author: Svata Dedic AuthorDate: Thu Feb 17 10:28:55 2022 +0100 Fixed endless CompletionStage chaining. --- .../java/lsp/server/explorer/TreeViewProvider.java | 23 ++ .../lsp/server/explorer/TreeViewProviderTest.java | 35 ++ 2 files changed, 53 insertions(+), 5 deletions(-) diff --git a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/explorer/TreeViewProvider.java b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/explorer/TreeViewProvider.java index 581355d..7171331 100644 --- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/explorer/TreeViewProvider.java +++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/explorer/TreeViewProvider.java @@ -34,6 +34,7 @@ import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.LinkedHashSet; +import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Objects; @@ -474,6 +475,7 @@ public abstract class TreeViewProvider { public CompletionStage getNodeId(Node n) { Integer i; List toExpand = new ArrayList<>(); +toExpand.add(n); synchronized (this) { i = idMap.get(n); if (i != null) { @@ -486,20 +488,26 @@ public abstract class TreeViewProvider { if (i != null) { break; } +parent = parent.getParentNode(); } if (parent == null) { return CompletableFuture.completedFuture(null); } } -CompletionStage stage = null; -for (Node p : toExpand) { -if (stage == null) { +CompletionStage nextStage = null; +// do not iterate index #0 +for (int idx = toExpand.size() - 1; idx > 0; idx--) { +CompletionStage stage = null; +Node p = toExpand.get(idx); +if (nextStage == null) { stage = getChildren(p); } else { -stage = stage.thenCompose((nodes) -> getChildren(p)); +stage = nextStage.thenCompose((x) -> getChildren(p)); } +final int fidx = idx - 1; +nextStage = stage.thenApply((ch) -> findId(toExpand.get(fidx))); } -return stage.thenCompose((any) -> getNodeId(n)); +return nextStage; } public final CompletionStage getTreeItem(int id) { @@ -680,4 +688,9 @@ public abstract class TreeViewProvider { } } +/* testing */ SortedMap getHolders() { +synchronized (this) { +return new TreeMap<>(holdChildren); +} +} } diff --git a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/explorer/TreeViewProviderTest.java b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/explorer/TreeViewProviderTest.java index e3b1071..9298304 100644 --- a/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/explorer/TreeViewProviderTest.java +++ b/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/explorer/TreeViewProviderTest.java @@ -21,6 +21,10 @@ package org.netbeans.modules.java.lsp.server.explorer; import java.io.File; import java.util.HashSet; import java.util.Set; +import java.util.SortedMap; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.CompletionStage; +import java.util.concurrent.TimeUnit; import org.junit.Test; import static org.junit.Assert.*; import org.openide.explorer.ExplorerManager; @@ -119,6 +123,37 @@ public class TreeViewProviderTest { } +/** + * A call to getNodeId for a nested node should materialize & register parents + * in the TreeViewProvider. + */ +@Test +public void getNodeIdRegistersParents() throws Exception { +ExplorerManager em = new ExplorerManager(); +Node r = new FibNode(10); +em.setRootContext(r); + +Node[] firstLevel = r.getChildren().getNodes(true); +Node[] secondLevel = firstLevel[0].getChildren().getNodes(true); +Node[] thirdLevel = secondLevel[1].getChildren().getNodes(true); + +Node toFind = thirdLevel[0]; + +TreeViewProviderImpl tvp = new TreeViewProviderImpl(em, registry); + +CompletionStage nodeId = tvp.getNodeId(toFind); +int id = nodeId.toCompletableFuture().get(30, TimeUnit.SECONDS); +assertSame(toFind, tvp.fin
[netbeans] branch master updated: Updated Gradle CLI option support.
This is an automated email from the ASF dual-hosted git repository. lkishalmi 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 9496694 Updated Gradle CLI option support. 9496694 is described below commit 9496694e6e274b13e1574916fd68020a23485850 Author: Laszlo Kishalmi AuthorDate: Wed Feb 16 20:17:43 2022 -0800 Updated Gradle CLI option support. --- extide/gradle/apichanges.xml | 12 ++ .../modules/gradle/api/execute/Bundle.properties | 95 +++-- .../gradle/api/execute/GradleCommandLine.java | 150 - .../execute/GradleCliCompletionProvider.java | 41 -- .../gradle/api/execute/GradleCommandLineTest.java | 19 +++ 5 files changed, 234 insertions(+), 83 deletions(-) diff --git a/extide/gradle/apichanges.xml b/extide/gradle/apichanges.xml index a9592af..946aff6 100644 --- a/extide/gradle/apichanges.xml +++ b/extide/gradle/apichanges.xml @@ -83,6 +83,18 @@ is the proper place. + + +GradleCommandLine Flag, Parameter, and Property implements GradleOptionItem interface + + + + + +Added GradleOptionItem interface to GradleCommandLine +in order to support a common interface for Flaf, Parameter, and Property enums. + + NetBeans Tooling plugin recognizes "runWorkingDir" and "runEnvironment" properties. diff --git a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/Bundle.properties b/extide/gradle/src/org/netbeans/modules/gradle/api/execute/Bundle.properties index e684e71..4934cf7 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/Bundle.properties +++ b/extide/gradle/src/org/netbeans/modules/gradle/api/execute/Bundle.properties @@ -15,45 +15,64 @@ # specific language governing permissions and limitations # under the License. -NO_REBUILD_DSC=Do not rebuild project dependencies. [deprecated] -CONFIGURE_ON_DEMAND_DSC=Configure necessary projects only. Gradle will attempt to reduce configuration time for large multi-project builds. [incubating] -NO_CONFIGURE_ON_DEMAND_DSC=Disables the use of configuration on demand. [incubating] -CONTINUE_DSC=Continue task execution after a task failure. -DRY_RUN_DSC=Run the builds with all task actions disabled. -OFFLINE_DSC=Execute the build without accessing network resources. -PARALLEL_DSC=Build projects in parallel. Gradle will attempt to determine the optimal number of executor threads to use. [incubating] -NO_PARALLEL_DSC=Disables parallel execution to build projects. [incubating] -RECOMPILE_SCRIPTS_DSC= Force build script recompiling. [deprecated] -REFRESH_DEPENDENCIES_DSC=Refresh the state of dependencies. -RERUN_TASKS_DSC= Ignore previously cached task results. -MAX_WORKERS_DSC=Configure the number of concurrent workers Gradle is allowed to use. [incubating] -INCLUDE_BUILD_DSC=Include the specified build in the composite. [incubating] +BUILD_CACHE_DSC=Enables the Gradle build cache.Gradle will try to reuse outputs from previous builds. +BUILD_FILE_DSC=Specify the build file.[deprecated] +CONFIGURATION_CACHE_DSC=Enables the configuration cache.Gradle will try to reuse the build configuration from previous builds.[incubating] +CONFIGURATION_CACHE_PROBLEMS_DSC=Configures how the configuration cache handles problems (fail or warn). Defaults to fail.[incubating] +CONFIGURE_ON_DEMAND_DSC=Configure necessary projects only.Gradle will attempt to reduce configuration time for large multi-project builds.[incubating] +CONSOLE_DSC=Specifies which type of console output to generate. Values are 'plain', 'auto' (default), 'rich' or 'verbose'. +CONTINUE_DSC=Continue task execution after a task failure. +CONTINUOUS_DSC=Enables continuous build.Gradle does not exit and will re-execute tasks when task file inputs change. +DAEMON_DSC=Uses the Gradle Daemon to run the build. Starts the Daemon if not running.Builds running through the IDE are always using a daemon. +DEPENDENCY_VERIFICATION_DSC=Configures the dependency verification mode.Values are 'strict', 'lenient' or 'off'. +DRY_RUN_DSC=Run the builds with all task actions disabled. +EXCLUDE_TASK_DSC=Specify a task to be excluded from execution. +EXPORT_KEYS_DSC=Exports the public keys used for dependency verification. +FOREGROUND_DSC=Starts the Gradle Daemon in the foreground. +GUI_DSC=The Gradle GUI has been removed in Gradle 4.0. +GRADLE_USER_HOME_DSC=Specifies the Gradle user home directory. +HELP_DSC=Shows the help message. +INCLUDE_BUILD_DSC=Include the specified build in the composite. +INIT_SCRIPT_DSC=Specify an initialization script. +LOG_DEBUG_DSC=Log in debug mode (includes normal stacktrace) +LOG_INFO_DSC=Set log level to info. +LOG_QUIET_DSC=Log errors only. +LOG_WARN_DSC=Set log
[netbeans] branch master updated (6554cbb -> 0d390b5)
This is an automated email from the ASF dual-hosted git repository. mklaehn pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 6554cbb Native Image debugger does not set print objects on. Checks added to prevent from exceptions. add 0d390b5 Use the blessed modifier order in projects located in apisupport projects No new revisions were added by this update. Summary of changes: .../modules/apisupport/project/ApisupportAntUtils.java | 2 +- .../project/queries/GlobalSourceForBinaryImpl.java | 2 +- .../modules/apisupport/project/ui/ModulesNodeFactory.java| 4 ++-- .../project/ui/customizer/SingleModuleProperties.java| 2 +- .../project/ui/customizer/SuiteCustomizerLibraries.java | 2 +- .../project/ui/platform/NbPlatformCustomizerSources.java | 2 +- .../apisupport/project/ui/wizard/TypeChooserPanelImpl.java | 12 ++-- .../apisupport/project/ui/wizard/spi/ModuleTypePanel.java| 12 ++-- .../apisupport/project/CompilationDependencyTest.java| 2 +- .../modules/apisupport/project/ProjectXMLManagerTest.java| 6 +++--- .../project/universe/TestModuleDependencyTest.java | 4 ++-- .../project/ui/wizard/common/CreatedModifiedFiles.java | 4 ++-- .../apisupport/project/ui/wizard/updatecenter/DataModel.java | 10 +- .../src/org/netbeans/modules/timers/TimesCollectorPeer.java | 2 +- 14 files changed, 33 insertions(+), 33 deletions(-) - 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-6465) java.lang.IllegalArgumentException in org.netbeans.modules.parsing.api.Source.createSnapshot
[ https://issues.apache.org/jira/browse/NETBEANS-6465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494265#comment-17494265 ] Junichi Yamamoto commented on NETBEANS-6465: Could you provide an example code and your exact steps to reproduce it? > java.lang.IllegalArgumentException in > org.netbeans.modules.parsing.api.Source.createSnapshot > > > Key: NETBEANS-6465 > URL: https://issues.apache.org/jira/browse/NETBEANS-6465 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.6 > Environment: Product Version: Apache NetBeans IDE DEV (Build > dev-56863585d0ac228073579fe7605ad314b85b9687) > Java: 17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8-86 > Runtime: OpenJDK Runtime Environment 17.0.2+8-86 > System: Linux version 5.16.0-1-amd64 running on amd64; UTF-8; en_US (nb) >Reporter: Grigory Ivanov >Priority: Major > > During code analysis "Unexpected Exception: > java.lang.IllegalArgumentException: newPosition > limit: (1 > 0)" occurs. > In details it says "system should continue working", but code > completion/inspection are broken for current project. > It seems like some file has badly encoded character in it, but netbeans does > not show which one and does not handle exception for that file, skipping not > only this bad file, but entire scanning/analysing process. > Version 12.5 does not have any problems with same files and same settings, > but 12.6 and onward has. > Stack trace from most current build (#813, > NetBeans-dev-dev-56863585d0ac228073579fe7605ad314b85b9687): > > {code:java} > java.lang.IllegalArgumentException: newPosition > limit: (1 > 0) > at java.base/java.nio.Buffer.createPositionException(Buffer.java:341) > at java.base/java.nio.Buffer.position(Buffer.java:316) > at java.base/java.nio.ByteBuffer.position(ByteBuffer.java:1516) > at > java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:622) > at > org.netbeans.api.queries.FileEncodingQuery$ProxyCharset$ProxyDecoder.decodeLoop(FileEncodingQuery.java:191) > at > java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:585) > Caused: java.nio.charset.CoderMalfunctionError > at > java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:587) > at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:305) > at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188) > at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177) > at org.netbeans.modules.parsing.api.Source.createSnapshot(Source.java:360) > at > org.netbeans.modules.parsing.impl.SourceCache.createSnapshot(SourceCache.java:157) > at > org.netbeans.modules.parsing.impl.SourceCache.getSnapshot(SourceCache.java:132) > at > org.netbeans.modules.parsing.api.ResultIterator.getSnapshot(ResultIterator.java:86) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1T.run(RepositoryUpdater.java:3153) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:169) > at > org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:140) > 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:85) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3253) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2861) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.lambda$index$0(RepositoryUpdater.java:2626) > at > org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2625) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.lambda$scan
[jira] [Created] (NETBEANS-6465) java.lang.IllegalArgumentException in org.netbeans.modules.parsing.api.Source.createSnapshot
Grigory Ivanov created NETBEANS-6465: Summary: java.lang.IllegalArgumentException in org.netbeans.modules.parsing.api.Source.createSnapshot Key: NETBEANS-6465 URL: https://issues.apache.org/jira/browse/NETBEANS-6465 Project: NetBeans Issue Type: Bug Affects Versions: 12.6 Environment: Product Version: Apache NetBeans IDE DEV (Build dev-56863585d0ac228073579fe7605ad314b85b9687) Java: 17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8-86 Runtime: OpenJDK Runtime Environment 17.0.2+8-86 System: Linux version 5.16.0-1-amd64 running on amd64; UTF-8; en_US (nb) Reporter: Grigory Ivanov During code analysis "Unexpected Exception: java.lang.IllegalArgumentException: newPosition > limit: (1 > 0)" occurs. In details it says "system should continue working", but code completion/inspection are broken for current project. It seems like some file has badly encoded character in it, but netbeans does not show which one and does not handle exception for that file, skipping not only this bad file, but entire scanning/analysing process. Version 12.5 does not have any problems with same files and same settings, but 12.6 and onward has. Stack trace from most current build (#813, NetBeans-dev-dev-56863585d0ac228073579fe7605ad314b85b9687): {code:java} java.lang.IllegalArgumentException: newPosition > limit: (1 > 0) at java.base/java.nio.Buffer.createPositionException(Buffer.java:341) at java.base/java.nio.Buffer.position(Buffer.java:316) at java.base/java.nio.ByteBuffer.position(ByteBuffer.java:1516) at java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:622) at org.netbeans.api.queries.FileEncodingQuery$ProxyCharset$ProxyDecoder.decodeLoop(FileEncodingQuery.java:191) at java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:585) Caused: java.nio.charset.CoderMalfunctionError at java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:587) at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:305) at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188) at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177) at org.netbeans.modules.parsing.api.Source.createSnapshot(Source.java:360) at org.netbeans.modules.parsing.impl.SourceCache.createSnapshot(SourceCache.java:157) at org.netbeans.modules.parsing.impl.SourceCache.getSnapshot(SourceCache.java:132) at org.netbeans.modules.parsing.api.ResultIterator.getSnapshot(ResultIterator.java:86) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1T.run(RepositoryUpdater.java:3153) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:169) at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:140) 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:85) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3253) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2861) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.lambda$index$0(RepositoryUpdater.java:2626) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2625) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.lambda$scanSource$3(RepositoryUpdater.java:5719) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.lambda$runInContext$4(RepositoryUpdater.java:2119) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2117) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2098) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$140
[jira] [Commented] (NETBEANS-6458) Cyclic reference. Somebody is trying to get value from FolderInstance (org.openide.awt.Toolbar$Folder) from the same thread that is processing the instance.
[ https://issues.apache.org/jira/browse/NETBEANS-6458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494032#comment-17494032 ] Martin Entlicher commented on NETBEANS-6458: It breaks tests. E.g.: https://app.travis-ci.com/github/apache/netbeans/jobs/560053824 > Cyclic reference. Somebody is trying to get value from FolderInstance > (org.openide.awt.Toolbar$Folder) from the same thread that is processing the > instance. > > > Key: NETBEANS-6458 > URL: https://issues.apache.org/jira/browse/NETBEANS-6458 > Project: NetBeans > Issue Type: Bug > Components: platform - Other >Reporter: Martin Entlicher >Priority: Critical > > {code} > INFO [org.openide.loaders.FolderInstance.Toolbars]: Cannot create > org.openide.loaders.FolderInstance$HoldInstance@1d0068b[Toolbars/File] > [junit] java.io.IOException: Cyclic reference. Somebody is trying to get > value from FolderInstance (org.openide.awt.Toolbar$Folder) from the same > thread that is processing the instance > [junit] at > org.openide.loaders.FolderInstance.instanceCreate(FolderInstance.java:274) > [junit] at > org.openide.loaders.FolderInstance.instanceForCookie(FolderInstance.java:555) > [junit] at > org.openide.loaders.FolderInstance$HoldInstance.instanceCreate(FolderInstance.java:1132) > [junit] [catch] at > org.openide.loaders.FolderInstance$1R.instances(FolderInstance.java:675) > [junit] at > org.openide.loaders.FolderInstance$1R.run(FolderInstance.java:696) > [junit] at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > [junit] at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > [junit] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [junit] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > [junit] INFO [org.openide.awt.Toolbar]: Too long AWTTask: 1,811 ms for > org.openide.awt.Toolbar$Folder@512070e2(FolderList{MultiFileObject@3a04eb7f[Toolbars/UndoRedo]}) > {code} > It has happened during test > org.netbeans.modules.debugger.jpda.truffle.DebugRubyTest. > See https://app.travis-ci.com/github/apache/netbeans/jobs/559303759 for > details. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6458) Cyclic reference. Somebody is trying to get value from FolderInstance (org.openide.awt.Toolbar$Folder) from the same thread that is processing the instance.
[ https://issues.apache.org/jira/browse/NETBEANS-6458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Entlicher updated NETBEANS-6458: --- Priority: Critical (was: Major) > Cyclic reference. Somebody is trying to get value from FolderInstance > (org.openide.awt.Toolbar$Folder) from the same thread that is processing the > instance. > > > Key: NETBEANS-6458 > URL: https://issues.apache.org/jira/browse/NETBEANS-6458 > Project: NetBeans > Issue Type: Bug > Components: platform - Other >Reporter: Martin Entlicher >Priority: Critical > > {code} > INFO [org.openide.loaders.FolderInstance.Toolbars]: Cannot create > org.openide.loaders.FolderInstance$HoldInstance@1d0068b[Toolbars/File] > [junit] java.io.IOException: Cyclic reference. Somebody is trying to get > value from FolderInstance (org.openide.awt.Toolbar$Folder) from the same > thread that is processing the instance > [junit] at > org.openide.loaders.FolderInstance.instanceCreate(FolderInstance.java:274) > [junit] at > org.openide.loaders.FolderInstance.instanceForCookie(FolderInstance.java:555) > [junit] at > org.openide.loaders.FolderInstance$HoldInstance.instanceCreate(FolderInstance.java:1132) > [junit] [catch] at > org.openide.loaders.FolderInstance$1R.instances(FolderInstance.java:675) > [junit] at > org.openide.loaders.FolderInstance$1R.run(FolderInstance.java:696) > [junit] at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > [junit] at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > [junit] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > [junit] at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > [junit] INFO [org.openide.awt.Toolbar]: Too long AWTTask: 1,811 ms for > org.openide.awt.Toolbar$Folder@512070e2(FolderList{MultiFileObject@3a04eb7f[Toolbars/UndoRedo]}) > {code} > It has happened during test > org.netbeans.modules.debugger.jpda.truffle.DebugRubyTest. > See https://app.travis-ci.com/github/apache/netbeans/jobs/559303759 for > details. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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 (5686358 -> 6554cbb)
This is an automated email from the ASF dual-hosted git repository. entl pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 5686358 Merge pull request #3585 from sdedic/lsp/icon-resources add 6554cbb Native Image debugger does not set print objects on. Checks added to prevent from exceptions. No new revisions were added by this update. Summary of changes: cpplite/cpplite.debugger/nbproject/project.xml | 2 +- .../modules/cpplite/debugger/CPPLiteDebugger.java | 8 +-- .../cpplite/debugger/CPPLiteDebuggerConfig.java| 8 ++- .../modules/cpplite/debugger/api/Debugger.java | 2 +- .../debugger/ni/NIDebuggerProviderImpl.java| 49 +++-- .../cpplite/debugger/AbstractDebugTest.java| 2 +- ide/nativeimage.api/manifest.mf| 2 +- .../modules/nativeimage/api/debug/NIDebugger.java | 2 + .../api/debug/StartDebugParameters.java| 61 +- .../nativeimage/spi/debug/NIDebuggerProvider.java | 2 + java/java.lsp.server/nbproject/project.xml | 2 +- .../lsp/server/debugging/NbProtocolServer.java | 5 ++ .../debugging/attach/NbAttachRequestHandler.java | 10 +++- .../server/debugging/launch/NbLaunchDelegate.java | 1 + .../nbproject/project.xml | 2 +- .../debugger/actions/NIAttachCustomizer.java | 13 +++-- .../nativeimage/debugger/api/NIDebugRunner.java| 2 + .../debugger/displayer/JavaVariablesDisplayer.java | 39 -- 18 files changed, 148 insertions(+), 64 deletions(-) - 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-3611) No library found for namespace http://omnifaces.org/ui
[ https://issues.apache.org/jira/browse/NETBEANS-3611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441799#comment-17441799 ] Nicola Isotta edited comment on NETBEANS-3611 at 2/17/22, 2:22 PM: --- As of NetBeans 12.5 the problem persists. I had to downgrade to OminFaces 2.* to get rid of those annoying red badges. was (Author: nicolaisotta): As of NetBeans 12.5 the problem persists. I had to downgrade to OminFaces 2.* to get rid of those annoying red badged. > No library found for namespace http://omnifaces.org/ui > -- > > Key: NETBEANS-3611 > URL: https://issues.apache.org/jira/browse/NETBEANS-3611 > Project: NetBeans > Issue Type: Bug > Components: javaee - JSF >Affects Versions: 11.1, 11.2 >Reporter: Ömer Faruk Kurt >Priority: Major > Attachments: 47298773-eab3a100-d618-11e8-849e-627e6507ee97.png > > > With OmniFace 3.2 you get an error message in a facelet > {{No library found for namespace http://omnifaces.org/ui}} > With NetBeans 8.2 en 9.0 you can only have the 8.2 JEE plugins. > You can actually make JSF2.3 work but adding OmniFaces to a facelet then > renders the error. > I managed to get rid of the error by unpacking the omnifaces-3.2.jar to a > directory and add that directory to the libraries of the project and remove > the omnifaces-3.2.jar from the libraries. > After that I changed the XML tag facelet-taglib to a signature as used in > mojarra_ext.taglib.xml of javax.faces-2.3.7.jar the error is going away from > the facelet. > I saw a closed issue about a namespace not found in NetBeans 8.2 and I have > the same problem. > [https://github.com/omnifaces/omnifaces/issues/442|https://github.com/omnifaces/omnifaces/issues/url] > I think the NetBeans webproject is not able to see the new signature of the > omnifaces-ui.taglib.xml version 2.3. > The NetBeans IDE is making a transition to Apache and until Feb. 2019 there > will not any renewal on the Jakarta EE plugins for NetBeans supporting JSF 2.3 > [https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+Release+Roadmap|https://github.com/omnifaces/omnifaces/issues/url] > So what I did was to uncheck the package checkbox of the changed directory in > the library settings and in the web build/packaging to add the > omnifaces-3.2.jar. > Actually I think it is a NetBeans problem but until feb. 2019 no updates on > Jakarta EE to expect from there. > A picture of 2 projects, 1 with problem and the second with solved problem of > the index.xhtml -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6464) Bug on lopening Design tab to show GUI
Bernardo Janko Gonçalves Biesseck created NETBEANS-6464: --- Summary: Bug on lopening Design tab to show GUI Key: NETBEANS-6464 URL: https://issues.apache.org/jira/browse/NETBEANS-6464 Project: NetBeans Issue Type: Bug Environment: --- >Log Session: Thursday, February 17, 2022 8:20:03 AM AMT >System Info: Product Version = Apache NetBeans IDE 12.4 Operating System = Linux version 5.11.0-43-generic running on amd64 Java; VM; Vendor = 1.8.0_281; Java HotSpot(TM) 64-Bit Server VM 25.281-b09; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_281-b09 Java Home = /usr/lib/jvm/jdk1.8.0_281/jre System Locale; Encoding = pt_BR (nb); UTF-8 Home Directory = /home/bernardo Current Directory = /home/bernardo User Directory = /home/bernardo/.netbeans/12.4 Cache Directory = /home/bernardo/.cache/netbeans/12.4 Installation = /usr/local/netbeans-12.4/netbeans/nb /usr/local/netbeans-12.4/netbeans/ergonomics /usr/local/netbeans-12.4/netbeans/ide /usr/local/netbeans-12.4/netbeans/extide /usr/local/netbeans-12.4/netbeans/java /usr/local/netbeans-12.4/netbeans/apisupport /usr/local/netbeans-12.4/netbeans/webcommon /usr/local/netbeans-12.4/netbeans/websvccommon /usr/local/netbeans-12.4/netbeans/enterprise /usr/local/netbeans-12.4/netbeans/profiler /usr/local/netbeans-12.4/netbeans/php /usr/local/netbeans-12.4/netbeans/harness /usr/local/netbeans-12.4/netbeans/cpplite /usr/local/netbeans-12.4/netbeans/groovy /usr/local/netbeans-12.4/netbeans/javafx /usr/local/netbeans-12.4/netbeans/platform Boot & Ext. Classpath = /usr/lib/jvm/jdk1.8.0_281/jre/lib/resources.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/rt.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/jce.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/jfr.jar:/usr/lib/jvm/jdk1.8.0_281/jre/classes:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/sunec.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/nashorn.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/localedata.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/dnsns.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/jaccess.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/jdk1.8.0_281/jre/lib/ext/zipfs.jar Application Classpath = /usr/local/netbeans-12.4/netbeans/platform/lib/boot.jar:/usr/local/netbeans-12.4/netbeans/platform/lib/org-openide-modules.jar:/usr/local/netbeans-12.4/netbeans/platform/lib/org-openide-util.jar:/usr/local/netbeans-12.4/netbeans/platform/lib/org-openide-util-lookup.jar:/usr/local/netbeans-12.4/netbeans/platform/lib/org-openide-util-ui.jar:/usr/lib/jvm/jdk1.8.0_281/lib/dt.jar:/usr/lib/jvm/jdk1.8.0_281/lib/tools.jar Startup Classpath = /usr/local/netbeans-12.4/netbeans/platform/core/asm-tree-8.0.1.jar:/usr/local/netbeans-12.4/netbeans/platform/core/org-openide-filesystems.jar:/usr/local/netbeans-12.4/netbeans/platform/core/core-base.jar:/usr/local/netbeans-12.4/netbeans/platform/core/core.jar:/usr/local/netbeans-12.4/netbeans/platform/core/asm-commons-8.0.1.jar:/usr/local/netbeans-12.4/netbeans/platform/core/asm-8.0.1.jar:/usr/local/netbeans-12.4/netbeans/platform/core/org-netbeans-libs-asm.jar:/usr/local/netbeans-12.4/netbeans/platform/core/org-openide-filesystems-compat8.jar:/usr/local/netbeans-12.4/netbeans/nb/core/org-netbeans-upgrader.jar:/usr/local/netbeans-12.4/netbeans/nb/core/locale/core_nb.jar --- INFO [org.netbeans.modules.netbinox]: Install area set to file:/usr/local/netbeans-12.4/netbeans/ WARNING [org.netbeans.core.modules]: the modules [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.maven.hints] use org.netbeans.modules.j
[netbeans] branch master updated (3ef7637 -> 5686358)
This is an automated email from the ASF dual-hosted git repository. sdedic pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 3ef7637 Merge pull request #3574 from mbien/github-tags new 38f1408 Support getresource call so the client can get icon resource bits. new 636b6e2 Fixup icon fetch. new c1c5e57 Fixed tests, proceed even if disk cache fails. new c55c4cd Added error detail messages to test. new 5686358 Merge pull request #3585 from sdedic/lsp/icon-resources The 6609 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../nbcode/integration/UIDefaultsIconMetadata.java | 17 +- .../modules/java/lsp/server/URITranslator.java | 6 +- .../server/explorer/LspTreeViewServiceImpl.java| 22 ++ .../modules/java/lsp/server/explorer/TreeItem.java | 2 - .../java/lsp/server/explorer/TreeNodeRegistry.java | 28 +-- .../lsp/server/explorer/TreeNodeRegistryImpl.java | 261 ++--- .../java/lsp/server/explorer/TreeViewProvider.java | 27 ++- ...TreeViewService.java => GetResourceParams.java} | 59 +++-- .../{TreeViewService.java => ResourceData.java}| 57 +++-- .../java/lsp/server/explorer/api/TreeItemData.java | 16 -- .../lsp/server/explorer/api/TreeViewService.java | 3 + .../java/lsp/server/explorer/ProjectViewTest.java | 49 +++- java/java.lsp.server/vscode/src/explorer.ts| 130 ++ java/java.lsp.server/vscode/src/protocol.ts| 16 +- 14 files changed, 478 insertions(+), 215 deletions(-) copy java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/explorer/api/{TreeViewService.java => GetResourceParams.java} (50%) copy java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/explorer/api/{TreeViewService.java => ResourceData.java} (51%) - 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-6218) An infinite loop may occur when parsing Groovy sources
[ https://issues.apache.org/jira/browse/NETBEANS-6218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6218: --- Assignee: Petr Pisl (was: Petr Pisl) > An infinite loop may occur when parsing Groovy sources > -- > > Key: NETBEANS-6218 > URL: https://issues.apache.org/jira/browse/NETBEANS-6218 > Project: NetBeans > Issue Type: Bug > Components: groovy - Editor >Affects Versions: 12.5 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > Groovy editor uses for parsing the Groovy parser from runtime and use > compilation units from Groovy API to compile the sources to obtain the result > AST. There can be reference loop beetween sources and such case creates > endless loop of parsing due a bug in the CompilationUnit implamentation in > Groovy NetBeans editor. This means that background scanning of such source > root never ends. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6235) Build of vscode extension fails
[ https://issues.apache.org/jira/browse/NETBEANS-6235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6235: --- Assignee: Petr Pisl (was: Petr Pisl) > Build of vscode extension fails > --- > > Key: NETBEANS-6235 > URL: https://issues.apache.org/jira/browse/NETBEANS-6235 > Project: NetBeans > Issue Type: Bug > Components: vscode >Affects Versions: 12.5 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 0.5h > Remaining Estimate: 0h > > I have newer version of node (14.17.6) and npm (7.24.1). When VSCode > extension is build (through command `netbeans\java\java.lsp.server$ ant > build-vscode-ext`, the build fails because there are created > `.package-lock.json` files. > {code:java} > ./java/java.lsp.server/vscode/node_modules/.package-lock.json > ./java/java.lsp.server/build/bundles/package/node_modules/.package-lock.json > {code} > When the extension is wrap up in the last phase of building, the build is > looking for the license for these files and the build fails., because there > is not such license. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6141) Exception, when choosing new Groovy class
[ https://issues.apache.org/jira/browse/NETBEANS-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6141: --- Assignee: Petr Pisl > Exception, when choosing new Groovy class > - > > Key: NETBEANS-6141 > URL: https://issues.apache.org/jira/browse/NETBEANS-6141 > Project: NetBeans > Issue Type: Bug > Components: groovy - Code >Affects Versions: 12.4 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Minor > Attachments: Exception.txt, GroovyClass.jpg > > > I have got exception (attached) during creating new Groovy Class through New > File Wizard. The action finished withouth any notification, new Groovy file > was not created. > I have created java project and try to create Groovy Class in it as is on the > picture. !GroovyClass.jpg! > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6196) Package code completion doesn't work in empy groovy file
[ https://issues.apache.org/jira/browse/NETBEANS-6196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6196: --- Assignee: Petr Pisl (was: Petr Pisl) > Package code completion doesn't work in empy groovy file > > > Key: NETBEANS-6196 > URL: https://issues.apache.org/jira/browse/NETBEANS-6196 > Project: NetBeans > Issue Type: Bug > Components: groovy - Editor >Affects Versions: 12.5 > Environment: Linux, Ubuntu >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Minor > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > When you create an emty groovy file, the code completion doesn't offer > `package` keyword. It offers only `private`, `public` and `protected` that > starts with `p` -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6291) Navigation to fields sometimes doesn't work in Groovy
[ https://issues.apache.org/jira/browse/NETBEANS-6291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6291: --- Assignee: Petr Pisl (was: Petr Pisl) > Navigation to fields sometimes doesn't work in Groovy > - > > Key: NETBEANS-6291 > URL: https://issues.apache.org/jira/browse/NETBEANS-6291 > Project: NetBeans > Issue Type: New Feature > Components: groovy - Editor >Affects Versions: 12.5 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 0.5h > Remaining Estimate: 0h > > When there is code like this: > {code:java} > class Student { > int StudentID; > String StudentName; > static void main(String[] args) { > Student st = new Student(); > st.StudentID = 10; > } > } > {code} > the `st.StudentId` doesn't navigate to the field decalations. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6361) Code completion for class fields doesn't work.
[ https://issues.apache.org/jira/browse/NETBEANS-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6361: --- Assignee: Petr Pisl (was: Petr Pisl) > Code completion for class fields doesn't work. > -- > > Key: NETBEANS-6361 > URL: https://issues.apache.org/jira/browse/NETBEANS-6361 > Project: NetBeans > Issue Type: New Feature > Components: groovy - Editor >Affects Versions: 12.5 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Labels: bug, groovy, pull-request-available > Fix For: 12.6 > > Time Spent: 50m > Remaining Estimate: 0h > > Have this simple code: > > {code:java} > class B { > int fieldInt; > String fieldString; > > B instance; > > String getInfo() { >return "Hello ${instance.}" > } > } {code} > The code completion doesn't work after the dot in return statement. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6276) Groovy CC doesn't work on JDK 1.8
[ https://issues.apache.org/jira/browse/NETBEANS-6276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6276: --- Assignee: Petr Pisl (was: Petr Pisl) > Groovy CC doesn't work on JDK 1.8 > - > > Key: NETBEANS-6276 > URL: https://issues.apache.org/jira/browse/NETBEANS-6276 > Project: NetBeans > Issue Type: New Feature > Components: groovy - Editor >Affects Versions: 12.6 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 20m > Remaining Estimate: 0h > > When you run NB from master, the groovy code completion doesn't work. This is > due to missing methods that are called from nbjavac and are available from > JDK 1.9. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6253) Posibility to run single Groovy Script
[ https://issues.apache.org/jira/browse/NETBEANS-6253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6253: --- Assignee: Petr Pisl (was: Petr Pisl) > Posibility to run single Groovy Script > -- > > Key: NETBEANS-6253 > URL: https://issues.apache.org/jira/browse/NETBEANS-6253 > Project: NetBeans > Issue Type: New Feature > Components: groovy - Code >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Labels: pull-request-available > Fix For: 12.6 > > Attachments: Screenshot from 2021-12-02 15-03-44.png, Screenshot from > 2021-12-02 15-10-51.png > > Time Spent: 3h 10m > Remaining Estimate: 0h > > It would be useful, to run a Groovy script that is not a part of a project. > This is mainly for VSCode extension, where you can open a folder and if there > is a Groovy script, user wants to run it. In Netbeans you can open Favourite > window. The file should be run through action Run File (SHIFT+F6). -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6425) Provide outline view for Groovy file in VSCode
[ https://issues.apache.org/jira/browse/NETBEANS-6425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6425: --- Assignee: Petr Pisl > Provide outline view for Groovy file in VSCode > -- > > Key: NETBEANS-6425 > URL: https://issues.apache.org/jira/browse/NETBEANS-6425 > Project: NetBeans > Issue Type: New Feature >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Labels: pull-request-available > Attachments: Screenshot from 2022-01-28 11-05-32.png > > Time Spent: 4.5h > Remaining Estimate: 0h > > Currently we don't provide outline view in VS Code extension. Would be useful > to have this feature there. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6463) Code compleation dosn't offer methods from the same class
[ https://issues.apache.org/jira/browse/NETBEANS-6463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6463: --- Assignee: Petr Pisl > Code compleation dosn't offer methods from the same class > - > > Key: NETBEANS-6463 > URL: https://issues.apache.org/jira/browse/NETBEANS-6463 > Project: NetBeans > Issue Type: Bug > Components: groovy - Code >Affects Versions: 12.6 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Attachments: NoCC1.png, nocc.png > > > There is a simple groovy class: > > {code:java} > class NoCCTest { > private String method1() { > return "Ahoj" > } > > private void method2() { > String a = meth|od1() > } > } {code} > Char `|` indicates curret position. When you invoke code completion at this > position, there are no suggestions. See the picture !nocc.png! > When you write `this.` before method name, then the cc is resolved correctly: > !NoCC1.png! > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6463) Code compleation dosn't offer methods from the same class
Petr Pisl created NETBEANS-6463: --- Summary: Code compleation dosn't offer methods from the same class Key: NETBEANS-6463 URL: https://issues.apache.org/jira/browse/NETBEANS-6463 Project: NetBeans Issue Type: Bug Components: groovy - Code Affects Versions: 12.6 Reporter: Petr Pisl Attachments: NoCC1.png, nocc.png There is a simple groovy class: {code:java} class NoCCTest { private String method1() { return "Ahoj" } private void method2() { String a = meth|od1() } } {code} Char `|` indicates curret position. When you invoke code completion at this position, there are no suggestions. See the picture !nocc.png! When you write `this.` before method name, then the cc is resolved correctly: !NoCC1.png! -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-5327) closing bracket stays indented in source+format on record class.
[ https://issues.apache.org/jira/browse/NETBEANS-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pieter van den Hombergh updated NETBEANS-5327: -- Affects Version/s: 12.6 13 > closing bracket stays indented in source+format on record class. > - > > Key: NETBEANS-5327 > URL: https://issues.apache.org/jira/browse/NETBEANS-5327 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation >Affects Versions: 12.2, 12.3, 12.4, 12.5, 12.6, 13 > Environment: ubuntu 20.04 jjdk16 ea netbeans 12.2 and 12.3-beta2 >Reporter: Pieter van den Hombergh >Priority: Critical > > Normally the source formatter puts the class-closing brace > at the start of the line. > This is not the case for java 14+ (preview) record types. Tested on 12.2 and > 12.3-beta2 and 1.4-beta1 > Formatting happens when you select soure>format or ctrl+shift+f (linux, > windows). > The problem appears to be related to the canonical constructor definition > _before_ the opening braces, because my normal setting > to put white space before closing parenthesis is also ignored. > {code:java} > // Some comments here > public record IntegerRange( Integer start, Integer end) implements // closing > parens should be preceded > Range { // by whitespace with my > settings > } // offending line, not undented to column 1 > {code} > After further investigation, it appears to be influenced by the editor > settings 'spaces, within parenthesis, method declaration' When this is > turned off, the effect does not appear. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6451) How Emotional Support Animals Benefit Mental Health | Guide 2022
[ https://issues.apache.org/jira/browse/NETBEANS-6451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SkyghiS closed NETBEANS-6451. - Resolution: Not A Bug > How Emotional Support Animals Benefit Mental Health | Guide 2022 > > > Key: NETBEANS-6451 > URL: https://issues.apache.org/jira/browse/NETBEANS-6451 > Project: NetBeans > Issue Type: Bug >Reporter: laurasmith >Priority: Major > > Helping an ESA needs the help letter from your nearby aide, which fills in as > a clinical verification of your mental health issues. Any trustworthy mental > health care master has what's happening to give you a [legitimate esa > letter|https://www.realesaletter.com/sample-esa-letter], which qualifies you > as a candidate to help ESA benefits. Right when your ESA records have been > embraced by the fitting informed trained professionals, getting your picked > emotional support animal ought not be an issue. > > Emotional Support Animals for people experiencing a social affair of mental > burdens, including anxiety, might be a staggering wellspring of comfort. Of > late, as a continually expanding number of people are experiencing mental > infections, it has become perpetually common to see emotional support animals > straightforwardly puts, even where pets are reliably denied. > > Again an animal should will without a doubt be considered for emotional > support, which, takes after the passing standards for getting an ESA benefit. > Certifications for animal collaborators are as a rule gotten under the > heading of a consultant or other mental health particularly informed prepared > experts. These specialists ought to guarantee and give verification that the > animal licenses something to like one signs freed from a current mental > check. They should do this on their power letterhead and contain the > specific's subtleties, including the way that the patient has an emotional or > mental impedance, without indicating what sort of mental tainting the > individual is experiencing. > > Anxiety, depression, learning bothers, thought need hyperactivity disorder, > pushing stress disorder, and post-traumatic stress disorder are a piece of > the mental sicknesses that might qualify an individual for the help of an > emotional support animal (ESA). Straightforward standards on the most fit > method to get an ESA which may help you in lessening your depression with > canning be found in the parts that follow. > > *It estimates your pulse back to standard.* > > As adept appraisal has shown, the more love and care you show, the more > peaceful and euphoric your body feels. Having an [esa letter for > dog|https://myesaletter.net/emotional-support-dog-letter] licenses people to > have a pet open the entire day, dependably to hold. It helps with the > standardization of your heartbeat, the decreasing of your circulatory strain, > and the treatment of depression. Petting your animal gives an impression of > loosening up and quietness to your brain, communicating with you to relax and > investigate your time together. > > *Wearisome friendship all through the scourge* > > Individuals who have emotional support animals have revealed that they have > felt less forlorn all through the quarantine and social area dependably ease > in fundamental part. Visiting with another person on the telephone or > video-bantering with a loved one might cause you to feel less alone > notwithstanding being inside seeing an animal can give an extra emotional > lift. > > *Speed up with which you assist with trip others* > > Going for your dog for strolls and practicing with you assists you with > drawing in with others fundamentally something else for sure. The additional > time you spend outside your home, the more related you start to perceive to > the following in ordinary environmental parts. Therefore, your ESA helps you > in getting back to your regular bit by bit dependably practice. > > *They add to the creation of synapses.* > > Antidepressants have been displayed to raise serotonin levels. An [Emotional > Support Dog|https://myesaletter.net/emotional-support-dog] has tended to, > obviously, to help dopamine and different neurochemicals related with > impressions of warmth and association. It assists you with feeling less awful > while at the same time expanding your capacity to love and really twirl > around another animal. Therefore, for people who are inclined to feeling > forlorn, having an animal around might be an essential gadget in their > contraption stash for feeling fairly safer and loved bit by bit. > > *Outfit You with Physical Attention and Affection* > > Considering your ESA, you can get the love you truly need in your standard > dependably presence. Undeniably the m
[jira] [Closed] (NETBEANS-6450) How Difficult Is It to Get an ESA Letter? Know All About It! | Useful Guide
[ https://issues.apache.org/jira/browse/NETBEANS-6450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SkyghiS closed NETBEANS-6450. - Resolution: Not A Bug > How Difficult Is It to Get an ESA Letter? Know All About It! | Useful Guide > --- > > Key: NETBEANS-6450 > URL: https://issues.apache.org/jira/browse/NETBEANS-6450 > Project: NetBeans > Issue Type: Bug >Reporter: laurasmith >Priority: Major > > We all things considered have express episodes of anxiety, strains, and > stress. Regardless, that doesn't mean at all that we surrender to these > issues. Notwithstanding, they can as regularly as conceivable lift messed up > and incite major disorders.You will require the workspace work, for example, > an [esa letter|https://www.realesaletter.com/sample-esa-letter]. For > instance, a mother might experience the cunning effects of Postpartum > Disorder after her development. An individual might have social phobia. These > are events of mental issues that can be unavoidable once in a while. > > Emotional Support Animals are those animals that can help you through these > issues. They have a remarkable bond with you that can permit you to loosen up > when you are under emotional or mental stress. The outcome is a massively > improved and further made life. Regardless, one thing occasionally comes in > the way, which likewise is a constantly introduced demand. How seriously > arranged is it to get an ESA? Considering everything, the response is: "not > extravagantly incensing". A fairly straightforward partnership should be > conceivable with fundamentally no issue. Coming up next are a couple of > pieces of information on the best framework for getting an ESA with > fundamentally no issue. > > Most importantly, you should experience sure mental health issues, for you to > require an ESA. You can ask an organized competent and get their embracing > that you really need an ESA and whether or not the ESA may genuinely show up > for you under such conditions or not. > > The going with stage is to apply for the letter. You now have the > verification of the issue you are going toward. You can fill in the > application that is given to you. Be mindful so as to pick a letter supplier > with the right qualifications. The [esa letter for > housing|https://myesaletter.net/] gave from essentially sound sources can be > real, as they are legitimately supported by the public master for ESA > certification. > > In the event that you don't push toward a set up fit, then, at that point, > online affiliations have the right experts working for them. You can reach > them to communicate your inclinations and they can equip you with the > fundamental bearing. On the off chance that you have the right documentation, > there is nothing forestalling you close by know about counterfeit grumblings > that proposition electronic ESA letters. > > The application is thought about by the clinical master. Suffering there are > any ambiguities, you will be depended on to explain those. Once everything is > clear, then, at that point, you will be offered the endorsement and > guaranteeing for the letter. > > You will help the letter through mail or online source as a delicate > duplicate. Right when you get the letter, it is best to genuinely look at it > for every one of the indications of a bona fide letter. These circuit the > nature of the clinical expert, the letterhead on which the letter has been > formed, and so forth These are the indications that the right administrative > work has been gotten. > > Ultimately you are prepared to get the ESA as your workspace work is > finished. You at first need to see the best animal that may suit you. This > could be spread out on private tendency, the assets you have, comfort, and so > forth Remembering these things is truly significant for getting the right ESA > > The blend of the [emotional support dog > letter|https://www.realesaletter.com/sample-esa-letter] and the animal makes > you the legitimate proprietor of the ESA. fundamentally be vigilant so as not > to go for confirmation or certifications as they are everything viewed as > phony. You would rather not get cheated. > > Unequivocally when you have done an arranged evaluation, you should pick an > animal that would suit you best as an ESA. Keep in mind, you want to set up > the ESA and deal with its necessities so promise you are prepared to handle > the commitment. Animals can't talk so they need to rely totally upon you for > support. > > Considering everything, that is straightforward, right? The right planning of > time can make things completely more straightforward. Fundamentally have an > arrangement as a fundamental concern and follow it till flawlessn
[jira] [Closed] (NETBEANS-6452) Pets & Mental Health: 15 Benefits of Emotional Support Animals | Guide 2022
[ https://issues.apache.org/jira/browse/NETBEANS-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SkyghiS closed NETBEANS-6452. - Resolution: Not A Bug > Pets & Mental Health: 15 Benefits of Emotional Support Animals | Guide 2022 > --- > > Key: NETBEANS-6452 > URL: https://issues.apache.org/jira/browse/NETBEANS-6452 > Project: NetBeans > Issue Type: Bug >Reporter: laurasmith >Priority: Major > > So why ESA Dogs? Considering everything, you should understand that there is > no quick solution for mental issues particularly without legitimate > medication. Without a doubt, even with medications, the joint effort is slow > and you may need to stand up to the shocking results related with these > fixes. ESA dogs can be lifesavers in a more clear number of ways than one. > Notwithstanding, endeavor to get an [emotional support animal > letter|https://myesaletter.net/] before you get a dog as it assists with > giving you the fundamental legitimate validity. > > Imagine what's going on where I let you in on that dogs can be the best > friends that you can whenever have. That sounds unbelievably puzzling. This > is considering the way that everybody knows about how dogs are friendly > animals. Obviously, I am certain you will be weakened expecting I let you in > on that dogs can assist with conquering your mental issues. For sure it is > stunningly surprising as we are by and large reliably trapped in states of > mental stress and can't get therefore. Once more in any case, dogs can truly > assist us with being emotionally well; such dogs are given the name of > Emotional Support Dogs or ESA dogs. > > *So let us see the potential gains of ESA Dogs* > > Specifically, dogs are by and large loyal animals. Pair that with the > capacity to offer emotional help and you have a successful blend. Loyalty is > a resource and obliging it with the capacity to cause you to feel comfortable > outcomes in a friendly friendship with your ESA. You don't need to talk up to > yield your inclinations to your ESA dogs as [emotional support dog > letter|https://myesaletter.net/] can see the issues automatically. > > Dogs have an amazing nature and force of information. They can quickly see > tolerating there is a couple of peril moving closer about considering their > raised perceives. Thusly, suffering you will go into a kind of authentic > issue considering a mental disorder apostatize, then, at that point, the dogs > can act the favored person to guarantee that your brain is redirected from > those strains that are disturbing you. In doing in like way, they assist you > with foregetting about the issues that you may have. > > Dogs are monster with the possible result of being settled with. These > intimate social get-togethers will routinely assist with speeding up the > body's protection instrument against mental health issues. Nestling with an > ESA helps discharge outstanding fabricated materials in their proprietor's > body that will with making an energy of ecstasy. > > Dogs are guileful animals. They can be prepared to perform different > exercises with close to no issue. You don't need to stress over things going > insane, bearing your ESA is thoroughly prepared. This is an additional an > advantage of having ESA dogs. You can meld unequivocal commands for various > bits of a dog's lead. At long last, these are acquainted with them and they > consent to right away. > > Dogs come in different breeds and groupings. You can pick the one that best > suits you. Having the piece of decision makes it impossibly better as you can > pick the one that obliges your strategy for overseeing regular presence. A > fundamental web search can uncover all of the highlights of a particular dog > that you are needing to take on. > > Dogs are living animals and they love to play and socialize. You can take the > dog out and beat the anxiety that may be making you secluded. It is more > straightforward to meet others when you have your ESA close to you. > Therefore, whether or not any problematic circumstance emerges, your dog can > assist you with drawing in it. Suffering you have your [esa > letter|https://myesaletter.net/esa-letter] with you, it shows your adequacy > of ensuring an ESA. > > The various exercises related with dogs like playing, preparing, making due, > and so forth all should be done on schedule. As it is a particular > commitment, satisfying it can outfit the individual with an impression of > sureness which seeks after working on their affirmation. Over time, a > particular feels standard again rather than being mentally vexed. > > You before long have a contemplated the normal increments of ESA dogs. Dogs > as pets have now displayed to have an a