[jira] [Updated] (NETBEANS-6478) Support for Knockout's "checked" binding broken.

2022-03-17 Thread Dusan Balek (Jira)


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

Dusan Balek updated NETBEANS-6478:
--
Description: 
HTML4J does not correctly support Knockout's "checked" binding that includes 
{{checkedValue.}} The following code snippet illustrating the use case is 
copied from the Knockout documentation:
{code:java}






var viewModel = {
items: ko.observableArray([
{ itemName: 'Choice 1' },
{ itemName: 'Choice 2' }
]),
chosenItems: ko.observableArray()
};
{code}
Having the corresponding Java:
{code:java}
@HTMLDialog(url = ".html")
static HTMLDialog.OnSubmit showUI() {
    ViewModel model = new ViewModel();
    model.applyBindings();
    return (id) -> {
        List chosenItems = model.getChosenItems();
        return !chosenItems.isEmpty();
    };
}

@Model(className = "ViewModel", targetId = "", instance = true, builder = 
"with", properties = {
    @Property(name = "chosenItems", type = Item.class, array = true)
})
static final class ViewModelControl {
    @ComputedProperty
    static List items() {
        return Arrays.asList(new Item("Choice 1"), new Item("Choice 2"));
    }
}

@Model(className = "Item", instance = true, properties = {
    @Property(name = "itemName", type = String.class)
})
static final class ItemControl {
}

{code}
The content of `chosenItems` does not reflect changes in checkbox selection.

 

  was:
HTML4J does not correctly support Knockout's "checked" binding that includes 
{{checkedValue.}} The following code snippet illustrating the use case is 
copied from the Knockout documentation:

 
{code:java}






var viewModel = {
items: ko.observableArray([
{ itemName: 'Choice 1' },
{ itemName: 'Choice 2' }
]),
chosenItems: ko.observableArray()
};
{code}
Having the corresponding Java:
{code:java}
@HTMLDialog(url = ".html")
static HTMLDialog.OnSubmit showUI() {
    ViewModel model = new ViewModel();
    model.applyBindings();
    return (id) -> {
        List chosenItems = model.getChosenItems();
        return !chosenItems.isEmpty();
    };
}

@Model(className = "ViewModel", targetId = "", instance = true, builder = 
"with", properties = {
    @Property(name = "chosenItems", type = Item.class, array = true)
})
static final class ViewModelControl {
    @ComputedProperty
    static List items() {
        return Arrays.asList(new Item("Choice 1"), new Item("Choice 2"));
    }
}

@Model(className = "Item", instance = true, properties = {
    @Property(name = "itemName", type = String.class)
})
static final class ItemControl {
}

{code}
The content of `chosenItems` does not reflect changes in checkbox selection.

 


> Support for Knockout's "checked" binding broken.
> 
>
> Key: NETBEANS-6478
> URL: https://issues.apache.org/jira/browse/NETBEANS-6478
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Reporter: Dusan Balek
>Assignee: Jaroslav Tulach
>Priority: Major
>
> HTML4J does not correctly support Knockout's "checked" binding that includes 
> {{checkedValue.}} The following code snippet illustrating the use case is 
> copied from the Knockout documentation:
> {code:java}
> 
> 
> 
> 
> 
> var viewModel = {
> items: ko.observableArray([
> { itemName: 'Choice 1' },
> { itemName: 'Choice 2' }
> ]),
> chosenItems: ko.observableArray()
> };
> {code}
> Having the corresponding Java:
> {code:java}
> @HTMLDialog(url = ".html")
> static HTMLDialog.OnSubmit showUI() {
>     ViewModel model = new ViewModel();
>     model.applyBindings();
>     return (id) -> {
>         List chosenItems = model.getChosenItems();
>         return !chosenItems.isEmpty();
>     };
> }
> @Model(className = "ViewModel", targetId = "", instance = true, builder = 
> "with", properties = {
>     @Property(name = "chosenItems", type = Item.class, array = true)
> })
> static final class ViewModelControl {
>     @ComputedProperty
>     static List items() {
>         return Arrays.asList(new Item("Choice 1"), new Item("Choice 2"));
>     }
> }
> @Model(className = "Item", instance = true, properties = {
>     @Property(name = "itemName", type = String.class)
> })
> static final class ItemControl {
> }
> {code}
> The content of `chosenItems` does not reflect changes in checkbox selection.
>  



--
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:

[jira] [Created] (NETBEANS-6478) Support for Knockout's "checked" binding broken.

2022-03-17 Thread Dusan Balek (Jira)
Dusan Balek created NETBEANS-6478:
-

 Summary: Support for Knockout's "checked" binding broken.
 Key: NETBEANS-6478
 URL: https://issues.apache.org/jira/browse/NETBEANS-6478
 Project: NetBeans
  Issue Type: Bug
  Components: platform - HTML4J
Reporter: Dusan Balek
Assignee: Jaroslav Tulach


HTML4J does not correctly support Knockout's "checked" binding that includes 
{{checkedValue.}} The following code snippet illustrating the use case is 
copied from the Knockout documentation:

 
{code:java}






var viewModel = {
items: ko.observableArray([
{ itemName: 'Choice 1' },
{ itemName: 'Choice 2' }
]),
chosenItems: ko.observableArray()
};
{code}
Having the corresponding Java:
{code:java}
@HTMLDialog(url = ".html")
static HTMLDialog.OnSubmit showUI() {
    ViewModel model = new ViewModel();
    model.applyBindings();
    return (id) -> {
        List chosenItems = model.getChosenItems();
        return !chosenItems.isEmpty();
    };
}

@Model(className = "ViewModel", targetId = "", instance = true, builder = 
"with", properties = {
    @Property(name = "chosenItems", type = Item.class, array = true)
})
static final class ViewModelControl {
    @ComputedProperty
    static List items() {
        return Arrays.asList(new Item("Choice 1"), new Item("Choice 2"));
    }
}

@Model(className = "Item", instance = true, properties = {
    @Property(name = "itemName", type = String.class)
})
static final class ItemControl {
}

{code}
The content of `chosenItems` does not reflect changes in checkbox selection.

 



--
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] [Resolved] (NETBEANS-6080) NoSuchMethodError thrown while applying CreateClassFix

2021-10-04 Thread Dusan Balek (Jira)


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

Dusan Balek resolved NETBEANS-6080.
---
Resolution: Fixed

Hotfixed using reflection.

> NoSuchMethodError thrown while applying CreateClassFix
> --
>
> Key: NETBEANS-6080
> URL: https://issues.apache.org/jira/browse/NETBEANS-6080
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.4
>Reporter: Dusan Balek
>Assignee: Dusan Balek
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.6
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Open the following class in editor:
> {code:java}
> public class Main {
>   public static void main(String... args) {
> T t = new T();
>   }
> }
> {code}
> Place cursor on 'T' in 'new T()' and apply 'Create class 'T" with 
> constructor...' hint. The following exception is thrown:
> {code:java}
> java.lang.NoSuchMethodError: 
> com.sun.tools.javac.code.Type$ErrorType.(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;Lcom/sun/tools/javac/code/Type;)V
>   at 
> org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:347)
>   at 
> org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:227)
>   at 
> org.netbeans.modules.java.hints.errors.CreateClassFix.createConstructor(CreateClassFix.java:160)
>   at 
> org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:408)
>   at 
> org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:393)
>   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
>   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
>   at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>   at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>   at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
>   at 
> org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix.implement(CreateClassFix.java:393)
>   at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:810)
>   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)
> {code}



--
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-6080) NoSuchMethodError thrown while applying CreateClassFix

2021-09-30 Thread Dusan Balek (Jira)


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

Dusan Balek updated NETBEANS-6080:
--
Description: 
Open the following class in editor:
{code:java}
public class Main {
  public static void main(String... args) {
T t = new T();
  }
}
{code}
Place cursor on 'T' in 'new T()' and apply 'Create class 'T" with 
constructor...' hint. The following exception is thrown:
{code:java}
java.lang.NoSuchMethodError: 
com.sun.tools.javac.code.Type$ErrorType.(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;Lcom/sun/tools/javac/code/Type;)V
at 
org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:347)
at 
org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:227)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix.createConstructor(CreateClassFix.java:160)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:408)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:393)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
at 
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix.implement(CreateClassFix.java:393)
at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:810)
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)
{code}

  was:
Open the following class in editor:
{code:java}
public class Main {
  public static void main(String... args) {
new T();
  }
}
{code}
Place cursor on 'T' and apply 'Create class ...' hint. The following exception 
is thrown:
{code:java}
java.lang.NoSuchMethodError: 
com.sun.tools.javac.code.Type$ErrorType.(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;Lcom/sun/tools/javac/code/Type;)V
at 
org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:347)
at 
org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:227)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix.createConstructor(CreateClassFix.java:160)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:408)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:393)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 

[jira] [Created] (NETBEANS-6080) NoSuchMethodError thrown while applying CreateClassFix

2021-09-30 Thread Dusan Balek (Jira)
Dusan Balek created NETBEANS-6080:
-

 Summary: NoSuchMethodError thrown while applying CreateClassFix
 Key: NETBEANS-6080
 URL: https://issues.apache.org/jira/browse/NETBEANS-6080
 Project: NetBeans
  Issue Type: Bug
  Components: java - Source
Affects Versions: 12.4
Reporter: Dusan Balek
Assignee: Dusan Balek
 Fix For: 12.6


Open the following class in editor:
{code:java}
public class Main {
  public static void main(String... args) {
new T();
  }
}
{code}
Place cursor on 'T' and apply 'Create class ...' hint. The following exception 
is thrown:
{code:java}
java.lang.NoSuchMethodError: 
com.sun.tools.javac.code.Type$ErrorType.(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;Lcom/sun/tools/javac/code/Type;)V
at 
org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:347)
at 
org.netbeans.api.java.source.TypeMirrorHandle.resolve(TypeMirrorHandle.java:227)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix.createConstructor(CreateClassFix.java:160)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:408)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix$2.run(CreateClassFix.java:393)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
at 
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
at 
org.netbeans.modules.java.hints.errors.CreateClassFix$CreateOuterClassFix.implement(CreateClassFix.java:393)
at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:810)
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)
{code}



--
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-5740) Netbeans 12.4 freezes AWT from Micronaut Support

2021-08-24 Thread Dusan Balek (Jira)


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

Dusan Balek commented on NETBEANS-5740:
---

[~neilcsmith] the code in `MicronautJavaHyperlinkProvider` is IMHO correct - it 
should not break anything. However, calling Parsing API from within of 
`isHyperlinkPoint` and `getHyperlinkSpan` methods is unfortunate from the 
performance perspective as it can block Java EDT for long periods of time. I am 
consulting the situation with [~jlahoda] to find a better solution.

> Netbeans 12.4 freezes AWT from Micronaut Support
> 
>
> Key: NETBEANS-5740
> URL: https://issues.apache.org/jira/browse/NETBEANS-5740
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: Ubuntu 20.04
> Netbeans 12.4
> OpenJDK 11.0.11
>Reporter: Diego Díez
>Assignee: Dusan Balek
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.5
>
> Attachments: nb-freeze-dump.txt
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> We have started experiencing random freezes after upgrading to Netbeans 12.3, 
> not responding any component to mouse or keyboard interactions.
> We have also noticed that lombok-1.18.18 stopped working with the newer 
> nb-javac installed with the 12.4 version (java16 support). I can't confirm 
> whether this is related with the freezes or not. Using lombok-1.18.20 seems 
> to work well, though.
> Any ideas? Is there any log to look for errors?
> As a workaround we have downgraded to 12.3 as it is a blocking issue for us, 
> being forced to kill the process every time it gets stuck.



--
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-5913) 12.5 beta1 freezes

2021-08-24 Thread Dusan Balek (Jira)


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

Dusan Balek resolved NETBEANS-5913.
---
Fix Version/s: 12.5
   Resolution: Fixed

> 12.5 beta1 freezes
> --
>
> Key: NETBEANS-5913
> URL: https://issues.apache.org/jira/browse/NETBEANS-5913
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
> Environment: Product Version: Apache NetBeans IDE 12.5-beta1
> Java: 11.0.12; OpenJDK 64-Bit Server VM 11.0.12+7-post-Debian-2
> Runtime: OpenJDK Runtime Environment 11.0.12+7-post-Debian-2
> System: Linux version 5.10.0-8-amd64 running on amd64; UTF-8; en_GB (nb)
> User directory: /home/chris/.netbeans/12.5-beta1
> Cache directory: /home/chris/.cache/netbeans/12.5-beta1
>Reporter: Chris Wareham
>Assignee: Jan Lahoda
>Priority: Blocker
> Fix For: 12.5
>
> Attachments: netbeans-12.5-beta1-azul-messages.log, 
> netbeans-12.5-beta1-azul-thread-dump.txt, netbeans-12.5-beta1-messages.log, 
> netbeans-12.5-beta1-thread-dump.txt
>
>
> I'm getting occasional freezes. It can be after a few minutes or a few hours, 
> and there doesn't seem to be any specific user interaction that causes it. A 
> thread dump and log file is attached.



--
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-5913) 12.5 beta1 freezes

2021-08-24 Thread Dusan Balek (Jira)


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

Dusan Balek commented on NETBEANS-5913:
---

Should by fixed by [GitHub Pull Request 
#3108|https://github.com/apache/netbeans/pull/3108] merged into 
`apache:delivery `.

> 12.5 beta1 freezes
> --
>
> Key: NETBEANS-5913
> URL: https://issues.apache.org/jira/browse/NETBEANS-5913
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
> Environment: Product Version: Apache NetBeans IDE 12.5-beta1
> Java: 11.0.12; OpenJDK 64-Bit Server VM 11.0.12+7-post-Debian-2
> Runtime: OpenJDK Runtime Environment 11.0.12+7-post-Debian-2
> System: Linux version 5.10.0-8-amd64 running on amd64; UTF-8; en_GB (nb)
> User directory: /home/chris/.netbeans/12.5-beta1
> Cache directory: /home/chris/.cache/netbeans/12.5-beta1
>Reporter: Chris Wareham
>Assignee: Jan Lahoda
>Priority: Blocker
> Attachments: netbeans-12.5-beta1-azul-messages.log, 
> netbeans-12.5-beta1-azul-thread-dump.txt, netbeans-12.5-beta1-messages.log, 
> netbeans-12.5-beta1-thread-dump.txt
>
>
> I'm getting occasional freezes. It can be after a few minutes or a few hours, 
> and there doesn't seem to be any specific user interaction that causes it. A 
> thread dump and log file is attached.



--
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-5740) Netbeans 12.4 freezes AWT from Micronaut Support

2021-08-24 Thread Dusan Balek (Jira)


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

Dusan Balek resolved NETBEANS-5740.
---
Fix Version/s: 12.5
   Resolution: Fixed

Should by fixed by [GitHub Pull Request 
#3108|https://github.com/apache/netbeans/pull/3108] merged into 
`apache:delivery `. Thanks [~jlahoda] for fixing.

> Netbeans 12.4 freezes AWT from Micronaut Support
> 
>
> Key: NETBEANS-5740
> URL: https://issues.apache.org/jira/browse/NETBEANS-5740
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: Ubuntu 20.04
> Netbeans 12.4
> OpenJDK 11.0.11
>Reporter: Diego Díez
>Assignee: Dusan Balek
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.5
>
> Attachments: nb-freeze-dump.txt
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> We have started experiencing random freezes after upgrading to Netbeans 12.3, 
> not responding any component to mouse or keyboard interactions.
> We have also noticed that lombok-1.18.18 stopped working with the newer 
> nb-javac installed with the 12.4 version (java16 support). I can't confirm 
> whether this is related with the freezes or not. Using lombok-1.18.20 seems 
> to work well, though.
> Any ideas? Is there any log to look for errors?
> As a workaround we have downgraded to 12.3 as it is a blocking issue for us, 
> being forced to kill the process every time it gets stuck.



--
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-5863) "Test results" spuriously clears tests during run, and shows success despite failure

2021-07-23 Thread Dusan Balek (Jira)


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

Dusan Balek resolved NETBEANS-5863.
---
Fix Version/s: 12.5
   Resolution: Fixed

> "Test results" spuriously clears tests during run, and shows success despite 
> failure
> 
>
> Key: NETBEANS-5863
> URL: https://issues.apache.org/jira/browse/NETBEANS-5863
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, utilities - Test Runner
>Affects Versions: 12.4
> Environment: NetBeans 12.4 on 64-bit Windows 10 on OpenJDK 11.0.11.
>Reporter: Eirik Bakke
>Assignee: Dusan Balek
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.5
>
> Attachments: Failure became success!.png, Test results dropped.png
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In NetBeans 12.4, test results displayed in the "Test results" pane will get 
> randomly cleared while the tests are running. The final output thus ends up 
> not including all tests that were run. See the attached series of 
> screenshots. Sometimes the "Test results" pane will end up showing a green 
> bar with "Tests passed: 100.00 %" even when there were test failures.
> My application's test suite is JUnit in a maven-based NetBeans module running 
> maven-surefire-plugin version 3.0.0-M4. Using an older version of the 
> surefire plugin (2.18.1, which I previously used to avoid NETBEANS-458 ) did 
> not solve the problem.
> This problem occurs on NetBeans 12.4, but not on NetBeans 12.1. I verified 
> this by running my application's test suite  on both NetBeans versions, 
> without changing surefire versions or anything else.



--
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-5863) "Test results" spuriously clears tests during run, and shows success despite failure

2021-07-23 Thread Dusan Balek (Jira)


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

Dusan Balek reassigned NETBEANS-5863:
-

Assignee: Dusan Balek

> "Test results" spuriously clears tests during run, and shows success despite 
> failure
> 
>
> Key: NETBEANS-5863
> URL: https://issues.apache.org/jira/browse/NETBEANS-5863
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit, utilities - Test Runner
>Affects Versions: 12.4
> Environment: NetBeans 12.4 on 64-bit Windows 10 on OpenJDK 11.0.11.
>Reporter: Eirik Bakke
>Assignee: Dusan Balek
>Priority: Major
> Attachments: Failure became success!.png, Test results dropped.png
>
>
> In NetBeans 12.4, test results displayed in the "Test results" pane will get 
> randomly cleared while the tests are running. The final output thus ends up 
> not including all tests that were run. See the attached series of 
> screenshots. Sometimes the "Test results" pane will end up showing a green 
> bar with "Tests passed: 100.00 %" even when there were test failures.
> My application's test suite is JUnit in a maven-based NetBeans module running 
> maven-surefire-plugin version 3.0.0-M4. Using an older version of the 
> surefire plugin (2.18.1, which I previously used to avoid NETBEANS-458 ) did 
> not solve the problem.
> This problem occurs on NetBeans 12.4, but not on NetBeans 12.1. I verified 
> this by running my application's test suite  on both NetBeans versions, 
> without changing surefire versions or anything else.



--
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-531) "Duplicate method name in class" when running maven app with CoS enabled

2018-03-28 Thread Dusan Balek (JIRA)

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

Dusan Balek commented on NETBEANS-531:
--

Hard to fix without additional information. Could you please attach the 
affected class file (and/or perhaps the corresponding java source file) to the 
issue? Also the exact steps to reproduce would be welcome.

> "Duplicate method name in class" when running maven app with CoS 
> enabled
> --
>
> Key: NETBEANS-531
> URL: https://issues.apache.org/jira/browse/NETBEANS-531
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Classfile, java - Compiler, projects - Maven
>Affects Versions: 9.0
> Environment: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-205-on-20180202) on OpenJDK 64-Bit Server VM 
> 9.0.4.1+11, Mac OS X version 10.9.5 running on x86_64; UTF-8; en_US (nb)
>Reporter: Eirik Bakke
>Priority: Major
> Attachments: duplicatenamesig.txt
>
>
> On several occasions, when running a Maven-based NetBeans Platform app from 
> the IDE, the app fails with the exception "java.lang.ClassFormatError: 
> Duplicate method name in class file 
> com/somepackage/project/actions/SomeClass$1". I suspect this might be related 
> to the Compile-on-Save infrastructure. See attached log. A clean build of the 
> entire project is then required in order to make the application runnable 
> again.
> Previous versions of NetBeans required a clean build after changing 
> annotations (see Bugzilla bug 
> [221781|https://netbeans.org/bugzilla/show_bug.cgi?id=221781]). However, this 
> new error appears even when no annotations have been changed. The specific 
> error message shown here is also new to me--it did not appear in previous 
> NetBeans versions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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