[jira] [Created] (NETBEANS-6043) No compatible JDK not found - The specified JDK folder contains JDK version "2724.0.0.0.0", while the maximum is "500.0.0.0".
Michal Rama created NETBEANS-6043: - Summary: No compatible JDK not found - The specified JDK folder contains JDK version "2724.0.0.0.0", while the maximum is "500.0.0.0". Key: NETBEANS-6043 URL: https://issues.apache.org/jira/browse/NETBEANS-6043 Project: NetBeans Issue Type: Improvement Components: platform - JDK Problems Affects Versions: 12.5 Environment: Windows 11, Java 17 Reporter: Michal Rama Attachments: obr�zek35.png Hello, May I ask why the program does not support JDK 17? !obr�zek35.png! I understand Java was released about a few days later (it wouldn't be the first time). However, when I changed to *JDK 17* in the *netbeans.conf* file (in the *etc* folder), it works and I haven't noticed any problems yet. (I mean already installed in version *12.4*) Why is that so? And when will NetBeans support JDK 17, please? Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-6043) No compatible JDK not found - The specified JDK folder contains JDK version "2724.0.0.0.0", while the maximum is "500.0.0.0".
[ https://issues.apache.org/jira/browse/NETBEANS-6043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-6043: -- Issue Type: Bug (was: Improvement) > No compatible JDK not found - The specified JDK folder contains JDK version > "2724.0.0.0.0", while the maximum is "500.0.0.0". > - > > Key: NETBEANS-6043 > URL: https://issues.apache.org/jira/browse/NETBEANS-6043 > Project: NetBeans > Issue Type: Bug > Components: platform - JDK Problems >Affects Versions: 12.5 > Environment: Windows 11, Java 17 >Reporter: Michal Rama >Priority: Trivial > Labels: install, jdk, jdk1.7, support > Attachments: obr�zek35.png > > > Hello, > May I ask why the program does not support JDK 17? > !obr�zek35.png! > I understand Java was released about a few days later (it wouldn't be the > first time). However, when I changed to *JDK 17* in the *netbeans.conf* file > (in the *etc* folder), it works and I haven't noticed any problems yet. (I > mean already installed in version *12.4*) > Why is that so? And when will NetBeans support JDK 17, please? > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5839) The java package name isn't case sensitive.
Michal Rama created NETBEANS-5839: - Summary: The java package name isn't case sensitive. Key: NETBEANS-5839 URL: https://issues.apache.org/jira/browse/NETBEANS-5839 Project: NetBeans Issue Type: Bug Components: java - Project Affects Versions: 12.4 Environment: Windows 11, Java 16.0.1 Reporter: Michal Rama Attachments: obr�zek34.png Hello, It isn't possible to rename a Java package by simply changing lower to upper case (or vice versa). And if I change it in file explorer, the program won't detect it at all. !obr�zek34.png! Please repair. Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5837) Checking for external changes suspended.
Michal Rama created NETBEANS-5837: - Summary: Checking for external changes suspended. Key: NETBEANS-5837 URL: https://issues.apache.org/jira/browse/NETBEANS-5837 Project: NetBeans Issue Type: Bug Components: java - Editor, java - Project Affects Versions: 12.4 Environment: Windows 11, Java 16.0.1 Reporter: Michal Rama Attachments: obr�zek07.png Hello, I'm not sure, but this problem only occurred with the current version of NetBeans (12.4). Recently, the *Checking for external changes* task often runs and doesn't want to be completed. I always have to cancel it manually, because it runs for half an hour without a result. !obr�zek07.png! Yesterday, it even happened to me that I had to close the program because it was not even possible to cancel it manually. Please repair. Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5833) NullPointerException: Cannot invoke "javax.tools.JavaFileObject.isNameCompatible(String, javax.tools.JavaFileObject$Kind)" because "toplevel.sourcefile" is null
Michal Rama created NETBEANS-5833: - Summary: NullPointerException: Cannot invoke "javax.tools.JavaFileObject.isNameCompatible(String, javax.tools.JavaFileObject$Kind)" because "toplevel.sourcefile" is null Key: NETBEANS-5833 URL: https://issues.apache.org/jira/browse/NETBEANS-5833 Project: NetBeans Issue Type: Bug Components: java - Classfile, java - Classpath, java - Project Affects Versions: 12.4 Environment: Windows 11, Java 16.0.1 Reporter: Michal Rama Hello, This problem may have occurred when you moved the file to another package. {code:java} java.lang.NullPointerException: Cannot invoke "javax.tools.JavaFileObject.isNameCompatible(String, javax.tools.JavaFileObject$Kind)" because "toplevel.sourcefile" is nulljava.lang.NullPointerException: Cannot invoke "javax.tools.JavaFileObject.isNameCompatible(String, javax.tools.JavaFileObject$Kind)" because "toplevel.sourcefile" is null at com.sun.tools.javac.comp.Modules.enterModule(Modules.java:330) at com.sun.tools.javac.comp.Modules.enterModules(Modules.java:320) at com.sun.tools.javac.comp.Modules.enter(Modules.java:285) at com.sun.tools.javac.comp.Modules.enter(Modules.java:268) at com.sun.tools.javac.main.JavaCompiler.readSourceFile(JavaCompiler.java:873) at com.sun.tools.javac.main.JavaCompiler.readSourceFile(JavaCompiler.java:827) at com.sun.tools.javac.main.JavaCompiler.lambda$new$0(JavaCompiler.java:362) at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:388) at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:301) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:684) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1435) at com.sun.tools.javac.code.Symbol.apiComplete(Symbol.java:690) at com.sun.tools.javac.code.Symbol$TypeSymbol.getEnclosedElements(Symbol.java:864) at com.sun.tools.javac.code.Symbol$TypeSymbol.getEnclosedElements(Symbol.java:799) at org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitMethod(NPECheck.java:1160) at org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitMethod(NPECheck.java:546) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:940) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:90) at org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:69) at org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:653) at org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:546) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:78) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:117) at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:193) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:846) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:90) at org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:69) at org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:653) at org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:546) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:78) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:117) at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:148) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:605) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:90) at org.netbeans.api.java.source.support.CancellableTreeScanner.scan(CancellableTreeScanner.java:69) at org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:653) at org.netbeans.modules.java.hints.bugs.NPECheck.computeExpressionsState(NPECheck.java:503) at org.netbeans.modules.java.hints.bugs.NPECheck.methodInvocation(NPECheck.java:308) at jdk.internal.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567)[catch] at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657) at
[jira] [Updated] (NETBEANS-5819) ClassCastException: class com.sun.tools.javac.code.Type$ClassType cannot be cast to class com.sun.tools.javac.jvm.UninitializedType
[ https://issues.apache.org/jira/browse/NETBEANS-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5819: -- Labels: ClassCastException class java (was: ClassCastException Exception class) > ClassCastException: class com.sun.tools.javac.code.Type$ClassType cannot be > cast to class com.sun.tools.javac.jvm.UninitializedType > --- > > Key: NETBEANS-5819 > URL: https://issues.apache.org/jira/browse/NETBEANS-5819 > Project: NetBeans > Issue Type: Bug > Components: java - Editor, java - Project >Affects Versions: 12.4 > Environment: Windows 10, Java 16.0.1 >Reporter: Michal Rama >Priority: Major > Labels: ClassCastException, class, java > > Hello, > This error probably occurred while editing the code. > Please help > Thank you > {code:java} > java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType > cannot be cast to class com.sun.tools.javac.jvm.UninitializedType > (com.sun.tools.javac.code.Type$ClassType and > com.sun.tools.javac.jvm.UninitializedType are in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader > @387d1e00)java.lang.ClassCastException: class > com.sun.tools.javac.code.Type$ClassType cannot be cast to class > com.sun.tools.javac.jvm.UninitializedType > (com.sun.tools.javac.code.Type$ClassType and > com.sun.tools.javac.jvm.UninitializedType are in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @387d1e00) at > com.sun.tools.javac.jvm.Code.emitInvokespecial(Code.java:468) at > com.sun.tools.javac.jvm.Items$MemberItem.invoke(Items.java:532) at > com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1864) at > com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1760) > at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:868) at > com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1727) at > com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1547) > at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601) at > com.sun.tools.javac.jvm.Gen.genStat(Gen.java:636) at > com.sun.tools.javac.jvm.Gen.genStat(Gen.java:622) at > com.sun.tools.javac.jvm.Gen.genStats(Gen.java:673) at > com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1088) at > com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1062) at > com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601) at > com.sun.tools.javac.jvm.Gen.genStat(Gen.java:636) at > com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:958) at > com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:921) at > com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:908) at > com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601) at > com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2402) at > com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:786) at > com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1752) at > com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:592) at > com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:669) at > com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:595)[catch] > at > org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:303) > 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$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
[jira] [Created] (NETBEANS-5819) ClassCastException: class com.sun.tools.javac.code.Type$ClassType cannot be cast to class com.sun.tools.javac.jvm.UninitializedType
Michal Rama created NETBEANS-5819: - Summary: ClassCastException: class com.sun.tools.javac.code.Type$ClassType cannot be cast to class com.sun.tools.javac.jvm.UninitializedType Key: NETBEANS-5819 URL: https://issues.apache.org/jira/browse/NETBEANS-5819 Project: NetBeans Issue Type: Bug Components: java - Editor, java - Project Affects Versions: 12.4 Environment: Windows 10, Java 16.0.1 Reporter: Michal Rama Hello, This error probably occurred while editing the code. Please help Thank you {code:java} java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType cannot be cast to class com.sun.tools.javac.jvm.UninitializedType (com.sun.tools.javac.code.Type$ClassType and com.sun.tools.javac.jvm.UninitializedType are in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @387d1e00)java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType cannot be cast to class com.sun.tools.javac.jvm.UninitializedType (com.sun.tools.javac.code.Type$ClassType and com.sun.tools.javac.jvm.UninitializedType are in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @387d1e00) at com.sun.tools.javac.jvm.Code.emitInvokespecial(Code.java:468) at com.sun.tools.javac.jvm.Items$MemberItem.invoke(Items.java:532) at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1864) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1760) at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:868) at com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1727) at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1547) at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601) at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:636) at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:622) at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:673) at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1088) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1062) at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601) at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:636) at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:958) at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:921) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:908) at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601) at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2402) at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:786) at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1752) at com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:592) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:669) at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:595)[catch] at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:303) 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$Work$3.call(RepositoryUpdater.java:3300) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) 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$Work.scanFiles(RepositoryUpdater.java:3255) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785) at
[jira] [Updated] (NETBEANS-5776) ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement
[ https://issues.apache.org/jira/browse/NETBEANS-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5776: -- Labels: ClassCastException class java (was: ClassCastException java) > ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot > be cast to class javax.lang.model.element.ExecutableElement > > > Key: NETBEANS-5776 > URL: https://issues.apache.org/jira/browse/NETBEANS-5776 > Project: NetBeans > Issue Type: Bug > Components: java - Editor, java - Project >Affects Versions: 12.4 > Environment: Windows 10, Java 16.0.1 >Reporter: Michal Rama >Priority: Major > Labels: ClassCastException, class, java > > Hello, > This error probably occurred while editing the code. > Please help > Thank you > {code:java} > java.lang.ClassCastException: class > com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class > javax.lang.model.element.ExecutableElement > (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @586e4320; > javax.lang.model.element.ExecutableElement is in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader > @32b6b4a)java.lang.ClassCastException: class > com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class > javax.lang.model.element.ExecutableElement > (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @586e4320; > javax.lang.model.element.ExecutableElement is in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @32b6b4a) at > org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypesImpl(JavaCompletionTask.java:5569) > at > org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypes(JavaCompletionTask.java:5320) > at > org.netbeans.modules.java.completion.JavaCompletionTask.addLocalMembersAndVars(JavaCompletionTask.java:3368) > at > org.netbeans.modules.java.completion.JavaCompletionTask.insideMethodInvocation(JavaCompletionTask.java:2056) > at > org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:403) > at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at > org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:60) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > 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.TaskProcessor.runUserTask(TaskProcessor.java:178)Caused: > org.netbeans.modules.parsing.spi.ParseException at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)[catch] > at > org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193) > at > org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) > 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) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5776) ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement
[ https://issues.apache.org/jira/browse/NETBEANS-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5776: -- Description: Hello, This error probably occurred while editing the code. Please help Thank you {code:java} java.lang.ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @586e4320; javax.lang.model.element.ExecutableElement is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @32b6b4a)java.lang.ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @586e4320; javax.lang.model.element.ExecutableElement is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @32b6b4a) at org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypesImpl(JavaCompletionTask.java:5569) at org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypes(JavaCompletionTask.java:5320) at org.netbeans.modules.java.completion.JavaCompletionTask.addLocalMembersAndVars(JavaCompletionTask.java:3368) at org.netbeans.modules.java.completion.JavaCompletionTask.insideMethodInvocation(JavaCompletionTask.java:2056) at org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:403) at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:60) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) 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.TaskProcessor.runUserTask(TaskProcessor.java:178)Caused: org.netbeans.modules.parsing.spi.ParseException at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)[catch] at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) 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) {code} was: Hello, This error probably occurred while editing the code. Please help Thank you {code:java} java.lang.ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @586e4320; javax.lang.model.element.ExecutableElement is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @32b6b4a)java.lang.ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @586e4320; javax.lang.model.element.ExecutableElement is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @32b6b4a) at org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypesImpl(JavaCompletionTask.java:5569) at org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypes(JavaCompletionTask.java:5320) at org.netbeans.modules.java.completion.JavaCompletionTask.addLocalMembersAndVars(JavaCompletionTask.java:3368) at org.netbeans.modules.java.completion.JavaCompletionTask.insideMethodInvocation(JavaCompletionTask.java:2056) at
[jira] [Updated] (NETBEANS-5776) ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement
[ https://issues.apache.org/jira/browse/NETBEANS-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5776: -- Summary: ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement (was: ClassCastExceptionclass: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement) > ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot > be cast to class javax.lang.model.element.ExecutableElement > > > Key: NETBEANS-5776 > URL: https://issues.apache.org/jira/browse/NETBEANS-5776 > Project: NetBeans > Issue Type: Bug > Components: java - Editor, java - Project >Affects Versions: 12.4 > Environment: Windows 10, Java 16.0.1 >Reporter: Michal Rama >Priority: Major > Labels: ClassCastException, java > > Hello, > This error probably occurred while editing the code. > Please help > Thank you > > > > {code:java} > java.lang.ClassCastException: class > com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class > javax.lang.model.element.ExecutableElement > (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @586e4320; > javax.lang.model.element.ExecutableElement is in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader > @32b6b4a)java.lang.ClassCastException: class > com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class > javax.lang.model.element.ExecutableElement > (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @586e4320; > javax.lang.model.element.ExecutableElement is in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @32b6b4a) at > org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypesImpl(JavaCompletionTask.java:5569) > at > org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypes(JavaCompletionTask.java:5320) > at > org.netbeans.modules.java.completion.JavaCompletionTask.addLocalMembersAndVars(JavaCompletionTask.java:3368) > at > org.netbeans.modules.java.completion.JavaCompletionTask.insideMethodInvocation(JavaCompletionTask.java:2056) > at > org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:403) > at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at > org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:60) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > 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.TaskProcessor.runUserTask(TaskProcessor.java:178)Caused: > org.netbeans.modules.parsing.spi.ParseException at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)[catch] > at > org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193) > at > org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) > 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) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing
[jira] [Created] (NETBEANS-5776) ClassCastExceptionclass: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement
Michal Rama created NETBEANS-5776: - Summary: ClassCastExceptionclass: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement Key: NETBEANS-5776 URL: https://issues.apache.org/jira/browse/NETBEANS-5776 Project: NetBeans Issue Type: Bug Components: java - Editor, java - Project Affects Versions: 12.4 Environment: Windows 10, Java 16.0.1 Reporter: Michal Rama Hello, This error probably occurred while editing the code. Please help Thank you {code:java} java.lang.ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @586e4320; javax.lang.model.element.ExecutableElement is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @32b6b4a)java.lang.ClassCastException: class com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to class javax.lang.model.element.ExecutableElement (com.sun.tools.javac.code.Symbol$ClassSymbol is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @586e4320; javax.lang.model.element.ExecutableElement is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @32b6b4a) at org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypesImpl(JavaCompletionTask.java:5569) at org.netbeans.modules.java.completion.JavaCompletionTask.getSmartTypes(JavaCompletionTask.java:5320) at org.netbeans.modules.java.completion.JavaCompletionTask.addLocalMembersAndVars(JavaCompletionTask.java:3368) at org.netbeans.modules.java.completion.JavaCompletionTask.insideMethodInvocation(JavaCompletionTask.java:2056) at org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:403) at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:94) at org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:60) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) 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.TaskProcessor.runUserTask(TaskProcessor.java:178)Caused: org.netbeans.modules.parsing.spi.ParseException at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:186) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)[catch] at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198) 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) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5753) NullPointerException: Cannot invoke "com.sun.source.util.TreePath.getLeaf()" because "path" is null
[ https://issues.apache.org/jira/browse/NETBEANS-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5753: -- Description: Hello, Since updating to version 12.4, this error has been displayed several times. {code:java} java.lang.NullPointerException: Cannot invoke "com.sun.source.util.TreePath.getLeaf()" because "path" is null at org.netbeans.lib.nbjavac.services.NBJavacTrees.getElement(NBJavacTrees.java:61) at org.netbeans.lib.nbjavac.services.NBJavacTrees.getElement(NBJavacTrees.java:35) at org.netbeans.modules.refactoring.java.ui.MoveClassUI$RefactoringUIFactory.create(MoveClassUI.java:284) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$1.createRefactoringUI(ContextAnalyzer.java:94) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:355) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:280) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) 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.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:362) at org.netbeans.modules.refactoring.java.ui.UIUtilities.lambda$runWhenScanFinished$0(UIUtilities.java:1194) at org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133) at org.netbeans.modules.refactoring.java.ui.UIUtilities.runWhenScanFinished(UIUtilities.java:1189) at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doMove(RefactoringActionsProvider.java:416) at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doMove(ActionsImplementationFactory.java:131) at org.netbeans.modules.refactoring.spi.impl.MoveAction.performAction(MoveAction.java:51) at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.actionPerformed(RefactoringGlobalAction.java:172) at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151) at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962) at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) at java.desktop/java.awt.Component.processEvent(Component.java:6394) at java.desktop/java.awt.Container.processEvent(Container.java:2264) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4993) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825) at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:875) at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1144) at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1014) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:840) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4874) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(AccessController.java:391) at
[jira] [Resolved] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
[ https://issues.apache.org/jira/browse/NETBEANS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama resolved NETBEANS-5491. --- Resolution: Fixed > UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I > cannot run a project created in Java 15. > --- > > Key: NETBEANS-5491 > URL: https://issues.apache.org/jira/browse/NETBEANS-5491 > Project: NetBeans > Issue Type: Bug > Components: java - Platform, java - Project, java - Source >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Assignee: Svatopluk Dedic >Priority: Blocker > Labels: java, platform, project, runtime, version > Fix For: 12.4 > > Attachments: obr�zek02.png, obr�zek41.png > > > Hello, > I installed Java 16 and set it in the etc\netbeans.conf file > *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* > However, upon startup, all projects reported an error. NetBeans automatically > set the *Java Platform* to *JDK 16* for them, but the *Source / Binary > Format* was still *JDK 15*. > !obr�zek41.png! > !obr�zek02.png! > So it was enough to change it to JDK 16, except for one project that still > can't be run and I didn't figure out why. > To run this project I need to close NetBeans and run it again in Java 15. > Creating a new project in Java 16 would probably solve the problem, but why > should I do it when there was no problem with all the other projects. > Please help. > Thank you > PS. > {code:java} > run: > Error: LinkageError occurred while loading main class example.TextHeight > java.lang.UnsupportedClassVersionError: example/TextHeight (class file > version 59.65535) was compiled with preview features that are unsupported. > This version of the Java Runtime only recognizes preview features for class > file version 60.65535 > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:111: > The following error occurred while executing this line: > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:68: > Java returned: 1 > BUILD FAILED (total time: 1 second) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
[ https://issues.apache.org/jira/browse/NETBEANS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5491: -- Fix Version/s: 12.4 > UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I > cannot run a project created in Java 15. > --- > > Key: NETBEANS-5491 > URL: https://issues.apache.org/jira/browse/NETBEANS-5491 > Project: NetBeans > Issue Type: Bug > Components: java - Platform, java - Project, java - Source >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Assignee: Svatopluk Dedic >Priority: Blocker > Labels: java, platform, project, runtime, version > Fix For: 12.4 > > Attachments: obr�zek02.png, obr�zek41.png > > > Hello, > I installed Java 16 and set it in the etc\netbeans.conf file > *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* > However, upon startup, all projects reported an error. NetBeans automatically > set the *Java Platform* to *JDK 16* for them, but the *Source / Binary > Format* was still *JDK 15*. > !obr�zek41.png! > !obr�zek02.png! > So it was enough to change it to JDK 16, except for one project that still > can't be run and I didn't figure out why. > To run this project I need to close NetBeans and run it again in Java 15. > Creating a new project in Java 16 would probably solve the problem, but why > should I do it when there was no problem with all the other projects. > Please help. > Thank you > PS. > {code:java} > run: > Error: LinkageError occurred while loading main class example.TextHeight > java.lang.UnsupportedClassVersionError: example/TextHeight (class file > version 59.65535) was compiled with preview features that are unsupported. > This version of the Java Runtime only recognizes preview features for class > file version 60.65535 > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:111: > The following error occurred while executing this line: > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:68: > Java returned: 1 > BUILD FAILED (total time: 1 second) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5774) NullPointerException
[ https://issues.apache.org/jira/browse/NETBEANS-5774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5774: -- Summary: NullPointerException (was: NullPointerException: ) > NullPointerException > > > Key: NETBEANS-5774 > URL: https://issues.apache.org/jira/browse/NETBEANS-5774 > Project: NetBeans > Issue Type: Bug > Components: java - Editor, java - Project >Affects Versions: 12.4 > Environment: Windows 10, Java 16.0.1 >Reporter: Michal Rama >Priority: Major > Labels: NullPointerException, java > > > Hello, > This exception was probably caused by editing a class in which a syntax error > occurs. > Please help > Thank you > {code:java} > java.lang.NullPointerException at > java.base/java.util.Collections$UnmodifiableCollection.(Collections.java:1032) > at > java.base/java.util.Collections$UnmodifiableList.(Collections.java:1314) > at java.base/java.util.Collections.unmodifiableList(Collections.java:1299) > at > com.sun.tools.javac.code.Symbol$ModuleSymbol.getDirectives(Symbol.java:1055) > at > org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:277) > at > org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:216) > at com.sun.tools.javac.tree.JCTree$JCModuleDecl.accept(JCTree.java:2880) at > com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at > org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:293) > at > org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:216) > at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at > com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at > com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:117) at > com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:148) at > org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitCompilationUnit(ElementScanningTask.java:239) > at > org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitCompilationUnit(ElementScanningTask.java:216) > at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:605) > at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at > org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:293) > at > org.netbeans.modules.java.navigation.ElementScanningTask.runImpl(ElementScanningTask.java:126) > at > org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:98) > at > org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:79)[catch] > at > org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) > at > org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at > org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) > 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) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5774) NullPointerException:
Michal Rama created NETBEANS-5774: - Summary: NullPointerException: Key: NETBEANS-5774 URL: https://issues.apache.org/jira/browse/NETBEANS-5774 Project: NetBeans Issue Type: Bug Components: java - Editor, java - Project Affects Versions: 12.4 Environment: Windows 10, Java 16.0.1 Reporter: Michal Rama Hello, This exception was probably caused by editing a class in which a syntax error occurs. Please help Thank you {code:java} java.lang.NullPointerException at java.base/java.util.Collections$UnmodifiableCollection.(Collections.java:1032) at java.base/java.util.Collections$UnmodifiableList.(Collections.java:1314) at java.base/java.util.Collections.unmodifiableList(Collections.java:1299) at com.sun.tools.javac.code.Symbol$ModuleSymbol.getDirectives(Symbol.java:1055) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:277) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:216) at com.sun.tools.javac.tree.JCTree$JCModuleDecl.accept(JCTree.java:2880) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:293) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:216) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:117) at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:148) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitCompilationUnit(ElementScanningTask.java:239) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitCompilationUnit(ElementScanningTask.java:216) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:605) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.scan(ElementScanningTask.java:293) at org.netbeans.modules.java.navigation.ElementScanningTask.runImpl(ElementScanningTask.java:126) at org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:98) at org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:79)[catch] at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) 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) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5765) ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid.
[ https://issues.apache.org/jira/browse/NETBEANS-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5765: -- Environment: Windows 10, Java 16.0.1 (was: Windows 10, Java 16.0.1, OpenJavaFX 17 ea 11) > ConcurrentModificationException: Caller uses obsolete token sequence which is > no longer valid. > -- > > Key: NETBEANS-5765 > URL: https://issues.apache.org/jira/browse/NETBEANS-5765 > Project: NetBeans > Issue Type: Bug > Components: java - Classfile, java - Editor >Affects Versions: 12.4 > Environment: Windows 10, Java 16.0.1 >Reporter: Michal Rama >Priority: Major > Labels: ConcurrentModificationException, class, edit, file, java > > Hello, > I'm not sure, but I edited the class name, then created a new class and > started editing it. This problem was probably caused by one of these > activities. > {code:java} > java.util.ConcurrentModificationException: Caller uses obsolete token > sequence which is no longer valid. Underlying token hierarchy has been > modified by insertion or removal or a custom language embedding was > created.TS.modCount=90, tokenList.modCount()=91, > rootModCount=91java.util.ConcurrentModificationException: Caller uses > obsolete token sequence which is no longer valid. Underlying token hierarchy > has been modified by insertion or removal or a custom language embedding was > created.TS.modCount=90, tokenList.modCount()=91, rootModCount=91Please report > a bug against a module that calls lexer's code e.g. java, php etc. but not > the lexer module itself. at > org.netbeans.api.lexer.TokenSequence.checkValid(TokenSequence.java:784) at > org.netbeans.api.lexer.TokenSequence.moveIndex(TokenSequence.java:568) at > org.netbeans.modules.java.editor.base.semantic.TokenList.resetToIndex(TokenList.java:372) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:762) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:280) > at > com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1555) > at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1022) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) > at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at > com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) > at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:254) at > com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1074) at > com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1022) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:836) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:280) > at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:940) at > com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1022) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) > at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at > com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at > org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:944) > at > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:280) > at
[jira] [Created] (NETBEANS-5765) ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid.
Michal Rama created NETBEANS-5765: - Summary: ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Key: NETBEANS-5765 URL: https://issues.apache.org/jira/browse/NETBEANS-5765 Project: NetBeans Issue Type: Bug Components: java - Classfile, java - Editor Affects Versions: 12.4 Environment: Windows 10, Java 16.0.1, OpenJavaFX 17 ea 11 Reporter: Michal Rama Hello, I'm not sure, but I edited the class name, then created a new class and started editing it. This problem was probably caused by one of these activities. {code:java} java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified by insertion or removal or a custom language embedding was created.TS.modCount=90, tokenList.modCount()=91, rootModCount=91java.util.ConcurrentModificationException: Caller uses obsolete token sequence which is no longer valid. Underlying token hierarchy has been modified by insertion or removal or a custom language embedding was created.TS.modCount=90, tokenList.modCount()=91, rootModCount=91Please report a bug against a module that calls lexer's code e.g. java, php etc. but not the lexer module itself. at org.netbeans.api.lexer.TokenSequence.checkValid(TokenSequence.java:784) at org.netbeans.api.lexer.TokenSequence.moveIndex(TokenSequence.java:568) at org.netbeans.modules.java.editor.base.semantic.TokenList.resetToIndex(TokenList.java:372) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:762) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1555) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1022) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:254) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1074) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1022) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:836) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:940) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1022) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:94) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:109) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:944) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:280) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:846) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:86) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1022) at org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280) at
[jira] [Created] (NETBEANS-5754) OpenJavaFX javadoc from URL not found
Michal Rama created NETBEANS-5754: - Summary: OpenJavaFX javadoc from URL not found Key: NETBEANS-5754 URL: https://issues.apache.org/jira/browse/NETBEANS-5754 Project: NetBeans Issue Type: Bug Components: javafx - Editor, javafx - Project Affects Versions: 12.4 Environment: Windows 10, Java 16.0.1, OpenJavaFX 17 ea 11 Reporter: Michal Rama Attachments: Untitled.png, obr�zek54.png Hello, I created the OpenJavaFX library and entered the URL for [javadoc|https://openjfx.io/javadoc/16/]. !obr�zek54.png! But it doesn't work. !Untitled.png! Please help. Thank you But it doesn't work. Please, give me an advice. Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5753) NullPointerException: Cannot invoke "com.sun.source.util.TreePath.getLeaf()" because "path" is null
Michal Rama created NETBEANS-5753: - Summary: NullPointerException: Cannot invoke "com.sun.source.util.TreePath.getLeaf()" because "path" is null Key: NETBEANS-5753 URL: https://issues.apache.org/jira/browse/NETBEANS-5753 Project: NetBeans Issue Type: Bug Components: java - Project Affects Versions: 12.4 Environment: Windows 10, Java 16.0.1 Reporter: Michal Rama Hello, Since updating to version 12.4, this error has been displayed several times. {code:java} java.lang.NullPointerException: Cannot invoke "com.sun.source.util.TreePath.getLeaf()" because "path" is nulljava.lang.NullPointerException: Cannot invoke "com.sun.source.util.TreePath.getLeaf()" because "path" is null at org.netbeans.lib.nbjavac.services.NBJavacTrees.getElement(NBJavacTrees.java:61) at org.netbeans.lib.nbjavac.services.NBJavacTrees.getElement(NBJavacTrees.java:35) at org.netbeans.modules.refactoring.java.ui.MoveClassUI$RefactoringUIFactory.create(MoveClassUI.java:284) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$1.createRefactoringUI(ContextAnalyzer.java:94) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:355) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:280) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) 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.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:362) at org.netbeans.modules.refactoring.java.ui.UIUtilities.lambda$runWhenScanFinished$0(UIUtilities.java:1194) at org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133) at org.netbeans.modules.refactoring.java.ui.UIUtilities.runWhenScanFinished(UIUtilities.java:1189) at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.doMove(RefactoringActionsProvider.java:416) at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.doMove(ActionsImplementationFactory.java:131) at org.netbeans.modules.refactoring.spi.impl.MoveAction.performAction(MoveAction.java:51) at org.netbeans.modules.refactoring.spi.impl.RefactoringGlobalAction$ContextAction.actionPerformed(RefactoringGlobalAction.java:172) at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151) at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962) at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) at java.desktop/java.awt.Component.processEvent(Component.java:6394) at java.desktop/java.awt.Container.processEvent(Container.java:2264) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4993) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825) at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:875) at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1144) at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1014) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:840) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4874) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773) at
[jira] [Commented] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
[ https://issues.apache.org/jira/browse/NETBEANS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17326803#comment-17326803 ] Michal Rama commented on NETBEANS-5491: --- This is one of the classes in that troubled existing project. If I create a new project (in Java 15) and then switch it to Java 16, then there is no problem. {code:java} import javafx.scene.Scene; import javafx.scene.layout.HBox; import javafx.scene.paint.Color; import javafx.scene.text.Font; import javafx.scene.text.Text; import javafx.scene.text.TextBoundsType; import javafx.stage.Stage; public class TextHeightInPixel extends javafx.application.Application { @Override public void start(Stage stage) { var text = new Text("I"); text.setBoundsType(TextBoundsType.VISUAL); text.setFont(Font.loadFont(getClass().getResourceAsStream("GT Pressura Mono Regular Regular.ttf"), 100)); var pane = new HBox(text); text.setFill(Color.BLUE); var scene = new Scene(pane, 700, 400); setPixelHeight(scene, text, 99); stage.setScene(scene); stage.show(); } public static void setPixelHeight(Scene scene, Text text, int size) { for (var i = size + 1;; i++) { text.setStyle("-fx-font-size:" + i + ";"); var pixelReader = scene.snapshot(null).getPixelReader(); if (!(pixelReader.getColor(0, size)).equals(pixelReader.getColor(0, size + 1))) { break; } } } public static void main(String[] args) { launch(args); } } {code} This is a simple program that sets the desired height in pixels. ([Font|https://www.onlinewebfonts.com/download/226f58ab113a6d821def90a7d6dc2427]) > UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I > cannot run a project created in Java 15. > --- > > Key: NETBEANS-5491 > URL: https://issues.apache.org/jira/browse/NETBEANS-5491 > Project: NetBeans > Issue Type: Bug > Components: java - Platform, java - Project, java - Source >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Assignee: Svatopluk Dedic >Priority: Blocker > Labels: java, platform, project, runtime, version > Attachments: obr�zek02.png, obr�zek41.png > > > Hello, > I installed Java 16 and set it in the etc\netbeans.conf file > *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* > However, upon startup, all projects reported an error. NetBeans automatically > set the *Java Platform* to *JDK 16* for them, but the *Source / Binary > Format* was still *JDK 15*. > !obr�zek41.png! > !obr�zek02.png! > So it was enough to change it to JDK 16, except for one project that still > can't be run and I didn't figure out why. > To run this project I need to close NetBeans and run it again in Java 15. > Creating a new project in Java 16 would probably solve the problem, but why > should I do it when there was no problem with all the other projects. > Please help. > Thank you > PS. > {code:java} > run: > Error: LinkageError occurred while loading main class example.TextHeight > java.lang.UnsupportedClassVersionError: example/TextHeight (class file > version 59.65535) was compiled with preview features that are unsupported. > This version of the Java Runtime only recognizes preview features for class > file version 60.65535 > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:111: > The following error occurred while executing this line: > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:68: > Java returned: 1 > BUILD FAILED (total time: 1 second) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5502) Automatically format code when saved.
[ https://issues.apache.org/jira/browse/NETBEANS-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308802#comment-17308802 ] Michal Rama commented on NETBEANS-5502: --- Hi Oh, I can't search. And it works properly. So the problem is solved. Thank you > Automatically format code when saved. > - > > Key: NETBEANS-5502 > URL: https://issues.apache.org/jira/browse/NETBEANS-5502 > Project: NetBeans > Issue Type: Improvement > Components: editor - Formatting Indentation, java - Editor, > javafx - Editor >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 15.0.2 >Reporter: Michal Rama >Priority: Major > Labels: code, editor, format, java, javafx > > Hello, > Currently, the code can be formatted via the right button or cat shortcuts. > However, if I save the file and have it formatted, I have to save it again. > A feature with the ability to format the code along with the save would be > useful. > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5502) Automatically format code when saved.
[ https://issues.apache.org/jira/browse/NETBEANS-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5502: -- Description: Hello, Currently, the code can be formatted via the right button or cat shortcuts. However, if I save the file and have it formatted, I have to save it again. A feature with the ability to format the code along with the save would be useful. Thank you was: Hello, Currently, the file can be formatted via the right button or cat shortcuts. However, if I save the project and have it formatted, I have to save it again. A feature with the ability to format the code along with the save would be useful. Thank you > Automatically format code when saved. > - > > Key: NETBEANS-5502 > URL: https://issues.apache.org/jira/browse/NETBEANS-5502 > Project: NetBeans > Issue Type: Improvement > Components: editor - Formatting Indentation, java - Editor, > javafx - Editor >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 15.0.2 >Reporter: Michal Rama >Priority: Major > Labels: code, editor, format, java, javafx > > Hello, > Currently, the code can be formatted via the right button or cat shortcuts. > However, if I save the file and have it formatted, I have to save it again. > A feature with the ability to format the code along with the save would be > useful. > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5502) Automatically format code when saved.
[ https://issues.apache.org/jira/browse/NETBEANS-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5502: -- Description: Hello, Currently, the file can be formatted via the right button or cat shortcuts. However, if I save the project and have it formatted, I have to save it again. A feature with the ability to format the code along with the save would be useful. Thank you was: Hello, Currently, the project can be formatted via the right button or cat shortcuts. However, if I save the project and have it formatted, I have to save it again. A feature with the ability to format the code along with the save would be useful. Thank you > Automatically format code when saved. > - > > Key: NETBEANS-5502 > URL: https://issues.apache.org/jira/browse/NETBEANS-5502 > Project: NetBeans > Issue Type: Improvement > Components: editor - Formatting Indentation, java - Editor, > javafx - Editor >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 15.0.2 >Reporter: Michal Rama >Priority: Major > Labels: code, editor, format, java, javafx > > Hello, > Currently, the file can be formatted via the right button or cat shortcuts. > However, if I save the project and have it formatted, I have to save it again. > A feature with the ability to format the code along with the save would be > useful. > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5502) Automatically format code when saved.
Michal Rama created NETBEANS-5502: - Summary: Automatically format code when saved. Key: NETBEANS-5502 URL: https://issues.apache.org/jira/browse/NETBEANS-5502 Project: NetBeans Issue Type: Improvement Components: editor - Formatting Indentation, java - Editor, javafx - Editor Affects Versions: 12.3 Environment: Windows 10, Apache NetBeans 12.3, Java 15.0.2 Reporter: Michal Rama Hello, Currently, the project can be formatted via the right button or cat shortcuts. However, if I save the project and have it formatted, I have to save it again. A feature with the ability to format the code along with the save would be useful. Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
[ https://issues.apache.org/jira/browse/NETBEANS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308138#comment-17308138 ] Michal Rama commented on NETBEANS-5491: --- You're right. If the versions don't differ much, there is a chance that some things will work without support. Anyway, when will the version with JDK 16 support be released? I mean Daily build. > UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I > cannot run a project created in Java 15. > --- > > Key: NETBEANS-5491 > URL: https://issues.apache.org/jira/browse/NETBEANS-5491 > Project: NetBeans > Issue Type: Bug > Components: java - Platform, java - Project, java - Source >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: java, platform, project, runtime, version > Attachments: obr�zek02.png, obr�zek41.png > > > Hello, > I installed Java 16 and set it in the etc\netbeans.conf file > *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* > However, upon startup, all projects reported an error. NetBeans automatically > set the *Java Platform* to *JDK 16* for them, but the *Source / Binary > Format* was still *JDK 15*. > !obr�zek41.png! > !obr�zek02.png! > So it was enough to change it to JDK 16, except for one project that still > can't be run and I didn't figure out why. > To run this project I need to close NetBeans and run it again in Java 15. > Creating a new project in Java 16 would probably solve the problem, but why > should I do it when there was no problem with all the other projects. > Please help. > Thank you > PS. > {code:java} > run: > Error: LinkageError occurred while loading main class example.TextHeight > java.lang.UnsupportedClassVersionError: example/TextHeight (class file > version 59.65535) was compiled with preview features that are unsupported. > This version of the Java Runtime only recognizes preview features for class > file version 60.65535 > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:111: > The following error occurred while executing this line: > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:68: > Java returned: 1 > BUILD FAILED (total time: 1 second) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
[ https://issues.apache.org/jira/browse/NETBEANS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17308129#comment-17308129 ] Michal Rama commented on NETBEANS-5491: --- I'm sorry, I didn't think of that. Anyway, I set the NetBeans runtime to JDK 16. Still, it can be run and everything seems OK. I can create a new project that also works. And the second existing project works, for which I only changed the version. So then I don't understand how he can't support it when everything (except my specific project) seems to work? > UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I > cannot run a project created in Java 15. > --- > > Key: NETBEANS-5491 > URL: https://issues.apache.org/jira/browse/NETBEANS-5491 > Project: NetBeans > Issue Type: Bug > Components: java - Platform, java - Project, java - Source >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: java, platform, project, runtime, version > Attachments: obr�zek02.png, obr�zek41.png > > > Hello, > I installed Java 16 and set it in the etc\netbeans.conf file > *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* > However, upon startup, all projects reported an error. NetBeans automatically > set the *Java Platform* to *JDK 16* for them, but the *Source / Binary > Format* was still *JDK 15*. > !obr�zek41.png! > !obr�zek02.png! > So it was enough to change it to JDK 16, except for one project that still > can't be run and I didn't figure out why. > To run this project I need to close NetBeans and run it again in Java 15. > Creating a new project in Java 16 would probably solve the problem, but why > should I do it when there was no problem with all the other projects. > Please help. > Thank you > PS. > {code:java} > run: > Error: LinkageError occurred while loading main class example.TextHeight > java.lang.UnsupportedClassVersionError: example/TextHeight (class file > version 59.65535) was compiled with preview features that are unsupported. > This version of the Java Runtime only recognizes preview features for class > file version 60.65535 > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:111: > The following error occurred while executing this line: > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:68: > Java returned: 1 > BUILD FAILED (total time: 1 second) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
[ https://issues.apache.org/jira/browse/NETBEANS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5491: -- Description: Hello, I installed Java 16 and set it in the etc\netbeans.conf file *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* However, upon startup, all projects reported an error. NetBeans automatically set the *Java Platform* to *JDK 16* for them, but the *Source / Binary Format* was still *JDK 15*. !obr�zek41.png! !obr�zek02.png! So it was enough to change it to JDK 16, except for one project that still can't be run and I didn't figure out why. To run this project I need to close NetBeans and run it again in Java 15. Creating a new project in Java 16 would probably solve the problem, but why should I do it when there was no problem with all the other projects. Please help. Thank you PS. {code:java} run: Error: LinkageError occurred while loading main class example.TextHeight java.lang.UnsupportedClassVersionError: example/TextHeight (class file version 59.65535) was compiled with preview features that are unsupported. This version of the Java Runtime only recognizes preview features for class file version 60.65535 C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:111: The following error occurred while executing this line: C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:68: Java returned: 1 BUILD FAILED (total time: 1 second) {code} was: Hello, I installed Java 16 and set it in the etc\netbeans.conf file *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* However, upon startup, all projects reported an error. NetBeans automatically set the *Java Platform* to *JDK 16* for them, but the *Source / Binary Format* was still *JDK 15*. !obr�zek41.png! !obr�zek02.png! So it was enough to change it to JDK 16, except for one project that still can't be run and I didn't figure out why. To run this project I need to close NetBeans and run it again in Java 15. Creating a new project in Java 16 would probably solve the problem, but why should I do it when there was no problem with all the other projects. Please help. Thank you > UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I > cannot run a project created in Java 15. > --- > > Key: NETBEANS-5491 > URL: https://issues.apache.org/jira/browse/NETBEANS-5491 > Project: NetBeans > Issue Type: Bug > Components: java - Platform, java - Project, java - Source >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: java, platform, project, runtime, version > Attachments: obr�zek02.png, obr�zek41.png > > > Hello, > I installed Java 16 and set it in the etc\netbeans.conf file > *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* > However, upon startup, all projects reported an error. NetBeans automatically > set the *Java Platform* to *JDK 16* for them, but the *Source / Binary > Format* was still *JDK 15*. > !obr�zek41.png! > !obr�zek02.png! > So it was enough to change it to JDK 16, except for one project that still > can't be run and I didn't figure out why. > To run this project I need to close NetBeans and run it again in Java 15. > Creating a new project in Java 16 would probably solve the problem, but why > should I do it when there was no problem with all the other projects. > Please help. > Thank you > PS. > {code:java} > run: > Error: LinkageError occurred while loading main class example.TextHeight > java.lang.UnsupportedClassVersionError: example/TextHeight (class file > version 59.65535) was compiled with preview features that are unsupported. > This version of the Java Runtime only recognizes preview features for class > file version 60.65535 > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:111: > The following error occurred while executing this line: > C:\Users\NAME_OF_USER\AppData\Local\NetBeans\Cache\12.3\executor-snippets\run.xml:68: > Java returned: 1 > BUILD FAILED (total time: 1 second) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
[ https://issues.apache.org/jira/browse/NETBEANS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5491: -- Description: Hello, I installed Java 16 and set it in the etc\netbeans.conf file *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* However, upon startup, all projects reported an error. NetBeans automatically set the *Java Platform* to *JDK 16* for them, but the *Source / Binary format* was still *JDK 15*. !obr�zek41.png! !obr�zek02.png! So it was enough to change it to JDK 16, except for one project that still can't be run and I didn't figure out why. To run this project I need to close NetBeans and run it again in Java 15. Creating a new project in Java 16 would probably solve the problem, but why should I do it when there was no problem with all the other projects. Please help. Thank you was: Hello, I installed Java 16 and set it in the etc\netbeans.conf file *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* However, upon startup, all projects reported an error. NetBeans automatically set the Java Platform to JDK 16 for them, but the Source / Binary format was still JDK 15. !obr�zek41.png! !obr�zek02.png! So it was enough to change it to JDK 16, except for one project that still can't be run and I didn't figure out why. To run this project I need to close NetBeans and run it again in Java 15. Creating a new project in Java 16 would probably solve the problem, but why should I do it when there was no problem with all the other projects. Please help. Thank you > UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I > cannot run a project created in Java 15. > --- > > Key: NETBEANS-5491 > URL: https://issues.apache.org/jira/browse/NETBEANS-5491 > Project: NetBeans > Issue Type: Bug > Components: java - Platform, java - Project, java - Source >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: java, platform, project, runtime, version > Attachments: obr�zek02.png, obr�zek41.png > > > Hello, > I installed Java 16 and set it in the etc\netbeans.conf file > *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* > However, upon startup, all projects reported an error. NetBeans automatically > set the *Java Platform* to *JDK 16* for them, but the *Source / Binary > format* was still *JDK 15*. > !obr�zek41.png! > !obr�zek02.png! > So it was enough to change it to JDK 16, except for one project that still > can't be run and I didn't figure out why. > To run this project I need to close NetBeans and run it again in Java 15. > Creating a new project in Java 16 would probably solve the problem, but why > should I do it when there was no problem with all the other projects. > Please help. > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
[ https://issues.apache.org/jira/browse/NETBEANS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5491: -- Description: Hello, I installed Java 16 and set it in the etc\netbeans.conf file *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* However, upon startup, all projects reported an error. NetBeans automatically set the *Java Platform* to *JDK 16* for them, but the *Source / Binary Format* was still *JDK 15*. !obr�zek41.png! !obr�zek02.png! So it was enough to change it to JDK 16, except for one project that still can't be run and I didn't figure out why. To run this project I need to close NetBeans and run it again in Java 15. Creating a new project in Java 16 would probably solve the problem, but why should I do it when there was no problem with all the other projects. Please help. Thank you was: Hello, I installed Java 16 and set it in the etc\netbeans.conf file *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* However, upon startup, all projects reported an error. NetBeans automatically set the *Java Platform* to *JDK 16* for them, but the *Source / Binary format* was still *JDK 15*. !obr�zek41.png! !obr�zek02.png! So it was enough to change it to JDK 16, except for one project that still can't be run and I didn't figure out why. To run this project I need to close NetBeans and run it again in Java 15. Creating a new project in Java 16 would probably solve the problem, but why should I do it when there was no problem with all the other projects. Please help. Thank you > UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I > cannot run a project created in Java 15. > --- > > Key: NETBEANS-5491 > URL: https://issues.apache.org/jira/browse/NETBEANS-5491 > Project: NetBeans > Issue Type: Bug > Components: java - Platform, java - Project, java - Source >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: java, platform, project, runtime, version > Attachments: obr�zek02.png, obr�zek41.png > > > Hello, > I installed Java 16 and set it in the etc\netbeans.conf file > *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* > However, upon startup, all projects reported an error. NetBeans automatically > set the *Java Platform* to *JDK 16* for them, but the *Source / Binary > Format* was still *JDK 15*. > !obr�zek41.png! > !obr�zek02.png! > So it was enough to change it to JDK 16, except for one project that still > can't be run and I didn't figure out why. > To run this project I need to close NetBeans and run it again in Java 15. > Creating a new project in Java 16 would probably solve the problem, but why > should I do it when there was no problem with all the other projects. > Please help. > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5491) UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15.
Michal Rama created NETBEANS-5491: - Summary: UnsupportedClassVersionError - If I set the NetBeans Runtime to Java 16, I cannot run a project created in Java 15. Key: NETBEANS-5491 URL: https://issues.apache.org/jira/browse/NETBEANS-5491 Project: NetBeans Issue Type: Bug Components: java - Platform, java - Project, java - Source Affects Versions: 12.3 Environment: Windows 10, Apache NetBeans 12.3, Java 16 Reporter: Michal Rama Attachments: obr�zek02.png, obr�zek41.png Hello, I installed Java 16 and set it in the etc\netbeans.conf file *netbeans_jdkhome="C:\Program Files\Java\jdk-16"* However, upon startup, all projects reported an error. NetBeans automatically set the Java Platform to JDK 16 for them, but the Source / Binary format was still JDK 15. !obr�zek41.png! !obr�zek02.png! So it was enough to change it to JDK 16, except for one project that still can't be run and I didn't figure out why. To run this project I need to close NetBeans and run it again in Java 15. Creating a new project in Java 16 would probably solve the problem, but why should I do it when there was no problem with all the other projects. Please help. Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code from the Ant project cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Summary: The generated JUnit 5 code from the Ant project cannot be run. (was: The generated JUnit 5 from the Ant project code cannot be run.) > The generated JUnit 5 code from the Ant project cannot be run. > -- > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Minor > Labels: JUnit, java, junit, junit5, test > Attachments: obr.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 from the Ant project code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Summary: The generated JUnit 5 from the Ant project code cannot be run. (was: The generated JUnit 5 code cannot be run.) > The generated JUnit 5 from the Ant project code cannot be run. > -- > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Minor > Labels: JUnit, java, junit, junit5, test > Attachments: obr.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE >
[jira] [Commented] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17306319#comment-17306319 ] Michal Rama commented on NETBEANS-5371: --- You're right. In Maven it works properly. The problem obviously only concerns Ant. > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Minor > Labels: JUnit, java, junit, junit5, test > Attachments: obr.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE
[jira] [Commented] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17305180#comment-17305180 ] Michal Rama commented on NETBEANS-5371: --- Hello [~johnmcdonnell] This is an Ant project, I don't use Maven or Gradle. However, JUnit should work anyway. And using the new version of NetBeans didn't change anything. > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE >
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Attachment: (was: obr.png) > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Attachment: obr.png > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE >
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Description: Hello, I created a simple class. {code:java} public class Example { public static void main(String[] args) { var color = new Example(); System.out.println(color.isTextBlack("black")); System.out.println(color.isTextBlack("white")); } public boolean isTextBlack(String color) { return color.equals("black"); } } {code} Then I create a JUnit 5 test via a "bulb" on the class line. !obr.png! !obr�zek53.png! A file with this code will be generated. {code:java} import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class ExampleTest { public ExampleTest() { } @BeforeAll public static void setUpClass() { } @AfterAll public static void tearDownClass() { } @BeforeEach public void setUp() { } @AfterEach public void tearDown() { } /** * Test of main method, of class Example. */ @Test public void testMain() { System.out.println("main"); String[] args = null; Example.main(args); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } /** * Test of isTextBlack method, of class Example. */ @Test public void testIsTextBlack() { System.out.println("isTextBlack"); String color = ""; Example instance = new Example(); boolean expResult = false; boolean result = instance.isTextBlack(color); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } } {code} If I run it, it will crash with this error {code:java} warning: unknown enum constant Status.STABLE reason: class file for org.apiguardian.api.API$Status not found warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning:
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Attachment: (was: Bez názvu.png) > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !Bez názvu! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Attachment: obr.png > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !Bez názvu! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE >
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Description: Hello, I created a simple class. {code:java} public class Example { public static void main(String[] args) { var color = new Example(); System.out.println(color.isTextBlack("black")); System.out.println(color.isTextBlack("white")); } public boolean isTextBlack(String color) { return color.equals("black"); } } {code} Then I create a JUnit 5 test via a "bulb" on the class line. !Bez názvu! !obr�zek53.png! A file with this code will be generated. {code:java} import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class ExampleTest { public ExampleTest() { } @BeforeAll public static void setUpClass() { } @AfterAll public static void tearDownClass() { } @BeforeEach public void setUp() { } @AfterEach public void tearDown() { } /** * Test of main method, of class Example. */ @Test public void testMain() { System.out.println("main"); String[] args = null; Example.main(args); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } /** * Test of isTextBlack method, of class Example. */ @Test public void testIsTextBlack() { System.out.println("isTextBlack"); String color = ""; Example instance = new Example(); boolean expResult = false; boolean result = instance.isTextBlack(color); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } } {code} If I run it, it will crash with this error {code:java} warning: unknown enum constant Status.STABLE reason: class file for org.apiguardian.api.API$Status not found warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning:
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Attachment: Bez názvu.png > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: Bez názvu.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Attachment: (was: obr�zek24.png) > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: Bez názvu.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !Bez názvu! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Description: Hello, I created a simple class. {code:java} public class Example { public static void main(String[] args) { var color = new Example(); System.out.println(color.isTextBlack("black")); System.out.println(color.isTextBlack("white")); } public boolean isTextBlack(String color) { return color.equals("black"); } } {code} Then I create a JUnit 5 test via a "bulb" on the class line. !! !obr�zek53.png! A file with this code will be generated. {code:java} import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class ExampleTest { public ExampleTest() { } @BeforeAll public static void setUpClass() { } @AfterAll public static void tearDownClass() { } @BeforeEach public void setUp() { } @AfterEach public void tearDown() { } /** * Test of main method, of class Example. */ @Test public void testMain() { System.out.println("main"); String[] args = null; Example.main(args); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } /** * Test of isTextBlack method, of class Example. */ @Test public void testIsTextBlack() { System.out.println("isTextBlack"); String color = ""; Example instance = new Example(); boolean expResult = false; boolean result = instance.isTextBlack(color); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } } {code} If I run it, it will crash with this error {code:java} warning: unknown enum constant Status.STABLE reason: class file for org.apiguardian.api.API$Status not found warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Attachment: (was: Bez názvu.png) > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr�zek24.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Attachment: Bez názvu.png Description: Hello, I created a simple class. {code:java} public class Example { public static void main(String[] args) { var color = new Example(); System.out.println(color.isTextBlack("black")); System.out.println(color.isTextBlack("white")); } public boolean isTextBlack(String color) { return color.equals("black"); } } {code} Then I create a JUnit 5 test via a "bulb" on the class line. !Bez názvu.png! !obr�zek53.png! A file with this code will be generated. {code:java} import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class ExampleTest { public ExampleTest() { } @BeforeAll public static void setUpClass() { } @AfterAll public static void tearDownClass() { } @BeforeEach public void setUp() { } @AfterEach public void tearDown() { } /** * Test of main method, of class Example. */ @Test public void testMain() { System.out.println("main"); String[] args = null; Example.main(args); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } /** * Test of isTextBlack method, of class Example. */ @Test public void testIsTextBlack() { System.out.println("isTextBlack"); String color = ""; Example instance = new Example(); boolean expResult = false; boolean result = instance.isTextBlack(color); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } } {code} If I run it, it will crash with this error {code:java} warning: unknown enum constant Status.STABLE reason: class file for org.apiguardian.api.API$Status not found warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Affects Version/s: (was: 12.2) 12.3 > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.3 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr�zek24.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr�zek24.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Environment: Windows 10, Apache NetBeans 12.3, Java 16 (was: Windows 10, Apache NetBeans 12.2, Java 15.0.2) > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.2 > Environment: Windows 10, Apache NetBeans 12.3, Java 16 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr�zek24.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr�zek24.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant
[jira] [Updated] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
[ https://issues.apache.org/jira/browse/NETBEANS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5371: -- Labels: JUnit java junit junit5 test (was: JUnit java junit5) > The generated JUnit 5 code cannot be run. > - > > Key: NETBEANS-5371 > URL: https://issues.apache.org/jira/browse/NETBEANS-5371 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit, java - Project >Affects Versions: 12.2 > Environment: Windows 10, Apache NetBeans 12.2, Java 15.0.2 >Reporter: Michal Rama >Priority: Blocker > Labels: JUnit, java, junit, junit5, test > Attachments: obr�zek24.png, obr�zek53.png > > > Hello, > I created a simple class. > {code:java} > public class Example { > public static void main(String[] args) { > var color = new Example(); > System.out.println(color.isTextBlack("black")); > System.out.println(color.isTextBlack("white")); > } > public boolean isTextBlack(String color) { > return color.equals("black"); > } > } > {code} > Then I create a JUnit 5 test via a "bulb" on the class line. > !obr�zek24.png! > !obr�zek53.png! > A file with this code will be generated. > {code:java} > import org.junit.jupiter.api.AfterEach; > import org.junit.jupiter.api.AfterAll; > import org.junit.jupiter.api.BeforeEach; > import org.junit.jupiter.api.BeforeAll; > import org.junit.jupiter.api.Test; > import static org.junit.jupiter.api.Assertions.*; > public class ExampleTest { > > public ExampleTest() { > } > > @BeforeAll > public static void setUpClass() { > } > > @AfterAll > public static void tearDownClass() { > } > > @BeforeEach > public void setUp() { > } > > @AfterEach > public void tearDown() { > } > /** > * Test of main method, of class Example. > */ > @Test > public void testMain() { > System.out.println("main"); > String[] args = null; > Example.main(args); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > /** > * Test of isTextBlack method, of class Example. > */ > @Test > public void testIsTextBlack() { > System.out.println("isTextBlack"); > String color = ""; > Example instance = new Example(); > boolean expResult = false; > boolean result = instance.isTextBlack(color); > assertEquals(expResult, result); > // TODO review the generated test code and remove the default call to > fail. > fail("The test case is a prototype."); > } > } > {code} > If I run it, it will crash with this error > {code:java} > warning: unknown enum constant Status.STABLE > reason: class file for org.apiguardian.api.API$Status not found > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant Status.STABLE > warning: unknown enum constant
[jira] [Created] (NETBEANS-5371) The generated JUnit 5 code cannot be run.
Michal Rama created NETBEANS-5371: - Summary: The generated JUnit 5 code cannot be run. Key: NETBEANS-5371 URL: https://issues.apache.org/jira/browse/NETBEANS-5371 Project: NetBeans Issue Type: Bug Components: java - JUnit, java - Project Affects Versions: 12.2 Environment: Windows 10, Apache NetBeans 12.2, Java 15.0.2 Reporter: Michal Rama Attachments: obr�zek24.png, obr�zek53.png Hello, I created a simple class. {code:java} public class Example { public static void main(String[] args) { var color = new Example(); System.out.println(color.isTextBlack("black")); System.out.println(color.isTextBlack("white")); } public boolean isTextBlack(String color) { return color.equals("black"); } } {code} Then I create a JUnit 5 test via a "bulb" on the class line. !obr�zek24.png! !obr�zek53.png! A file with this code will be generated. {code:java} import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class ExampleTest { public ExampleTest() { } @BeforeAll public static void setUpClass() { } @AfterAll public static void tearDownClass() { } @BeforeEach public void setUp() { } @AfterEach public void tearDown() { } /** * Test of main method, of class Example. */ @Test public void testMain() { System.out.println("main"); String[] args = null; Example.main(args); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } /** * Test of isTextBlack method, of class Example. */ @Test public void testIsTextBlack() { System.out.println("isTextBlack"); String color = ""; Example instance = new Example(); boolean expResult = false; boolean result = instance.isTextBlack(color); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } } {code} If I run it, it will crash with this error {code:java} warning: unknown enum constant Status.STABLE reason: class file for org.apiguardian.api.API$Status not found warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE warning: unknown enum constant Status.STABLE
[jira] [Updated] (NETBEANS-5211) The lambda syntax error is displayed incorrectly.
[ https://issues.apache.org/jira/browse/NETBEANS-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5211: -- Labels: Editor Lambda java javafx syntaxerror (was: Editor Lambda error java javafx) > The lambda syntax error is displayed incorrectly. > - > > Key: NETBEANS-5211 > URL: https://issues.apache.org/jira/browse/NETBEANS-5211 > Project: NetBeans > Issue Type: Bug > Components: java - Editor, javafx - Project >Affects Versions: 12.2 > Environment: Windows 10, Java 15.0.1, OpenJavaFX 16 Early Access >Reporter: Michal Rama >Priority: Major > Labels: Editor, Lambda, java, javafx, syntaxerror > Attachments: 00.png > > > Hello, > !00.png! > As shown in the picture, I intentionally deleted the "t" from the > parentheses. If I delete the parentheses, there will be an error. But this is > how NetBeans displays an error in the project and bookmark, but not in the > editor. > Please repair. > Thank you > PS. Of course, it crashes at startup and tells you where and what the error > is. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5211) The lambda syntax error is displayed incorrectly.
[ https://issues.apache.org/jira/browse/NETBEANS-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-5211: -- Labels: Editor Lambda error java javafx (was: Editor Lambda java javafx) > The lambda syntax error is displayed incorrectly. > - > > Key: NETBEANS-5211 > URL: https://issues.apache.org/jira/browse/NETBEANS-5211 > Project: NetBeans > Issue Type: Bug > Components: java - Editor, javafx - Project >Affects Versions: 12.2 > Environment: Windows 10, Java 15.0.1, OpenJavaFX 16 Early Access >Reporter: Michal Rama >Priority: Major > Labels: Editor, Lambda, error, java, javafx > Attachments: 00.png > > > Hello, > !00.png! > As shown in the picture, I intentionally deleted the "t" from the > parentheses. If I delete the parentheses, there will be an error. But this is > how NetBeans displays an error in the project and bookmark, but not in the > editor. > Please repair. > Thank you > PS. Of course, it crashes at startup and tells you where and what the error > is. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5211) The lambda syntax error is displayed incorrectly.
Michal Rama created NETBEANS-5211: - Summary: The lambda syntax error is displayed incorrectly. Key: NETBEANS-5211 URL: https://issues.apache.org/jira/browse/NETBEANS-5211 Project: NetBeans Issue Type: Bug Components: java - Editor, javafx - Project Affects Versions: 12.2 Environment: Windows 10, Java 15.0.1, OpenJavaFX 16 Early Access Reporter: Michal Rama Attachments: 00.png Hello, !00.png! As shown in the picture, I intentionally deleted the "t" from the parentheses. If I delete the parentheses, there will be an error. But this is how NetBeans displays an error in the project and bookmark, but not in the editor. Please repair. Thank you PS. Of course, it crashes at startup and tells you where and what the error is. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4758) Invalid javadoc root. The Javadoc root does not contain the package-list file.
[ https://issues.apache.org/jira/browse/NETBEANS-4758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-4758: -- Description: Hello, Today I reinstalled Windows and after installing NetBeans I wanted to add the OpenJavaFX library. (downloaded [here|https://gluonhq.com/products/javafx/]) However, there was no problem with classpath and source, !picture1.png! !picture2.png! but adding javadoc will show an error !picture3.png! but javadoc will still be added. !picture4.png! Extracting the archive and adding the folder will display the same error. What is the problem, please? Thank you PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded the new files to the old folder, so it's called javafx-sdk-13. was: Hello, Today I reinstalled Windows and after installing NetBeans I wanted to add the OpenJavaFX library. (downloaded [here|https://gluonhq.com/products/javafx/]) However, there was no problem with classpath and source, !picture1.png! !picture2.png! but adding javadoc will show an error !picture3.png! but javadoc will still be added. !picture4.png! Extracting and adding an archive will display the same error. What is the problem, please? Thank you PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded the new files to the old folder, so it's called javafx-sdk-13. > Invalid javadoc root. The Javadoc root does not contain the package-list file. > -- > > Key: NETBEANS-4758 > URL: https://issues.apache.org/jira/browse/NETBEANS-4758 > Project: NetBeans > Issue Type: Bug > Components: java - Javadoc, javafx - Project, projects - Libraries >Affects Versions: 12.0 > Environment: Windows 10, Apache NetBeans IDE 12.0, Java 14.0.2 >Reporter: Michal Rama >Priority: Major > Labels: javadoc, javafx, library > Attachments: picture1.png, picture2.png, picture3.png, picture4.png > > > Hello, > Today I reinstalled Windows and after installing NetBeans I wanted to add the > OpenJavaFX library. (downloaded [here|https://gluonhq.com/products/javafx/]) > However, there was no problem with classpath and source, > !picture1.png! > !picture2.png! > but adding javadoc will show an error > !picture3.png! > but javadoc will still be added. > !picture4.png! > Extracting the archive and adding the folder will display the same error. > What is the problem, please? > Thank you > PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded > the new files to the old folder, so it's called javafx-sdk-13. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4758) Invalid javadoc root. The Javadoc root does not contain the package-list file.
[ https://issues.apache.org/jira/browse/NETBEANS-4758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-4758: -- Description: Hello, Today I reinstalled Windows and after installing NetBeans I wanted to add the OpenJavaFX library. (downloaded [here|https://gluonhq.com/products/javafx/]) However, there was no problem with classpath and source, !picture1.png! !picture2.png! but adding javadoc will show an error !picture3.png! but javadoc will still be added. !picture4.png! Extracting and adding an archive will display the same error. What is the problem, please? Thank you PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded the new files to the old folder, so it's called javafx-sdk-13. was: Hello, Today I reinstalled Windows and after installing NetBeans I wanted to add the OpenJavaFX library. However, there was no problem with classpath and source, !picture1.png! !picture2.png! but adding javadoc will show an error !picture3.png! but javadoc will still be added. !picture4.png! Extracting and adding an archive will display the same error. What is the problem, please? Thank you PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded the new files to the old folder, so it's called javafx-sdk-13. > Invalid javadoc root. The Javadoc root does not contain the package-list file. > -- > > Key: NETBEANS-4758 > URL: https://issues.apache.org/jira/browse/NETBEANS-4758 > Project: NetBeans > Issue Type: Bug > Components: java - Javadoc, javafx - Project, projects - Libraries >Affects Versions: 12.0 > Environment: Windows 10, Apache NetBeans IDE 12.0, Java 14.0.2 >Reporter: Michal Rama >Priority: Major > Labels: javadoc, javafx, library > Attachments: picture1.png, picture2.png, picture3.png, picture4.png > > > Hello, > Today I reinstalled Windows and after installing NetBeans I wanted to add the > OpenJavaFX library. (downloaded [here|https://gluonhq.com/products/javafx/]) > However, there was no problem with classpath and source, > !picture1.png! > !picture2.png! > but adding javadoc will show an error > !picture3.png! > but javadoc will still be added. > !picture4.png! > Extracting and adding an archive will display the same error. > What is the problem, please? > Thank you > PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded > the new files to the old folder, so it's called javafx-sdk-13. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4758) Invalid javadoc root. The Javadoc root does not contain the package-list file.
[ https://issues.apache.org/jira/browse/NETBEANS-4758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-4758: -- Description: Hello, Today I reinstalled Windows and after installing NetBeans I wanted to add the OpenJavaFX library. However, there was no problem with classpath and source, !picture1.png! !picture2.png! but adding javadoc will show an error !picture3.png! but javadoc will still be added. !picture4.png! Extracting and adding an archive will display the same error. What is the problem, please? Thank you PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded the new files to the old folder, so it's called javafx-sdk-13. was: Good day, Today I reinstalled Windows and after installing NetBeans I wanted to add the OpenJavaFX library. However, there was no problem with classpath and source, !picture1.png! !picture2.png! but adding javadoc will show an error !picture3.png! but javadoc will still be added. !picture4.png! Extracting and adding an archive will display the same error. What is the problem? Thank you PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded the new files to the old folder, so it's called javafx-sdk-13. > Invalid javadoc root. The Javadoc root does not contain the package-list file. > -- > > Key: NETBEANS-4758 > URL: https://issues.apache.org/jira/browse/NETBEANS-4758 > Project: NetBeans > Issue Type: Bug > Components: java - Javadoc, javafx - Project, projects - Libraries >Affects Versions: 12.0 > Environment: Windows 10, Apache NetBeans IDE 12.0, Java 14.0.2 >Reporter: Michal Rama >Priority: Major > Labels: javadoc, javafx, library > Attachments: picture1.png, picture2.png, picture3.png, picture4.png > > > Hello, > Today I reinstalled Windows and after installing NetBeans I wanted to add the > OpenJavaFX library. However, there was no problem with classpath and source, > !picture1.png! > !picture2.png! > but adding javadoc will show an error > !picture3.png! > but javadoc will still be added. > !picture4.png! > Extracting and adding an archive will display the same error. > What is the problem, please? > Thank you > PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded > the new files to the old folder, so it's called javafx-sdk-13. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-4758) Invalid javadoc root. The Javadoc root does not contain the package-list file.
Michal Rama created NETBEANS-4758: - Summary: Invalid javadoc root. The Javadoc root does not contain the package-list file. Key: NETBEANS-4758 URL: https://issues.apache.org/jira/browse/NETBEANS-4758 Project: NetBeans Issue Type: Bug Components: java - Javadoc, javafx - Project, projects - Libraries Affects Versions: 12.0 Environment: Windows 10, Apache NetBeans IDE 12.0, Java 14.0.2 Reporter: Michal Rama Attachments: picture1.png, picture2.png, picture3.png, picture4.png Good day, Today I reinstalled Windows and after installing NetBeans I wanted to add the OpenJavaFX library. However, there was no problem with classpath and source, !picture1.png! !picture2.png! but adding javadoc will show an error !picture3.png! but javadoc will still be added. !picture4.png! Extracting and adding an archive will display the same error. What is the problem? Thank you PS. This is the version of OpenJavaFX 15 Early Access 8, but I only uploaded the new files to the old folder, so it's called javafx-sdk-13. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2559) NullPointerException in debug mode.
[ https://issues.apache.org/jira/browse/NETBEANS-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051654#comment-17051654 ] Michal Rama commented on NETBEANS-2559: --- Basically the same as the Java version - 13.0.2 > NullPointerException in debug mode. > --- > > Key: NETBEANS-2559 > URL: https://issues.apache.org/jira/browse/NETBEANS-2559 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, java - Project, javafx - Project >Affects Versions: 11.2 > Environment: Windows 10, Java 13.0.2 >Reporter: Michal Rama >Priority: Minor > Labels: Debug, NullPointerException, javafx > > Hello, > When I start the project, everything will go well. > The problem occurs when I run debug mode. It goes through all the "Line > Breakpoints". After the last, the project starts, but it also displays an > error. > {code:java} > java.lang.NullPointerExceptionjava.lang.NullPointerException at > org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033)[catch] > at > org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463) > at > org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273) > at > org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94) > at > org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184) > at > org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275) > at > org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466) > at > org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641) > at > org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535) > at > org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253) > at > org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500) > at > org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94) > at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at > org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257) at > java.base/java.lang.Thread.run(Thread.java:830){code} > Why is he doing it? > Please help > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2559) NullPointerException in debug mode.
[ https://issues.apache.org/jira/browse/NETBEANS-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17051637#comment-17051637 ] Michal Rama commented on NETBEANS-2559: --- I'm so sorry for the late reply. I completely ignored it and forgot about this issue. However, please explain. I don't understand your code at all. > NullPointerException in debug mode. > --- > > Key: NETBEANS-2559 > URL: https://issues.apache.org/jira/browse/NETBEANS-2559 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, java - Project, javafx - Project >Affects Versions: 11.2 > Environment: Windows 10, Java 13.0.2 >Reporter: Michal Rama >Priority: Minor > Labels: Debug, NullPointerException, javafx > > Hello, > When I start the project, everything will go well. > The problem occurs when I run debug mode. It goes through all the "Line > Breakpoints". After the last, the project starts, but it also displays an > error. > {code:java} > java.lang.NullPointerExceptionjava.lang.NullPointerException at > org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033)[catch] > at > org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463) > at > org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273) > at > org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94) > at > org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184) > at > org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275) > at > org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466) > at > org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641) > at > org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535) > at > org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253) > at > org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500) > at > org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94) > at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at > org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257) at > java.base/java.lang.Thread.run(Thread.java:830){code} > Why is he doing it? > Please help > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2559) NullPointerException in debug mode.
[ https://issues.apache.org/jira/browse/NETBEANS-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2559: -- Affects Version/s: (was: 10.0) 11.2 Description: Hello, When I start the project, everything will go well. The problem occurs when I run debug mode. It goes through all the "Line Breakpoints". After the last, the project starts, but it also displays an error. {code:java} java.lang.NullPointerExceptionjava.lang.NullPointerException at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033)[catch] at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184) at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275) at org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641) at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535) at org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253) at org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500) at org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94) at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257) at java.base/java.lang.Thread.run(Thread.java:830){code} Why is he doing it? Please help Thank you was: Hello, When I start the project, everything will go well. The problem occurs when I run debug mode. It goes through all the "Line Breakpoints". After the last, the project starts, but it also displays an error. {code:java} java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033) [catch] at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184) at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275) at org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641) at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535) at org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253) at org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500) at org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94) at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257) at java.base/java.lang.Thread.run(Thread.java:835){code} Why is he doing it? Please help Thank you Environment: Windows 10, Java 13.0.2 (was: Windows 10, NetBeans Linux 1099, Java 12.0.1) > NullPointerException in debug mode. > --- > > Key: NETBEANS-2559 > URL: https://issues.apache.org/jira/browse/NETBEANS-2559 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, java - Project, javafx - Project >Affects Versions: 11.2 > Environment: Windows 10, Java 13.0.2 >Reporter: Michal Rama >Priority: Minor > Labels: Debug, NullPointerException, javafx > > Hello, > When I start the project, everything will go well. > The problem occurs when I run debug mode. It goes through all the "Line > Breakpoints". After the last, the
[jira] [Created] (NETBEANS-3334) AssertionError when refactoring class name
Michal Rama created NETBEANS-3334: - Summary: AssertionError when refactoring class name Key: NETBEANS-3334 URL: https://issues.apache.org/jira/browse/NETBEANS-3334 Project: NetBeans Issue Type: Bug Components: java - Refactoring Affects Versions: 11.2 Environment: Windows 10, Apache NetBeans 11.2, Java 13.0.1 Reporter: Michal Rama Attachments: picture.png Hello, If I want to rename a class, right click on the file and choose Refactor -> Rename ... and enter a new name. However, it only works for the class that contains the start method, and it crashes for others. !picture.png! {code:java} java.lang.AssertionErrorjava.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:155) at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62) at com.sun.tools.javac.comp.Modules.setCompilationUnitModules(Modules.java:559) at com.sun.tools.javac.comp.Modules.enter(Modules.java:287) at com.sun.tools.javac.comp.Modules.enter(Modules.java:268) at com.sun.tools.javac.comp.Modules.initModules(Modules.java:259) at com.sun.tools.javac.main.JavaCompiler.initModules(JavaCompiler.java:1126) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:393) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:327) at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:660) at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:361) at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:84) at org.netbeans.api.java.source.WorkingCopy.toPhase(WorkingCopy.java:193) at org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.setWorkingCopy(RefactoringVisitor.java:110) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:425) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$TransformTask.run(JavaRefactoringPlugin.java:408) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673) at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:166) at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) 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.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:317) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:263) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:245) at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.createAndAddElements(JavaRefactoringPlugin.java:326) at org.netbeans.modules.refactoring.java.plugins.RenameRefactoringPlugin.prepare(RenameRefactoringPlugin.java:626) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401) at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:1063) 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){code} I tried it in version 11.1 and there it works without a
[jira] [Updated] (NETBEANS-3180) Change java version for NetBeans runtime.
[ https://issues.apache.org/jira/browse/NETBEANS-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-3180: -- Description: Hello, The version of Java, for the NetBeans runtime, is set before installation - *jdkhome*. At that time, I only had version 12.0.2. However, version 13 was released recently. That's why I installed it and uninstalled version 12.0.2. You will now receive an error at startup. !picture.png! It's logical. *jdkhome* contains a non-existent folder. If you select *yes*, NetBeans will start and run in version 13. !picture2.png! But if I close the program, the situation repeats again at startup. It is necessary to fix the *jdkhome* path in the *netbeans.conf* file in the *etc* folder. But why should I fix it manually? If jdkhome contains a non-existent folder, you should see a window with all versions of java. After selecting the required version, NetBeans would run in that version and would automatically overwrite jdkhome. In addition, the ability to change java, for the NetBeans runtime, should also be set in NetBeans. Obviously, it would require a restart of the application, but I couldn't find this option anywhere. I would like NetBeans to allow it. Thank you was: Hello, The version of Java, for the NetBeans runtime, is set before installation - *jdkhome*. At that time, I only had version 12.0.2. However, version 13 was released recently. That's why I installed it and uninstalled version 12.0.2. You will now receive an error at startup. !picture.png! It's logical. *jdkhome* contains a non-existent folder. If you select *yes*, NetBeans will start and run in version 13. !picture2.png! But if I close the program, the situation repeats again at startup. It is necessary to fix the *jdkhome* path in the *netbeans.conf* file in the *etc* folder. But why should I fix it manually? If jdkhome contains a non-existent folder, you should see a window with all versions of java. After selecting the required version, NetBeans would run in that version and would automatically overwrite jdkhome. In addition, the ability to change java, for the NetBeans runtime, should also be set in NetBeans. Obviously, it would require a restart of the application, but I couldn't find this option anywhere. I would like NetBeans to allow it. Thank you > Change java version for NetBeans runtime. > - > > Key: NETBEANS-3180 > URL: https://issues.apache.org/jira/browse/NETBEANS-3180 > Project: NetBeans > Issue Type: New Feature > Components: ide - UI >Affects Versions: 11.1 > Environment: Windows 10, Apache NetBeans 11.1, Java 13 >Reporter: Michal Rama >Priority: Major > Labels: IDE, runtime > Attachments: picture.png, picture2.png > > > Hello, > The version of Java, for the NetBeans runtime, is set before installation - > *jdkhome*. > At that time, I only had version 12.0.2. However, version 13 was released > recently. That's why I installed it and uninstalled version 12.0.2. > You will now receive an error at startup. > !picture.png! > It's logical. *jdkhome* contains a non-existent folder. If you select *yes*, > NetBeans will start and run in version 13. > !picture2.png! > But if I close the program, the situation repeats again at startup. > It is necessary to fix the *jdkhome* path in the *netbeans.conf* file in the > *etc* folder. > But why should I fix it manually? > If jdkhome contains a non-existent folder, you should see a window with all > versions of java. After selecting the required version, NetBeans would run in > that version and would automatically overwrite jdkhome. > In addition, the ability to change java, for the NetBeans runtime, should > also be set in NetBeans. Obviously, it would require a restart of the > application, but I couldn't find this option anywhere. > I would like NetBeans to allow it. > Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-3180) Change java version for NetBeans runtime.
Michal Rama created NETBEANS-3180: - Summary: Change java version for NetBeans runtime. Key: NETBEANS-3180 URL: https://issues.apache.org/jira/browse/NETBEANS-3180 Project: NetBeans Issue Type: New Feature Components: ide - UI Affects Versions: 11.1 Environment: Windows 10, Apache NetBeans 11.1, Java 13 Reporter: Michal Rama Attachments: picture.png, picture2.png Hello, The version of Java, for the NetBeans runtime, is set before installation - *jdkhome*. At that time, I only had version 12.0.2. However, version 13 was released recently. That's why I installed it and uninstalled version 12.0.2. You will now receive an error at startup. !picture.png! It's logical. *jdkhome* contains a non-existent folder. If you select *yes*, NetBeans will start and run in version 13. !picture2.png! But if I close the program, the situation repeats again at startup. It is necessary to fix the *jdkhome* path in the *netbeans.conf* file in the *etc* folder. But why should I fix it manually? If jdkhome contains a non-existent folder, you should see a window with all versions of java. After selecting the required version, NetBeans would run in that version and would automatically overwrite jdkhome. In addition, the ability to change java, for the NetBeans runtime, should also be set in NetBeans. Obviously, it would require a restart of the application, but I couldn't find this option anywhere. I would like NetBeans to allow it. Thank you -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2968) Identify the class despite the letters with wrong size.
[ https://issues.apache.org/jira/browse/NETBEANS-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2968: -- Description: Hello, I thought of a feature that would be quite useful. If I write eg. {code:java} var timeline = new Timeline();{code} NetBeans recognizes that it is a *javafx.animation.Timeline* and offers to import it. But, if I write {code:java} var timeline = new timeline();{code} NetBeans will only offer to create this class because class *timeline* does not exist. Therefore, I would be grateful if NetBeans could find a class even if one or more letters did not have the correct case. To offer me an import of *javafx.animation.Timeline*, whether I write Timeline, timeline, timeLine, TimeLine, etc. Thank you was: Hello, I thought of a feature that would be quite useful. If I write eg. {code:java} var timeline = new Timeline();{code} NetBeans recognizes that it is a *javafx.animation.Timeline* and offers to import it. But, if I write {code:java} var timeline = new timeline();{code} NetBeans will only offer to create this class because class *timeline* does not exist. Therefore, I would be grateful if NetBeans could find a class even if one or more letters did not have the correct case. To offer me an import of *javafx.animation.Timeline*, whether I write Timeline, timeline, timeLine, TimeLine, etc. Thank you > Identify the class despite the letters with wrong size. > --- > > Key: NETBEANS-2968 > URL: https://issues.apache.org/jira/browse/NETBEANS-2968 > Project: NetBeans > Issue Type: Improvement > Components: java - Editor > Environment: Windows 10, NetBeans Linux 1187, Java 12.0.2 >Reporter: Michal Rama >Priority: Trivial > Labels: class, import, java, package > > Hello, > I thought of a feature that would be quite useful. > If I write eg. > {code:java} > var timeline = new Timeline();{code} > NetBeans recognizes that it is a *javafx.animation.Timeline* and offers to > import it. > But, if I write > {code:java} > var timeline = new timeline();{code} > NetBeans will only offer to create this class because class *timeline* does > not exist. > Therefore, I would be grateful if NetBeans could find a class even if one or > more letters did not have the correct case. > To offer me an import of *javafx.animation.Timeline*, whether I write > Timeline, timeline, timeLine, TimeLine, etc. > Thank you -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-2968) Identify the class despite the letters with wrong size.
Michal Rama created NETBEANS-2968: - Summary: Identify the class despite the letters with wrong size. Key: NETBEANS-2968 URL: https://issues.apache.org/jira/browse/NETBEANS-2968 Project: NetBeans Issue Type: Improvement Components: java - Editor Environment: Windows 10, NetBeans Linux 1187, Java 12.0.2 Reporter: Michal Rama Hello, I thought of a feature that would be quite useful. If I write eg. {code:java} var timeline = new Timeline();{code} NetBeans recognizes that it is a *javafx.animation.Timeline* and offers to import it. But, if I write {code:java} var timeline = new timeline();{code} NetBeans will only offer to create this class because class *timeline* does not exist. Therefore, I would be grateful if NetBeans could find a class even if one or more letters did not have the correct case. To offer me an import of *javafx.animation.Timeline*, whether I write Timeline, timeline, timeLine, TimeLine, etc. Thank you -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2749) Error in lambda expression does not appear directly in code.
[ https://issues.apache.org/jira/browse/NETBEANS-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2749: -- Description: Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in _setOnFinished_ at _javafx.animation.FadeTransition_, it will display an error in the file even after it is run, but not in the code. !picture4.png! Please repair. Thank you was: Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in setOnFinished at javafx.animation.FadeTransition, it will display an error in the file even after it is run, but not in the code. !picture4.png! Please repair. Thank you > Error in lambda expression does not appear directly in code. > > > Key: NETBEANS-2749 > URL: https://issues.apache.org/jira/browse/NETBEANS-2749 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: Windows 10, NetBeans Linux 1156, Java 12.0.1 >Reporter: Michal Rama >Priority: Critical > Labels: java, javafx, lambda, transition > Attachments: picture1.png, picture2.png, picture3.png, picture4.png > > > Hello, > When I delete a parameter in _setOnMouseEntered_ at > _javafx.scene.shape.Path_, it displays an error. > !picture1.png! > Same as the file. > !picture2.png! > Even after startup. > !picture3.png! > However, if I delete a parameter in _setOnFinished_ at > _javafx.animation.FadeTransition_, it will display an error in the file even > after it is run, but not in the code. > !picture4.png! > Please repair. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2749) Error in lambda expression does not appear directly in code.
[ https://issues.apache.org/jira/browse/NETBEANS-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2749: -- Description: Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in setOnFinished at javafx.animation.FadeTransition, it will display an error in the file even after it is run, but not in the code. !picture4.png! Please repair. Thank you was: Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in setOnFinished at javafx.animation.FadeTransition, it will display a bug in the file even after it is run, but not directly in the code. !picture4.png! Please repair. Thank you > Error in lambda expression does not appear directly in code. > > > Key: NETBEANS-2749 > URL: https://issues.apache.org/jira/browse/NETBEANS-2749 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: Windows 10, NetBeans Linux 1156, Java 12.0.1 >Reporter: Michal Rama >Priority: Critical > Labels: java, javafx, lambda, transition > Attachments: picture1.png, picture2.png, picture3.png, picture4.png > > > Hello, > When I delete a parameter in _setOnMouseEntered_ at > _javafx.scene.shape.Path_, it displays an error. > !picture1.png! > Same as the file. > !picture2.png! > Even after startup. > !picture3.png! > However, if I delete a parameter in setOnFinished at > javafx.animation.FadeTransition, it will display an error in the file even > after it is run, but not in the code. > !picture4.png! > Please repair. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2749) Error in lambda expression does not appear directly in code.
[ https://issues.apache.org/jira/browse/NETBEANS-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2749: -- Description: Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in setOnFinished at javafx.animation.FadeTransition, it will display a bug in the file even after it is run, but not directly in the code. !picture4.png! Please repair. Thank you was: Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in setOnFinished with javafx.animation.FadeTransition, it will display a bug in the file even after it is run, but not directly in the code. !picture4.png! Please repair. Thank you > Error in lambda expression does not appear directly in code. > > > Key: NETBEANS-2749 > URL: https://issues.apache.org/jira/browse/NETBEANS-2749 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: Windows 10, NetBeans Linux 1156, Java 12.0.1 >Reporter: Michal Rama >Priority: Critical > Labels: java, javafx, lambda, transition > Attachments: picture1.png, picture2.png, picture3.png, picture4.png > > > Hello, > When I delete a parameter in _setOnMouseEntered_ at > _javafx.scene.shape.Path_, it displays an error. > !picture1.png! > Same as the file. > !picture2.png! > Even after startup. > !picture3.png! > However, if I delete a parameter in setOnFinished at > javafx.animation.FadeTransition, > it will display a bug in the file even after it is run, but not directly in > the code. > !picture4.png! > Please repair. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2749) Error in lambda expression does not appear directly in code.
[ https://issues.apache.org/jira/browse/NETBEANS-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2749: -- Description: Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in setOnFinished with javafx.animation.FadeTransition, it will display a bug in the file even after it is run, but not directly in the code. !picture4.png! Please repair. Thank you was: Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in _setOnFinished_ at _javafx.animation.FadeTransition_ This will show the error in the file even after running, but not directly in the code. !picture4.png! Please repair. Thank you > Error in lambda expression does not appear directly in code. > > > Key: NETBEANS-2749 > URL: https://issues.apache.org/jira/browse/NETBEANS-2749 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: Windows 10, NetBeans Linux 1156, Java 12.0.1 >Reporter: Michal Rama >Priority: Critical > Labels: java, javafx, lambda, transition > Attachments: picture1.png, picture2.png, picture3.png, picture4.png > > > Hello, > When I delete a parameter in _setOnMouseEntered_ at > _javafx.scene.shape.Path_, it displays an error. > !picture1.png! > Same as the file. > !picture2.png! > Even after startup. > !picture3.png! > However, if I delete a parameter in setOnFinished with > javafx.animation.FadeTransition, > it will display a bug in the file even after it is run, but not directly in > the code. > !picture4.png! > Please repair. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-2749) Error in lambda expression does not appear directly in code.
Michal Rama created NETBEANS-2749: - Summary: Error in lambda expression does not appear directly in code. Key: NETBEANS-2749 URL: https://issues.apache.org/jira/browse/NETBEANS-2749 Project: NetBeans Issue Type: Bug Components: java - Editor Environment: Windows 10, NetBeans Linux 1156, Java 12.0.1 Reporter: Michal Rama Attachments: picture1.png, picture2.png, picture3.png, picture4.png Hello, When I delete a parameter in _setOnMouseEntered_ at _javafx.scene.shape.Path_, it displays an error. !picture1.png! Same as the file. !picture2.png! Even after startup. !picture3.png! However, if I delete a parameter in _setOnFinished_ at _javafx.animation.FadeTransition_ This will show the error in the file even after running, but not directly in the code. !picture4.png! Please repair. Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2749) Error in lambda expression does not appear directly in code.
[ https://issues.apache.org/jira/browse/NETBEANS-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2749: -- Priority: Critical (was: Major) > Error in lambda expression does not appear directly in code. > > > Key: NETBEANS-2749 > URL: https://issues.apache.org/jira/browse/NETBEANS-2749 > Project: NetBeans > Issue Type: Bug > Components: java - Editor > Environment: Windows 10, NetBeans Linux 1156, Java 12.0.1 >Reporter: Michal Rama >Priority: Critical > Labels: java, javafx, lambda, transition > Attachments: picture1.png, picture2.png, picture3.png, picture4.png > > > Hello, > When I delete a parameter in _setOnMouseEntered_ at > _javafx.scene.shape.Path_, it displays an error. > !picture1.png! > Same as the file. > !picture2.png! > Even after startup. > !picture3.png! > However, if I delete a parameter in _setOnFinished_ at > _javafx.animation.FadeTransition_ > This will show the error in the file even after running, but not directly in > the code. > !picture4.png! > Please repair. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2559) NullPointerException in debug mode.
[ https://issues.apache.org/jira/browse/NETBEANS-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2559: -- Description: Hello, When I start the project, everything will go well. The problem occurs when I run debug mode. It goes through all the "Line Breakpoints". After the last, the project starts, but it also displays an error. {code:java} java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033) [catch] at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184) at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275) at org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641) at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535) at org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253) at org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500) at org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94) at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257) at java.base/java.lang.Thread.run(Thread.java:835){code} Why is he doing it? Please help Thank you was: Hello, When I start the project, everything will go well. The problem occurs when I run debug mode. It goes through all the "Line Breakpoints". After the last, the project starts, but it also displays an error. {code:java} java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033) [catch] at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184) at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275) at org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641) at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535) at org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253) at org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500) at org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94) at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257) at java.base/java.lang.Thread.run(Thread.java:835) {code} Why is he doing it? Please help Thank you > NullPointerException in debug mode. > --- > > Key: NETBEANS-2559 > URL: https://issues.apache.org/jira/browse/NETBEANS-2559 > Project: NetBeans > Issue Type: Bug > Components: debugger - Java, java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1099, Java 12.0.1 >Reporter: Michal Rama >Priority: Critical > Labels: Debug, NullPointerException, javafx > > Hello, > When I start the project, everything will go well. > The problem occurs when I run debug mode. It goes through all the "Line > Breakpoints". After the last, the project starts, but it also displays an > error. > {code:java} > java.lang.NullPointerException > at >
[jira] [Created] (NETBEANS-2559) NullPointerException in debug mode.
Michal Rama created NETBEANS-2559: - Summary: NullPointerException in debug mode. Key: NETBEANS-2559 URL: https://issues.apache.org/jira/browse/NETBEANS-2559 Project: NetBeans Issue Type: Bug Components: debugger - Java, java - Project, javafx - Project Affects Versions: 10.0 Environment: Windows 10, NetBeans Linux 1099, Java 12.0.1 Reporter: Michal Rama Hello, When I start the project, everything will go well. The problem occurs when I run debug mode. It goes through all the "Line Breakpoints". After the last, the project starts, but it also displays an error. {code:java} java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033) [catch] at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184) at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275) at org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641) at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535) at org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253) at org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500) at org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94) at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257) at java.base/java.lang.Thread.run(Thread.java:835) {code} Why is he doing it? Please help Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-2520) Something like suspending the program.
Michal Rama created NETBEANS-2520: - Summary: Something like suspending the program. Key: NETBEANS-2520 URL: https://issues.apache.org/jira/browse/NETBEANS-2520 Project: NetBeans Issue Type: New Feature Components: ide - Performance Affects Versions: 10.0 Environment: Windows 10, NetBeans Linux 1082, Java 12.0.1 Reporter: Michal Rama Hello, I have a problem with NetBeans hardware requirements. Running NetBeans takes a terrible time. But that's not the main problem. The thing is that running NetBeans consumes a lot of memory and processor. Even if I'm not currently using it. And when I run one (and more) more demanding programs, the memory overflows. The only solution is to close NetBeans. What if I only want to do this for a short time (eg 15 minutes)? Then we're back at the long NetBeans startup. And that's not what I want, just for a short time. I would be grateful for the possibility of suspending something. So that you can reuse NetBeans immediately, but not unnecessarily burden the system while not in use. Please Help Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2508) Simplify the creation of Open JavaFX projects (automatically download and set up the library + add tutorial directly to NetBeans)
[ https://issues.apache.org/jira/browse/NETBEANS-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833614#comment-16833614 ] Michal Rama commented on NETBEANS-2508: --- I did not know. It was just an idea to automatically download a library. > Simplify the creation of Open JavaFX projects (automatically download and set > up the library + add tutorial directly to NetBeans) > - > > Key: NETBEANS-2508 > URL: https://issues.apache.org/jira/browse/NETBEANS-2508 > Project: NetBeans > Issue Type: Improvement > Components: javafx - Project, projects - Libraries >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1082, Java 12.0.1 >Reporter: Michal Rama >Priority: Major > Labels: javafx, library, project > > Hello, > I've already mentioned this in another issue, but it's better to give it > separately. > I would be very grateful if two things were simplified for OpenJavaFX. > 1.Integrating the official tutorial. > https://github.com/openjfx/samples/tree/master/IDE/NetBeans > Here is a tutorial on how to create all OpenJavaFX variants. This should be > integrated directly into NetBeans when creating a new project. > 2.Simplify project creation (without Maven or Gradle). > There you need to manually download and set OpenJavaFX. It would be good if > NetBeans did it by itself (at least the download). You don't have to open > your browser and download it. In addition, you wouldn't have to think exactly > where to store your library + you can't accidentally delete it. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2508) Simplify the creation of Open JavaFX projects (automatically download and set up the library + add tutorial directly to NetBeans)
[ https://issues.apache.org/jira/browse/NETBEANS-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833611#comment-16833611 ] Michal Rama commented on NETBEANS-2508: --- Oh. I didn't notice that. Sorry. > Simplify the creation of Open JavaFX projects (automatically download and set > up the library + add tutorial directly to NetBeans) > - > > Key: NETBEANS-2508 > URL: https://issues.apache.org/jira/browse/NETBEANS-2508 > Project: NetBeans > Issue Type: Improvement > Components: javafx - Project, projects - Libraries >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1082, Java 12.0.1 >Reporter: Michal Rama >Priority: Major > Labels: javafx, library, project > > Hello, > I've already mentioned this in another issue, but it's better to give it > separately. > I would be very grateful if two things were simplified for OpenJavaFX. > 1.Integrating the official tutorial. > https://github.com/openjfx/samples/tree/master/IDE/NetBeans > Here is a tutorial on how to create all OpenJavaFX variants. This should be > integrated directly into NetBeans when creating a new project. > 2.Simplify project creation (without Maven or Gradle). > There you need to manually download and set OpenJavaFX. It would be good if > NetBeans did it by itself (at least the download). You don't have to open > your browser and download it. In addition, you wouldn't have to think exactly > where to store your library + you can't accidentally delete it. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-2508) Simplify the creation of Open JavaFX projects (automatically download and set up the library + add tutorial directly to NetBeans)
Michal Rama created NETBEANS-2508: - Summary: Simplify the creation of Open JavaFX projects (automatically download and set up the library + add tutorial directly to NetBeans) Key: NETBEANS-2508 URL: https://issues.apache.org/jira/browse/NETBEANS-2508 Project: NetBeans Issue Type: Improvement Components: javafx - Project, projects - Libraries Affects Versions: 10.0 Environment: Windows 10, NetBeans Linux 1082, Java 12.0.1 Reporter: Michal Rama Hello, I've already mentioned this in another issue, but it's better to give it separately. I would be very grateful if two things were simplified for OpenJavaFX. 1.Integrating the official tutorial. https://github.com/openjfx/samples/tree/master/IDE/NetBeans Here is a tutorial on how to create all OpenJavaFX variants. This should be integrated directly into NetBeans when creating a new project. 2.Simplify project creation (without Maven or Gradle). There you need to manually download and set OpenJavaFX. It would be good if NetBeans did it by itself (at least the download). You don't have to open your browser and download it. In addition, you wouldn't have to think exactly where to store your library + you can't accidentally delete it. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833461#comment-16833461 ] Michal Rama commented on NETBEANS-2481: --- Well, improving and simplifying NetBeans would be perfect. I would definitely make it easier to create a project (without Maven or Gradle). Specifically, the automatic download of the OpenJavaFX library, storage to other NetBeans libraries and its automatic use when creating other projects. Unfortunately, I have no other idea. But, the documentation from your link looks very promising. I would be very grateful if she were part of NetBeans. Thank you > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: HelloFX.zip, netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama closed NETBEANS-2481. - Resolution: Not A Problem > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: HelloFX.zip, netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833411#comment-16833411 ] Michal Rama commented on NETBEANS-2481: --- Perhaps it would be better to study it properly. I hope that OpenJavaFX's integrity in NetBeans will improve in the future. Still, thanks for your efforts. > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: HelloFX.zip, netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833377#comment-16833377 ] Michal Rama edited comment on NETBEANS-2481 at 5/5/19 2:21 PM: --- I didn't notice that. But even if I add graphics to module-info, your project cannot be started. The problem is probably on my side and maybe related to a continually typing error. *Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject* was (Author: michal_cat): I didn't notice that. But even if I add graphics to module-info, your project cannot be started. > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: HelloFX.zip, netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833377#comment-16833377 ] Michal Rama commented on NETBEANS-2481: --- I didn't notice that. But even if I add graphics to module-info, your project cannot be started. > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: HelloFX.zip, netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833356#comment-16833356 ] Michal Rama commented on NETBEANS-2481: --- I extracted the project and opened it in NetBeans. In POM, it changed to dependency (javafx-controls and javafx-fxml) on version 12. NetBeans does not report a bug in the project, but it is unable to run it and prints it. {code:java} --- exec-maven-plugin:1.5.0:exec (default-cli) @ HelloFX --- Error: JavaFX runtime components are missing, and are required to run this application Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject {code} > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: HelloFX.zip, netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists,
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1685#comment-1685 ] Michal Rama edited comment on NETBEANS-2481 at 5/5/19 11:31 AM: Perhaps it's beyond my understanding. The archive probably contains a Modular with Maven. But NetBeans can't start it, and when I created it myself, the result was the same. Honestly, I'm tired of it. I have no time or energy to deal with something like this just because javafx is no longer part of jdk. was (Author: michal_cat): Perhaps it's beyond my understanding. The archive probably contains a Modular with Maven. But NetBeans can't start it, and when I created it myself, the result was the same. Honestly, I'm tired of it. I have no time or energy to deal with something like this just because javafx is no longer part of jdk. > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: HelloFX.zip, netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1685#comment-1685 ] Michal Rama commented on NETBEANS-2481: --- Perhaps it's beyond my understanding. The archive probably contains a Modular with Maven. But NetBeans can't start it, and when I created it myself, the result was the same. Honestly, I'm tired of it. I have no time or energy to deal with something like this just because javafx is no longer part of jdk. > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: HelloFX.zip, netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833289#comment-16833289 ] Michal Rama commented on NETBEANS-2481: --- Oh. Unnecessarily big picture. Sorry. I created the project exactly according to the video tutorial that wrote me, but the project was not run. That is why I made the modification mentioned in the tutorial at openjavafx (link in issue links - JavaFX and NetBeans -> Non-modular with Maven), specifically the change shown in the picture in attachments. > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833172#comment-16833172 ] Michal Rama edited comment on NETBEANS-2481 at 5/5/19 9:24 AM: --- Hello, I'm sorry, I was busy. I created a project based on the video tutorial, but I couldn't start it. I had to edit the project settings as described in the link (Listed at the beginning in issue links - image in attachments at the beginning). Then it was possible to run it, but only in NetBeans. Even if I choose "Clean and Build", which is successfully completed, no jar file is created. In addition, NetBeans will introduce several times *Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject* I shared the project files on github. (Listed at the beginning in issue links). Please help Thank you was (Author: michal_cat): Hello, I'm sorry, I was busy. I created a project based on the video tutorial, but I couldn't start it. I had to edit the project settings as described in the link above. !netbeans05.png! Then it was possible to run it, but only in NetBeans. Even if I choose "Clean and Build", which is successfully completed, no jar file is created. In addition, NetBeans will introduce several times *Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject* I shared the project files on github. (Listed at the beginning). Please help Thank you > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16833172#comment-16833172 ] Michal Rama commented on NETBEANS-2481: --- Hello, I'm sorry, I was busy. I created a project based on the video tutorial, but I couldn't start it. I had to edit the project settings as described in the link above. !netbeans05.png! Then it was possible to run it, but only in NetBeans. Even if I choose "Clean and Build", which is successfully completed, no jar file is created. In addition, NetBeans will introduce several times *Failed to notify spy org.netbeans.modules.maven.event.NbEventSpy: org/json/simple/JSONObject* I shared the project files on github. (Listed at the beginning). Please help Thank you > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2481: -- Attachment: netbeans05.png > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > Attachments: netbeans05.png > > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830363#comment-16830363 ] Michal Rama edited comment on NETBEANS-2481 at 4/30/19 2:56 PM: Of course. But, I used the instructions https://openjfx.io/openjfx-docs/ (JavaFX and NetBeans -> Non-modular from Maven) and the project failed to start at all. NetBeans reports an error. {code:java} org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356){code} What am I doing wrong? Thank you was (Author: michal_cat): Of course. But, I used the instructions (JavaFX and NetBeans -> Non-modular from Maven) and the project failed to start at all. NetBeans reports an error. {code:java} org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830363#comment-16830363 ] Michal Rama commented on NETBEANS-2481: --- Of course. But, I used the instructions (JavaFX and NetBeans -> Non-modular from Maven) and the project failed to start at all. NetBeans reports an error. {code:java} org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356){code} What am I doing wrong? Thank you > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830166#comment-16830166 ] Michal Rama commented on NETBEANS-2481: --- I'd like to use MAVEN. However, I can only follow the tutorial "for morons". If you know any, I'll be happy? > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830157#comment-16830157 ] Michal Rama commented on NETBEANS-2481: --- **I added a link to github. I just wanted to say that the "nothing" files mean nothing. I only created them because GitHub deletes empty folders. > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830157#comment-16830157 ] Michal Rama edited comment on NETBEANS-2481 at 4/30/19 10:18 AM: - I added a link to github. I just wanted to say that the "nothing" files mean nothing. I only created them because GitHub deletes empty folders. was (Author: michal_cat): **I added a link to github. I just wanted to say that the "nothing" files mean nothing. I only created them because GitHub deletes empty folders. > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2481: -- External issue URL: (was: https://github.com/myjavarama4/pokus) > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Rama updated NETBEANS-2481: -- External issue URL: https://github.com/myjavarama4/pokus > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830101#comment-16830101 ] Michal Rama edited comment on NETBEANS-2481 at 4/30/19 9:23 AM: YES, I could temporarily delete everything I don't want to publish, but where should I share it exactly? HERE? was (Author: michal_cat): YES, I could temporarily delete everything I don't want to publish, but where should I share it exactly? > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830101#comment-16830101 ] Michal Rama edited comment on NETBEANS-2481 at 4/30/19 9:23 AM: YES, I could temporarily delete everything I don't want to publish, but where should I share it exactly? was (Author: michal_cat): YES, I could temporarily delete everything I don't want to publish, but where should I share it exactly? HERE? > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830101#comment-16830101 ] Michal Rama commented on NETBEANS-2481: --- YES, I could temporarily delete everything I don't want to publish, but where should I share it exactly? > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Comment Edited] (NETBEANS-2481) Project (with OpenJavaFX) cannot run outside of NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16830096#comment-16830096 ] Michal Rama edited comment on NETBEANS-2481 at 4/30/19 9:22 AM: Sorry. I'd like to upload the project to my GitHub account, but I don't want to publish it. was (Author: michal_cat): Sorry. I'd like to upload the project to my GitHub account, but I don't want to publish it. *UPDATE:* In theory, I could temporarily delete everything I don't want to publish, but where should I share it exactly? > Project (with OpenJavaFX) cannot run outside of NetBeans > - > > Key: NETBEANS-2481 > URL: https://issues.apache.org/jira/browse/NETBEANS-2481 > Project: NetBeans > Issue Type: Bug > Components: java - Project, javafx - Project >Affects Versions: 10.0 > Environment: Windows 10, NetBeans Linux 1070, Java 12.0.1 >Reporter: Michal Rama >Priority: Blocker > Labels: dist, jar, java, javafx, project > > Hello, > I have a problem running a project (with OpenJavaFX) outside NetBeans. > I used this tutorial - [https://openjfx.io/openjfx-docs/] (specifically > JavaFX and NetBeans -> Non-modular from IDE), which I don't want to repeat > and I don't understand why there is no simpler way. Adding an external > library is not difficult, unlike OpenJavaFX, which until recently was part of > the JDK. > But I already turned away from the subject. When I start a jar (in the dist > folder) outside of NetBeans, nothing happens. > The problem is that the external libraries are normally created in the dist / > lib folder (if you want to include them in the jar, you need to create a > "fat" jar), but nothing has been added to the lib folder. > Why does this happen? > Please help. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists