So the

   java.lang.AssertionError cannot be found on the bootclasspath:
            ...  Changing source level to 1.3

is unexpected. When does that happen? Only with one project? I guess that could 
mean the classpath is wrong (if it's not the jdk). Does the classpath look 
correct? Could it be a hardware failure? Something has changed.

-ernie

On 8/28/2020 7:40 PM, Greenberg, Gary wrote:
I haven't try jstack yet.
I do not think JDK 1.8 is corrupted. Last week it was working fine.
Couple days ago I started new project. Created 4 java files without problems,
but today on the 5-th one I got these un-ending problems.

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902




-----Original Message-----
From: Ernie Rael <err...@raelity.com>
Sent: Friday, August 28, 2020 6:39 PM
To: users@netbeans.apache.org
Subject: Re: Try out and vote for Apache NetBeans 12.1

On 8/28/2020 5:57 PM, Greenberg, Gary wrote:
I did try it before it hangs and still no thread dump.
So you're unable to take a thread dump, independent of the hang. I'm on Win7, I 
got thread dumps with both jdk1.8 and jdk-14. I entered ctrl-break in the 
window created by the '--console new' option.

Have you tried jstack to get the dump?

When I run into a hang, the thread dump is usually essential.

I've seen parser errors like that, never associated with a hang.

The

     Even though the source level of
     ...\Projects\batch-merchant-search\src\main\resources is set to:
     1.8, java.lang.AssertionError cannot be found on the bootclasspath:
     ...  Changing source level to 1.3

seems troubling. I've never seen anything like that. When/how does that happen? 
Configuration issue or corrupt jdk?

You're using maven?

-ernie

However, messages.log contains a lot of the following exceptions:

Even though the source level of C:\Users\ggreenbe\OneDrive - Visa
Inc\Development\Projects\batch-merchant-search\src\main\java;C:\Users\
ggreenbe\OneDrive - Visa
Inc\Development\Projects\batch-merchant-search\src\main\resources is
set to: 1.8, java.lang.AssertionError cannot be found on the
bootclasspath: C:\Program
Files\Java\jdk1.8.0_251\jre\lib\resources.jar;C:\Program
Files\Java\jdk1.8.0_251\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.8.0_251\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.8.0_251\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.8.0_251\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.8.0_251\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.8.0_251\jre\lib\jfr.jar;C:\Program
Files\Java\jdk1.8.0_251\jre\classes
Changing source level to 1.3
WARNING [org.netbeans.TopSecurityManager]: use of system property
netbeans.user has been obsoleted in favor of
InstalledFileLocator/Places at
org.netbeans.modules.java.source.parsing.JavacParser.dumpSource(JavacP
arser.java:1260)
SEVERE [org.openide.util.Exceptions]
An error occurred during parsing of 'C:\Users\ggreenbe\OneDrive - Visa 
Inc\Development\Projects\batch-merchant-search\src\main\java\com\visa\dpd\app\batch\merchant\search\domain\OutputRecord.java'.
 Please report a bug against java/source and attach dump file 
'C:\Users\ggreenbe\AppData\Roaming\NetBeans\12.0\var\log\OutputRecord_120.dump'.
An error occurred during parsing of 'C:\Users\ggreenbe\OneDrive - Visa 
Inc\Development\Projects\batch-merchant-search\src\main\java\com\visa\dpd\app\batch\merchant\search\domain\OutputRecord.java'.
 Please report a bug against java/source and attach dump file 
'C:\Users\ggreenbe\AppData\Roaming\NetBeans\12.0\var\log\OutputRecord_120.dump'.
Caused: com.sun.tools.javac.util.FatalError: Fatal Error: Unable to find 
package java.lang in classpath or bootclasspath
          at 
jdk.compiler/com.sun.tools.javac.comp.TypeEnter$ImportsPhase.resolveImports(TypeEnter.java:357)
          at 
jdk.compiler/com.sun.tools.javac.comp.TypeEnter$ImportsPhase.runPhase(TypeEnter.java:324)
          at 
jdk.compiler/com.sun.tools.javac.comp.TypeEnter$Phase.doCompleteEnvs(TypeEnter.java:285)
          at 
jdk.compiler/com.sun.tools.javac.comp.TypeEnter$Phase.completeEnvs(TypeEnter.java:254)
          at 
jdk.compiler/com.sun.tools.javac.comp.TypeEnter.complete(TypeEnter.java:201)
          at 
jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:670)
          at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1383)
          at 
jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:584)
          at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:561)
          at 
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1071)
          at 
jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:336)
          at 
jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:273)
          at 
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:674)
          at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:497)
          at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:145)
          at 
org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
          at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
          at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
          at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
          at
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execu
te(TaskProcessor.java:702) [catch] at
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
          at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
          at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
          at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
          at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
          at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:
2033) ALL [null]: An error occurred during parsing of
'C:\Users\ggreenbe\OneDrive - Visa 
Inc\Development\Projects\batch-merchant-search\src\main\java\com\visa\dpd\app\batch\merchant\search\domain\OutputRecord.java'.
 Please report a bug against java/source and attach dump file 
'C:\Users\ggreenbe\AppData\Roaming\NetBeans\12.0\var\log\OutputRecord_120.dump'.
SEVERE [org.openide.util.Exceptions]

Dump file contains source code of the file (it does contain errors because I 
haven't finished editing it),  bootPath, classpath and the same exception.

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902



-----Original Message-----
From: Ernie Rael <err...@raelity.com>
Sent: Friday, August 28, 2020 5:25 PM
To: users@netbeans.apache.org
Subject: Re: Try out and vote for Apache NetBeans 12.1

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(co
m
.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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fiss
ues.apache.org%2Fjira%2Fbrowse%2FNETBEANS-4751&amp;data=02%7C01%7Cggr
eenbe%40visa.com%7Cc07b09e457154ae962bd08d84bbc606a%7C38305e12e15d4ee
888b9c4db1c477d76%7C0%7C0%7C637342619737746948&amp;sdata=Hgsh02SlXR1%
2B6ucT%2FplHLXjEHVj3urZG%2BOx%2B5OFzimY%3D&amp;reserved=0
<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fis
s
ues.apache.org%2Fjira%2Fbrowse%2FNETBEANS-4751&amp;data=02%7C01%7Cggr
e
enbe%40visa.com%7C11a42d72cf50424d9df508d84bb203d2%7C38305e12e15d4ee8
8
8b9c4db1c477d76%7C0%7C0%7C637342575229335087&amp;sdata=mbIGeMaCEM34Zm
D 1uulno26V%2BTi4b3H8qZ0EF3zUn%2FQ%3D&amp;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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwik
i.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;d
ata=02%7C01%7Cggreenbe%40visa.com%7Cc07b09e457154ae962bd08d84bbc606a%7
C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637342619737746948&amp;sda
ta=%2Bis1vQke1pvWTEP4eBvvplinvoTQ1f65bcyVUcHHky4%3D&amp;reserved=0


---------------------------------------------------------------------
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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwik
i.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;d
ata=02%7C01%7Cggreenbe%40visa.com%7Cc07b09e457154ae962bd08d84bbc606a%7
C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637342619737746948&amp;sda
ta=%2Bis1vQke1pvWTEP4eBvvplinvoTQ1f65bcyVUcHHky4%3D&amp;reserved=0


---------------------------------------------------------------------
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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&amp;data=02%7C01%7Cggreenbe%40visa.com%7Cc07b09e457154ae962bd08d84bbc606a%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637342619737746948&amp;sdata=%2Bis1vQke1pvWTEP4eBvvplinvoTQ1f65bcyVUcHHky4%3D&amp;reserved=0


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



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