You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/05/03 12:36:44 UTC
[GitHub] [netbeans] max6186 opened a new issue, #4068: java.lang.IllegalArgumentException
max6186 opened a new issue, #4068:
URL: https://github.com/apache/netbeans/issues/4068
### Apache NetBeans version
Apache NetBeans 13
### What happened
Every time I try to run the program, even just as simple as printing a string line. It just show me "java.lang.IllegalArgumentException".
### How to reproduce
_No response_
### Did this work correctly in an earlier version?
No
### Operating System
Windows 10
### JDK
JDK 8
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien closed issue #4068: java.lang.IllegalArgumentException
Posted by GitBox <gi...@apache.org>.
mbien closed issue #4068: java.lang.IllegalArgumentException
URL: https://github.com/apache/netbeans/issues/4068
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on issue #4068: java.lang.IllegalArgumentException
Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4068:
URL: https://github.com/apache/netbeans/issues/4068#issuecomment-1116917890
ok, you aren't actually using NetBeans 13
I recommend getting the latest version from the link on your screenshot and running it on JDK 11 or 17 as described on the download page and everything should be working fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] nando93-colab commented on issue #4068: java.lang.IllegalArgumentException
Posted by GitBox <gi...@apache.org>.
nando93-colab commented on issue #4068:
URL: https://github.com/apache/netbeans/issues/4068#issuecomment-1160551560
A java.lang.IllegalArgumentException exception has occurred.
Please report this at https://netbeans.apache.org/nb/report-issue,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your C:\Users\ferna\AppData\Roaming\NetBeans\14\var\log folder.
java.lang.IllegalArgumentException: No parser for mime type: text/x-java
at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.findMimeParser(DataObjectEnvFactory.java:78)
at org.netbeans.modules.parsing.api.ParserManager.findParser(ParserManager.java:375)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:317)
at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:433)
at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:425)
at org.netbeans.api.java.source.SourceUtils.isMainClass(SourceUtils.java:959)
at org.netbeans.api.java.source.SourceUtils.isMainClass(SourceUtils.java:909)
at org.netbeans.modules.java.api.common.util.CommonProjectUtils.isMainClass(CommonProjectUtils.java:155)
at org.netbeans.modules.java.api.common.project.ActionProviderSupport.getProjectMainClass(ActionProviderSupport.java:378)
at org.netbeans.modules.java.api.common.project.BaseActionProvider.getProjectMainClass(BaseActionProvider.java:368)
at org.netbeans.modules.java.api.common.project.JavaActionProvider$9.getTargetNames(JavaActionProvider.java:1545)
at org.netbeans.modules.java.api.common.project.BaseActionProvider$ServerExecutionAwareAction.getTargetNames(BaseActionProvider.java:730)
at org.netbeans.modules.java.api.common.project.BaseActionProvider$BrokenAPIActionDecorator.getTargetNames(BaseActionProvider.java:795)
at org.netbeans.modules.java.api.common.project.BaseActionProvider.lambda$getTargetNames$2(BaseActionProvider.java:311)
at java.util.Optional.map(Optional.java:215)
at org.netbeans.modules.java.api.common.project.BaseActionProvider.getTargetNames(BaseActionProvider.java:297)
at org.netbeans.modules.java.j2seproject.J2SEActionProvider.getTargetNames(J2SEActionProvider.java:275)
at org.netbeans.modules.java.api.common.project.BaseActionProvider$BrokenAPIActionDecorator.getTargetNames(BaseActionProvider.java:782)
at org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.execute(ActionProviderSupport.java:1305)
at org.netbeans.modules.java.api.common.project.ActionProviderSupport$JavaModelWork.run(ActionProviderSupport.java:1287)
at org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:133)
at org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:202)
at org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
at org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
at java.util.Optional.ifPresent(Optional.java:159)
at org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
at org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:225)
at org.netbeans.modules.java.j2seproject.J2SEActionProvider.lambda$invokeAction$0(J2SEActionProvider.java:292)
at org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:337)
at org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
at org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:97)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:62)
at org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
at org.openide.util.Mutex.writeAccess(Mutex.java:291)
at org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
at org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
please help me
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on issue #4068: java.lang.IllegalArgumentException
Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4068:
URL: https://github.com/apache/netbeans/issues/4068#issuecomment-1116709443
where do you see that Exception?
The most useful part of an Exception is it's stack trace, which you decided to omit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] max6186 commented on issue #4068: java.lang.IllegalArgumentException
Posted by GitBox <gi...@apache.org>.
max6186 commented on issue #4068:
URL: https://github.com/apache/netbeans/issues/4068#issuecomment-1116911669
when I try to run the any process.
example for a code:
class main{
public static void main(String[] args){
System.out.println("Test Code");
}
}
the weird part is when I try the same codes on other IDE, they work just fine
![IMG_0436 (1)](https://user-images.githubusercontent.com/65102624/166622494-4da0b27c-29a5-4d7a-8677-94ddc4bd477f.jpg)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists