You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/08/18 10:50:53 UTC

[GitHub] [netbeans] llakazs opened a new issue, #4515: Netbeans freeze on file save

llakazs opened a new issue, #4515:
URL: https://github.com/apache/netbeans/issues/4515

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   Modifying and saving a file with syntax error sometimes freezes Netbeans (it becomes completely unresponsive, and i have to kill the process from the operating system).
   The exception in the provided log appears after changing the content of the file. It looks like the issue in this case is related to a syntax error in the file (calling a function on void in generateSignature function). When the indexing starts it throws an exception and saving the file afterwards causes the IDE to freeze completely.
   [netbeans-log.tar.gz](https://github.com/apache/netbeans/files/9372208/netbeans-log.tar.gz)
    
   
   ### How to reproduce
   
   1. Start netbeans
   2. Change anything in the file
   3. Save the file
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.6
   
   ### Operating System
   
   Debian 10 buster with KDE (4.19.249-2)
   
   ### JDK
   
   oracle java 1.8.0_331, openjdk 1.8.0, openjdk 11.0.16, openjdk 17.0.2
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   I first encountered this bug when Netbeans 13 came out and i tried to upgrade from 12.6. I wasn't able to catch a reproducible case so i just went back to 12.6 instead. Later when i switched to Netbeans 14, the bug appeared again in multiple projects, in seemingly random cases.
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien commented on issue #4515: Netbeans freeze on file save

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4515:
URL: https://github.com/apache/netbeans/issues/4515#issuecomment-1259051385

   @llakazs @negora @OnyxianSoul are any "on save" actions enabled (Options -> Editor -> On Save)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] OnyxianSoul commented on issue #4515: Netbeans freeze on file save

Posted by GitBox <gi...@apache.org>.
OnyxianSoul commented on issue #4515:
URL: https://github.com/apache/netbeans/issues/4515#issuecomment-1243771798

   I'm facing the same issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] negora commented on issue #4515: Netbeans freeze on file save

Posted by GitBox <gi...@apache.org>.
negora commented on issue #4515:
URL: https://github.com/apache/netbeans/issues/4515#issuecomment-1257076218

   Same problem here.
   
   I'm using Debian 11 (Bullseye) GNU/Linux and OpenJDK Runtime Environment (build 17.0.4+8-Debian-1deb11u1).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien closed issue #4515: Netbeans freeze on file save

Posted by GitBox <gi...@apache.org>.
mbien closed issue #4515: Netbeans freeze on file save
URL: https://github.com/apache/netbeans/issues/4515


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] llakazs commented on issue #4515: Netbeans freeze on file save

Posted by GitBox <gi...@apache.org>.
llakazs commented on issue #4515:
URL: https://github.com/apache/netbeans/issues/4515#issuecomment-1259087813

   Yes, remove unused imports is on.
   I turned off organize imports a few months ago. The bug appeared before and after that too, so it probably does not affect it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] negora commented on issue #4515: Netbeans freeze on file save

Posted by GitBox <gi...@apache.org>.
negora commented on issue #4515:
URL: https://github.com/apache/netbeans/issues/4515#issuecomment-1259167638

   In my case I've enabled the following options (for Java files):
   
   * Remove trailing white space from: all lines.
   * Remove unused imports.
   * Organize imports.
   
   I can try to disable some options. However, I think that the *bug* appears before saving: as soon as there is certain type of error, the code loses highlighting and you know, beforehand, that the save will freeze the IDE.
   
   One type of error that seems to trigger this *bug* is when you have a Java class placed in a package whose fully qualified name doesn't match the name that appears in the `package` clause of the class. I'll try to reproduce the *bug* when I've some spare time.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] mbien commented on issue #4515: Netbeans freeze on file save

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4515:
URL: https://github.com/apache/netbeans/issues/4515#issuecomment-1263104474

   ok thanks for the info. going to close this issue as duplicate of #4054 since it has a reproducer there.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists