[
https://issues.apache.org/jira/browse/NETBEANS-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840729#comment-16840729
]
Sam Lalani edited comment on NETBEANS-2547 at 5/15/19 8:16 PM:
---------------------------------------------------------------
The program that I run is fairly big, but every time the main function exits,
it causes this error and the program thread doesn't end. At the bottom-right,
it shows that the thread is still running. If I run the program again, it just
adds another thread.
So I decided to create a small project to test the issue. I restarted NetBeans
11, created a new project by clicking the "New Project..." button at the
top-left of the IDE, selected "Java with Ant" and "Java Application", clicked
"Next" and kept the Project Name "JavaApplication6". Then, without modifying
anything, I just ran the program. The output only had two lines since the code
doesn't do anything:
{code:java}
run:
BUILD SUCCESSFUL (total time: 0 seconds)
{code}
As soon as the program ended, the error came up. I closed the IDE, restarted
it, and then ran the empty program again, and the same thing happened. And
everytime I rerun it without closing NetBeans 11, it adds another thread at the
bottom-right of the NetBeans window. I have attached another PNG
(NBerror2.PNG) showing "JavaApplication6 (run)" running three times. If I
click the "(2 more...)" label and then try to click the "x" at the right of
each running program, it doesn't close it and still shows three running. Maybe
something in my NetBeans settings has gotten screwed up.
was (Author: samlalani):
The program that I run is fairly big, but every time the main function exits,
it causes this error and the program thread doesn't end. At the bottom-right,
it shows that the thread is still running. If I run the program again, it just
adds another thread.
So I decided to create a small project to test the issue. I restarted NetBeans
11, created a new project by clicking the "New Project..." button at the
top-left of the IDE, selected "Java with Ant" and "Java Application", clicked
"Next" and kept the Project Name "JavaApplication6". Then, without modifying
anything, I just ran the program. The output only had two lines since the code
doesn't do anything:
{code:java}
run:
BUILD SUCCESSFUL (total time: 0 seconds)
{code}
As soon as the program ended, the error came up. I closed the IDE, restarted
it, and then ran the empty program again, and the same thing happened. And
everytime I rerun it without closing NetBeans 11, it adds another thread at the
bottom-right of the NetBeans window. I have attached another PNG
(NBerror2.PNG) showing "JavaApplication6 (run)" running three times. Maybe
something in my NetBeans settings has gotten screwed up.
> Bug found by Netbeans
> ---------------------
>
> Key: NETBEANS-2547
> URL: https://issues.apache.org/jira/browse/NETBEANS-2547
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Other
> Affects Versions: 11.0
> Environment: Win 10
> Reporter: Sam Lalani
> Priority: Major
> Attachments: NBerror.PNG, NBerror2.PNG
>
>
> This is the first time ever reporting to JIRA, so please excuse any problems
> in creating the issue. NetBeans said "You have found a bug in the
> application!" and it asked to report the problem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists