OpenBeans / OpenBeans

OpenBeans is an IDE distribution. It packages the best there is in the ecosystem, polishes it, fixes minor annoyances and serves them to you in a clean bundle. Formerly CoolBeans.
http://www.openbeans.org
ISC License
37 stars 3 forks source link

Unexpected exception (java.lang.AssertionError) #12

Open reddyshyam opened 4 years ago

reddyshyam commented 4 years ago

This happens when I try to change the JDK associated with the project via its properties windows.

Screenshot_31Jan2020_182013

emilianbold commented 4 years ago

If you click 'Show and Report Problem' do you see a bigger stacktrace?

--emi

On Fri, Jan 31, 2020 at 2:52 PM reddyshyam notifications@github.com wrote:

This happens when I try to change the JDK associated with the project via its properties windows.

[image: Screenshot_31Jan2020_182013] https://user-images.githubusercontent.com/12392746/73540722-b010f900-4456-11ea-8fd7-8f395625e008.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenBeans/OpenBeans/issues/12?email_source=notifications&email_token=AAHSCQQODOODN4EDPL5YNODRAQNKRA5CNFSM4KOGSHAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKEE54Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHSCQTUPL3QJIWXPZ63GE3RAQNKRANCNFSM4KOGSHAA .

reddyshyam commented 4 years ago

Hi Emilian,

Thanks for getting back. Yes and I have submitted online errors as a guest. Please do let me know if you still want them.

Regards Shyam


From: Emilian Bold notifications@github.com Sent: 31 January 2020 6:38 PM To: OpenBeans/OpenBeans OpenBeans@noreply.github.com Cc: reddyshyam reddy.shyam@outlook.com; Author author@noreply.github.com Subject: Re: [OpenBeans/OpenBeans] Unexpected exception (java.lang.AssertionError) (#12)

If you click 'Show and Report Problem' do you see a bigger stacktrace?

--emi

On Fri, Jan 31, 2020 at 2:52 PM reddyshyam notifications@github.com wrote:

This happens when I try to change the JDK associated with the project via its properties windows.

[image: Screenshot_31Jan2020_182013] https://user-images.githubusercontent.com/12392746/73540722-b010f900-4456-11ea-8fd7-8f395625e008.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenBeans/OpenBeans/issues/12?email_source=notifications&email_token=AAHSCQQODOODN4EDPL5YNODRAQNKRA5CNFSM4KOGSHAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKEE54Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHSCQTUPL3QJIWXPZ63GE3RAQNKRANCNFSM4KOGSHAA .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/OpenBeans/OpenBeans/issues/12?email_source=notifications&email_token=AC6RSKX2FRLEJFZ454IC3CDRAQPGTA5CNFSM4KOGSHAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKOS6CA#issuecomment-580726536, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC6RSKSH2SAD4AUJSCEXXULRAQPGTANCNFSM4KOGSHAA.

emilianbold commented 4 years ago

I received it, thank you. The nbjavac-related stacktrace is:

java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:155) at com.sun.tools.javac.util.Assert.check(Assert.java:46) at com.sun.tools.javac.comp.Attr.attribIdentAsEnumType(Attr.java:958) at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:412) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:972) at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172) at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1191) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:972) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at com.sun.tools.javac.comp.Attr.visitForLoop(Attr.java:1381) at com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:1136) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357) at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.visitIf(Attr.java:1911) at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1498) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at com.sun.tools.javac.comp.Attr.lambda$visitSwitch$1(Attr.java:1453) at com.sun.tools.javac.comp.Attr.handleSwitch(Attr.java:1586) at com.sun.tools.javac.comp.Attr.visitSwitch(Attr.java:1452) at com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1235) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357) at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.visitTry(Attr.java:1671) at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1391) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357) at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.visitForLoop(Attr.java:1385) at com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:1136) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357) at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1156) at org.netbeans.lib.nbjavac.services.NBAttr.visitMethodDef(NBAttr.java:72) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:882) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5099) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4982) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4910) at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:999) at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:66) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:788) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5099) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4982) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4910) at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4855) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1439) at com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507) [catch] at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091) 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)

--emi

On Fri, Jan 31, 2020 at 3:10 PM reddyshyam notifications@github.com wrote:

Hi Emilian,

Thanks for getting back. Yes and I have submitted online errors as a guest. Please do let me know if you still want them.

Regards Shyam


From: Emilian Bold notifications@github.com Sent: 31 January 2020 6:38 PM To: OpenBeans/OpenBeans OpenBeans@noreply.github.com Cc: reddyshyam reddy.shyam@outlook.com; Author < author@noreply.github.com> Subject: Re: [OpenBeans/OpenBeans] Unexpected exception (java.lang.AssertionError) (#12)

If you click 'Show and Report Problem' do you see a bigger stacktrace?

--emi

On Fri, Jan 31, 2020 at 2:52 PM reddyshyam notifications@github.com wrote:

This happens when I try to change the JDK associated with the project via its properties windows.

[image: Screenshot_31Jan2020_182013] < https://user-images.githubusercontent.com/12392746/73540722-b010f900-4456-11ea-8fd7-8f395625e008.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/OpenBeans/OpenBeans/issues/12?email_source=notifications&email_token=AAHSCQQODOODN4EDPL5YNODRAQNKRA5CNFSM4KOGSHAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKEE54Q , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAHSCQTUPL3QJIWXPZ63GE3RAQNKRANCNFSM4KOGSHAA

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://github.com/OpenBeans/OpenBeans/issues/12?email_source=notifications&email_token=AC6RSKX2FRLEJFZ454IC3CDRAQPGTA5CNFSM4KOGSHAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKOS6CA#issuecomment-580726536>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AC6RSKSH2SAD4AUJSCEXXULRAQPGTANCNFSM4KOGSHAA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/OpenBeans/OpenBeans/issues/12?email_source=notifications&email_token=AAHSCQS2IJMJ7CC5EMXVOYLRAQPN7A5CNFSM4KOGSHAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKOTC6Y#issuecomment-580727163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHSCQVH57JYTWF3KPYVH5TRAQPN7ANCNFSM4KOGSHAA .

mtbadi39 commented 3 years ago

Hi, May be its related to : https://github.com/rzwitserloot/lombok/issues/2612 and https://projectlombok.org/download-edge