[jira] [Commented] (NETBEANS-6110) Netbeans hangs on save (CTRL+S)

2022-03-30 Thread Meghna Jayan (Jira)


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

Meghna Jayan commented on NETBEANS-6110:


Checked for junit4 in Netbeans 13 version. Issue is resolved.

> Netbeans hangs on save (CTRL+S)
> ---
>
> Key: NETBEANS-6110
> URL: https://issues.apache.org/jira/browse/NETBEANS-6110
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.4
> Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4
>Reporter: Yngve Halmø
>Assignee: Meghna Jayan
>Priority: Major
> Attachments: WorkflowPersistenceServiceTest_104.dump, 
> WorkflowPersistenceServiceTest_70.dump, messages.log.1
>
>
> I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The 
> weird thing is that saving works as I start writing the test, but at some 
> point (seemingly after I add certain text or amount of text), saving stops 
> working and Netbeans hangs as soon as I hit save the next time.
>  
>  



--
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] [Commented] (NETBEANS-6110) Netbeans hangs on save (CTRL+S)

2021-10-07 Thread Jira


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

Yngve Halmø commented on NETBEANS-6110:
---

More info: I see now that there was an error in the test. The last line
{code:java}
assertTrue(workflow.getWorkflowSteps().size().equals(loaded.getWorkflowSteps().size()));
{code}
Incorrectly dereferences an int (List.size() ) by calling .equals. But there is 
still a bug somewhere, because the IDE did not highlight the error inside the 
editor, and threw exceptions, either silently or causing the editor to hang on 
save.

I found the error by running Maven in the command line instead.

> Netbeans hangs on save (CTRL+S)
> ---
>
> Key: NETBEANS-6110
> URL: https://issues.apache.org/jira/browse/NETBEANS-6110
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.4
> Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4
>Reporter: Yngve Halmø
>Priority: Major
> Attachments: WorkflowPersistenceServiceTest_104.dump, 
> WorkflowPersistenceServiceTest_70.dump, messages.log.1
>
>
> I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The 
> weird thing is that saving works as I start writing the test, but at some 
> point (seemingly after I add certain text or amount of text), saving stops 
> working and Netbeans hangs as soon as I hit save the next time.
>  
>  



--
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-6110) Netbeans hangs on save (CTRL+S)

2021-10-07 Thread Jira


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

Yngve Halmø commented on NETBEANS-6110:
---

Maybe I spoke too soon...I am getting this error now;

 
{code:java}
Annotation: An error occurred during parsing of 
'/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'.
 Please report a bug against java/source and attach dump file 
'/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.Annotation:
 An error occurred during parsing of 
'/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'.
 Please report a bug against java/source and attach dump file 
'/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.Annotation:
 An error occurred during parsing of 
'/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'.
 Please report a bug against java/source and attach dump file 
'/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.Annotation:
 An error occurred during parsing of 
'/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'.
 Please report a bug against java/source and attach dump file 
'/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.An
 error occurred during parsing of 
'/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'.
 Please report a bug against java/source and attach dump file 
'/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.An
 error occurred during parsing of 
'/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'.
 Please report a bug against java/source and attach dump file 
'/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.Caused:
 java.lang.AssertionError at 
jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155) at 
jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46) at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$4.complete(DeferredAttr.java:381)
 at 
jdk.compiler/com.sun.tools.javac.comp.ArgumentAttr$ArgumentType.complete(ArgumentAttr.java:371)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$DeferredType.check(DeferredAttr.java:343)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$DeferredType.check(DeferredAttr.java:329)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.recover(DeferredAttr.java:1097)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.typeOf(DeferredAttr.java:1063)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.typeOf(DeferredAttr.java:1053)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$DeferredTypeMap.visitType(DeferredAttr.java:1030)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.visitType(DeferredAttr.java:1053)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$DeferredTypeMap.visitType(DeferredAttr.java:1016)
 at jdk.compiler/com.sun.tools.javac.code.Type.accept(Type.java:227) at 
jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4902)
 at 
jdk.compiler/com.sun.tools.javac.code.Types$TypeMapping.lambda$visit$0(Types.java:5010)
 at jdk.compiler/com.sun.tools.javac.util.List.map(List.java:425) at 
jdk.compiler/com.sun.tools.javac.code.Types$TypeMapping.visit(Types.java:5010) 
at 
jdk.compiler/com.sun.tools.javac.code.Type$StructuralTypeMapping.visitMethodType(Type.java:294)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.visitMethodType(DeferredAttr.java:1081)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.visitMethodType(DeferredAttr.java:1053)
 at 
jdk.compiler/com.sun.tools.javac.code.Type$MethodType.accept(Type.java:1469) at 
jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4902)
 at 
jdk.compiler/com.sun.tools.javac.code.Type$StructuralTypeMapping.visitForAll(Type.java:310)
 at 
jdk.compiler/com.sun.tools.javac.code.Type$StructuralTypeMapping.visitForAll(Type.java:243)
 at jdk.compiler/com.sun.tools.javac.code.Type$ForAll.accept(Type.java:1838) at 
jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4902)
 at jdk.compiler/com.sun.tools.javac.code.Type.map(Type.java:323) at 
jdk.compiler/com.sun.tools.javac.comp.AttrRecover.basicMethodInvocationRecovery(AttrRecover.java:224)
 at 
jdk.compiler/com.sun.tools.javac.comp.AttrRecover.recoverMethodInvocat

[jira] [Commented] (NETBEANS-6110) Netbeans hangs on save (CTRL+S)

2021-10-07 Thread Jira


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

Yngve Halmø commented on NETBEANS-6110:
---

I found a workaround, if I uncheck "remove unused imports", saving seems to 
work normally. So I reckon there is a bug in the remove unused imports function.

> Netbeans hangs on save (CTRL+S)
> ---
>
> Key: NETBEANS-6110
> URL: https://issues.apache.org/jira/browse/NETBEANS-6110
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 12.4
> Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4
>Reporter: Yngve Halmø
>Priority: Major
> Attachments: WorkflowPersistenceServiceTest_70.dump, messages.log.1
>
>
> I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The 
> weird thing is that saving works as I start writing the test, but at some 
> point (seemingly after I add certain text or amount of text), saving stops 
> working and Netbeans hangs as soon as I hit save the next time.
>  
>  



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