[ 
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

Reply via email to