The "reflective access" warnings are not unusual.

Not being able to get a thread dump is unusual. Have you tried it *before* it hangs to insure your process is good? You can also try uSoft/SysInternals Process Explorer, if you get properties on a parent, there is a threads tab.

Have you taken a look at messages.log?

When I run from a windows shortcut (win7) I always have

   --console new

as part of the target command, and start minimized (except for the first time, because it will hang asking for imports). And with the property in netbeans.conf

   -J-Dnetbeans.logger.console=true

Then all the logging... is put in a second window, you can even open this window while it's running to see what stuff is being generated. It's basically a the samestuff as messages.log but realtime without the output buffering.

-ernie

On 8/28/2020 4:51 PM, Greenberg, Gary wrote:

I was very wrong when I thought that I am back to normal.

It is not throwing me exceptions when I am opening files, but still I cannot do my work.

Netbeans is hanging every 5-10 minutes and I can’t even save my edits.
I have to kill it with TaskManager and start over again.

In 3 hours I haven’t accomplish anything.

Tried to get a thread dump but it won’t work for unknown reasons.
I started Netbeans from console window and when it hung I got the following on the console:

The launcher has determined that the parent process has a console and will reuse it for its own console output.

Closing the console will result in termination of the running program.

Use '--console suppress' to suppress console output.

Use '--console new' to create a separate console window.

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.netbeans.modules.java.source.parsing.JavacParser (jar:file:/C:/Program%20Files/Netbeans/12.0/netbeans/java/modules/org-netbeans-modules-java-source-base.jar!/) to method com.sun.tools.javac.code.DeferredCompletionFailureHandler.instance(com.sun.tools.javac.util.Context)

WARNING: Please consider reporting this to the maintainers of org.netbeans.modules.java.source.parsing.JavacParser

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

However, neither Ctrl-Break, nor Ctrl-Shift-Pause won’t produce thread dump

Anyone, please, help.

Thanks

Gary Greenberg

Staff Software Engineer

Data Product Development, BI-A

E: ggree...@visa.com

M: 650-269-7902

EmailSig-TaglineVersion

*From:*Greenberg, Gary <ggree...@visa.com.INVALID>
*Sent:* Friday, August 28, 2020 1:41 PM
*Cc:* users@netbeans.apache.org
*Subject:* RE: Try out and vote for Apache NetBeans 12.1

No it is just today.
Yesterday and before it was OK.

Actually, I quit Netbeans and removed userdir and I am back to normal.
I.e. can open source files and edit them.

Gary Greenberg

Staff Software Engineer

Data Product Development, BI-A

E: ggree...@visa.com <mailto:ggree...@visa.com>

M: 650-269-7902

EmailSig-TaglineVersion

*From:*Geertjan Wielenga <geert...@apache.org <mailto:geert...@apache.org>>
*Sent:* Friday, August 28, 2020 1:34 PM
*To:* Greenberg, Gary <ggree...@visa.com.invalid <mailto:ggree...@visa.com.invalid>>
*Cc:* users@netbeans.apache.org <mailto:users@netbeans.apache.org>
*Subject:* Re: Try out and vote for Apache NetBeans 12.1

You've never been able to open a file in NetBeans before?

Gj

On Fri, Aug 28, 2020 at 10:31 PM Greenberg, Gary <ggree...@visa.com.invalid <mailto:ggree...@visa.com.invalid>> wrote:

    I have to use One-Drive.
    Otherwise my code won’t be backed-up.

    That is how Visa environment is set up.

    Why Netbeans is so sensitive to the file system?
    Other developers using SDS and JetBrain do not have such problems.

    Gary Greenberg

    Staff Software Engineer

    Data Product Development, BI-A

    E: ggree...@visa.com <mailto:ggree...@visa.com>

    M: 650-269-7902

    EmailSig-TaglineVersion

    *From:*Laszlo Kishalmi <laszlo.kisha...@gmail.com
    <mailto:laszlo.kisha...@gmail.com>>
    *Sent:* Friday, August 28, 2020 1:06 PM
    *To:* users@netbeans.apache.org <mailto:users@netbeans.apache.org>
    *Subject:* Re: Try out and vote for Apache NetBeans 12.1

    Do not use one-drive mapped files it messes up the filesystem
    operations NetBeans is trying to perform.

    On 8/28/20 12:59 PM, Geertjan Wielenga wrote:

        But you’re not able to open files:

        https://issues.apache.org/jira/browse/NETBEANS-4751
        
<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FNETBEANS-4751&data=02%7C01%7Cggreenbe%40visa.com%7Cf8ac7257d1c5403d8a6e08d84b92b003%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637342440676965604&sdata=vGsY1LIr%2Flbm%2FBH3HKBAzu5MJp%2FqLXV8ojU3Qi1U3Ew%3D&reserved=0>

        So, not being able to create a GitHub repo (even at home when
        you’re not at Visa) seems the very least of your problems.

        Also, sending this to the mailing list, where it belongs.

        Let’s figure out how to open a file, first. :-)

        Gj

        On Fri, 28 Aug 2020 at 20:41, Greenberg, Gary
        <ggree...@visa.com <mailto:ggree...@visa.com>> wrote:










            Unfortunately, I cannot do that. Software on my machine
            won’t allow me to create this repository.

            May be, if you give me existing repository URL, I will be
            able to store it there.

            Regards,

            Gary Greenberg

            Staff Software Engineer

            Data Product Development, BI-A

            E: ggree...@visa.com <mailto:ggree...@visa.com>

            M: 650-269-7902

            EmailSig-TaglineVersion

            *From:*Geertjan Wielenga <geert...@apache.org
            <mailto:geert...@apache.org>>




            *Sent:* Thursday, August 27, 2020 9:30 PM


            *To:* Greenberg, Gary <ggree...@visa.com
            <mailto:ggree...@visa.com>>


            *Cc:* neilcsm...@apache.org <mailto:neilcsm...@apache.org>


            *Subject:* Re: Try out and vote for Apache NetBeans 12.1

            Just create your own GitHub repo.

            Gj

            On Fri, 28 Aug 2020 at 00:55, Greenberg, Gary
            <ggree...@visa.com <mailto:ggree...@visa.com>> wrote:































                I have created a small dummy project and the problem
                is perfectly reproducible.

                Can you please send me URL of the GIT repository to
                push this project into it.

                I found only GITHub with Netbeans sources.

                Thanks,

                Gary Greenberg

                Staff Software Engineer

                Data Product Development, BI-A

                E:

                ggree...@visa.com <mailto:ggree...@visa.com>

                M: 650-269-7902

                EmailSig-TaglineVersion

                *From:*Geertjan Wielenga <geert...@apache.org
                <mailto:geert...@apache.org>>














                *Sent:* Thursday, August 27, 2020 10:51 AM








                *To:* Greenberg, Gary <ggree...@visa.com
                <mailto:ggree...@visa.com>>








                *Cc:* Neil C Smith <neilcsm...@apache.org
                <mailto:neilcsm...@apache.org>>; NetBeans Mailing List
                <users@netbeans.apache.org
                <mailto:users@netbeans.apache.org>>








                *Subject:* Re: Try out and vote for Apache NetBeans 12.1

                Just create a new dummy project from scratch and try
                to reproduce it there. If you reproduce it, upload it
                to GitHub and post the URL to it here. If you cannot
                reproduce it, ask

                yourself some questions.

                Gj

                On Thu, Aug 27, 2020 at 7:50 PM Greenberg, Gary
                <ggree...@visa.com <mailto:ggree...@visa.com>> wrote:

                    Unfortunately, per company policy I cannot share
                    the source code with any entity outside Visa.








                    However, I am seeing the same things on at least
                    five projects on NB 11 and 12.

                    I tried to clear the cache or even removing
                    userdir. Nothing changes.

                    If everything works for you, how would you explain
                    what I sent out in snapshots?

                    My environment:

                    Windows Pro 10;

                    OpenJDK14.0.1;

                    NB 12

                    Gary Greenberg

                    Staff Software Engineer

                    Data Product Development, BI-A

                    E:





                    ggree...@visa.com <mailto:ggree...@visa.com>

                    M: 650-269-7902

                    EmailSig-TaglineVersion

                    *From:*Geertjan Wielenga <geert...@apache.org
                    <mailto:geert...@apache.org>>














                    *Sent:* Thursday, August 27, 2020 10:36 AM








                    *To:* Greenberg, Gary <ggree...@visa.com
                    <mailto:ggree...@visa.com>>








                    *Cc:* Neil C Smith <neilcsm...@apache.org
                    <mailto:neilcsm...@apache.org>>; NetBeans Mailing
                    List <users@netbeans.apache.org
                    <mailto:users@netbeans.apache.org>>








                    *Subject:* Re: Try out and vote for Apache
                    NetBeans 12.1

                    Just tried that, works perfectly.

                    You'll need to put a project that has this problem
                    on GitHub so someone can take a look.

                    Probably not when you say things like "but nobody
                    cared to answer" -- when no one answers it means
                    no one knows or can reproduce.

                    Gj

                    On Thu, Aug 27, 2020 at 7:33 PM Greenberg, Gary
                    <ggree...@visa.com <mailto:ggree...@visa.com>> wrote:

                        Here is a way to reproduce the issue:








                        I have a Maven project that compiles without
                        problems. All dependencies are already in my
                        local .m2 repository








                        I comment out one of the dependencies in the
                        POM file. See attachment c1.jpg.








                        Netbeans shows error badges in the source code.








                        Right click on the error badge and select
                        "Search dependencies at Maven repositories...".








                        It never finds anything. See attachment c2.jpg

















                        I did post question here twice - for NB 11 and
                        NB 12 but nobody cared to answer.


























                        Gary Greenberg








                        Staff Software Engineer








                        Data Product Development, BI-A








                        E: ggree...@visa.com <mailto:ggree...@visa.com>








                        M: 650-269-7902



































                        -----Original Message-----








                        From: Neil C Smith <neilcsm...@apache.org
                        <mailto:neilcsm...@apache.org>>














                        Sent: Thursday, August 27, 2020 9:51 AM








                        To: Geertjan Wielenga <geert...@apache.org
                        <mailto:geert...@apache.org>>; Greenberg, Gary
                        <ggree...@visa.com <mailto:ggree...@visa.com>>








                        Cc: NetBeans Mailing List
                        <users@netbeans.apache.org
                        <mailto:users@netbeans.apache.org>>








                        Subject: Re: Try out and vote for Apache
                        NetBeans 12.1

















                        On Thu, 27 Aug 2020 at 17:42, Geertjan
                        Wielenga <geert...@apache.org
                        <mailto:geert...@apache.org>> wrote:








                        > On Thu, Aug 27, 2020 at 6:37 PM Greenberg,
                        Gary <ggree...@visa.com.invalid
                        <mailto:ggree...@visa.com.invalid>> wrote:








                        >>








                        >> Looks like Maven dependencies search still
                        won’t work in NB 12.1.








                        >> When it is planned to restore it?








                        >








                        > What does it mean, what are the steps, what
                        is the issue number?

















                        Yes, pretty sure we've not taken that away!

















                        However, I have noticed an occasional glitch
                        while testing lots of builds when exiting
                        while the unpacking index task is running. 
                        Maybe deleting the cache dir is enough, and
                        make sure to let that task complete.

















                        Best wishes,

















                        Neil









---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-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