Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform. must not be

启动Android studio时候报如下错误java.lang.RuntimeException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null。
解决方法:
1)进入刚安装的Android Studio目录下的bin目录。找到idea.properties文件,用文本编辑器打开。
2)在idea.properties文件末尾添加一行: disable.android.first.run=true ,然后保存文件。
3)关闭Android Studio后重新启动,便可进入界面。
发布了123 篇原创文章 · 获赞 18 · 访问量 20万+
展开阅读全文

IDEA中运行Tomcat build时报错

10-11

Error:Internal error: (java.util.concurrent.ExecutionException) java.lang.IllegalArgumentException: Argument for @NotNull parameter 'facetConfigurationElement' of org/jetbrains/jps/javaee/model/web/impl/JpsWebModuleExtensionSerializer.loadExtension must not be null java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'facetConfigurationElement' of org/jetbrains/jps/javaee/model/web/impl/JpsWebModuleExtensionSerializer.loadExtension must not be null at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModules(JpsProjectLoader.java:394) at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModules(JpsProjectLoader.java:326) at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadFromDirectory(JpsProjectLoader.java:196) at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadProject(JpsProjectLoader.java:96) at org.jetbrains.jps.model.serialization.impl.JpsSerializationManagerImpl.loadModel(JpsSerializationManagerImpl.java:42) at org.jetbrains.jps.cmdline.JpsModelLoaderImpl.loadModel(JpsModelLoaderImpl.java:50) at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:79) at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:280) at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:137) at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:235) at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'facetConfigurationElement' of org/jetbrains/jps/javaee/model/web/impl/JpsWebModuleExtensionSerializer.loadExtension must not be null at org.jetbrains.jps.javaee.model.web.impl.JpsWebModuleExtensionSerializer.$$$reportNull$$$0(JpsWebModuleExtensionSerializer.java) at org.jetbrains.jps.javaee.model.web.impl.JpsWebModuleExtensionSerializer.loadExtension(JpsWebModuleExtensionSerializer.java) at org.jetbrains.jps.javaee.model.web.impl.JpsWebModuleExtensionSerializer.loadExtension(JpsWebModuleExtensionSerializer.java:20) at org.jetbrains.jps.javaee.model.impl.JpsJavaeeModuleExtensionSerializerBase.loadExtension(JpsJavaeeModuleExtensionSerializerBase.java:46) at org.jetbrains.jps.javaee.model.impl.JpsJavaeeModuleExtensionSerializerBase.loadExtension(JpsJavaeeModuleExtensionSerializerBase.java:27) at org.jetbrains.jps.model.serialization.facet.JpsFacetSerializer.addExtension(JpsFacetSerializer.java:71) at org.jetbrains.jps.model.serialization.facet.JpsFacetSerializer.addFacets(JpsFacetSerializer.java:63) at org.jetbrains.jps.model.serialization.facet.JpsFacetSerializer.loadFacets(JpsFacetSerializer.java:44) at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadModule(JpsProjectLoader.java:436) at org.jetbrains.jps.model.serialization.JpsProjectLoader.lambda$loadModules$2(JpsProjectLoader.java:390) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212) ... 6 more 问答

idea改成eclipse编译报错Error:java: Internal error:

10-10

问题描述 **Error:java: Internal error:** java.lang.IllegalArgumentException at org.eclipse.jdt.internal.compiler.tool.EclipseFileManager.handleOption(EclipseFileManager.java:758) at java.compiler@11.0.3/javax.tools.ForwardingJavaFileManager.handleOption(ForwardingJavaFileManager.java:99) at org.jetbrains.jps.javac.JpsJavacFileManager.handleOption(JpsJavacFileManager.java:318) at org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:71) at org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:460) at org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:330) at org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:255) at org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:213) at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1324) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:1004) at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1071) at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:965) at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:794) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:376) at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:178) at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:139) at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:288) at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:121) at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:228) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) 尝试的解决方法: 我所有Jdk版本都改过来了,如下 (https://blog.csdn.net/wo541075754/article/details/82119860 "") 还是不管用。 我用Javac能编译,不报这个错。但是这个项目必须用eclipse编译。 下面是我配置的版本 ![图片说明](https://img-ask.csdn.net/upload/201910/10/1570678333_670537.png)![图片说明](https://img-ask.csdn.net/upload/201910/10/1570678338_83497.png)![图片说明](https://img-ask.csdn.net/upload/201910/10/1570678344_612385.png)![图片说明](https://img-ask.csdn.net/upload/201910/10/1570678348_889029.png) 问答

Android studio 安装后打开失败

10-24

已经重复安装三四次了,每次安装后都产生如下错误信息,向各位大神们求教。 Internal Error. Please report to https://code.google.com/p/android/issues io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.oio.OioServerSocketChannel at io.netty.channel.ReflectiveChannelFactory.newChannel(ReflectiveChannelFactory.java:40) at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:319) at io.netty.bootstrap.AbstractBootstrap.doBind(AbstractBootstrap.java:281) at io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:277) at io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:266) at org.jetbrains.io.BuiltInServer.bind(BuiltInServer.java:149) at org.jetbrains.io.BuiltInServer.start(BuiltInServer.java:118) at org.jetbrains.io.BuiltInServer.startNioOrOio(BuiltInServer.java:103) at com.intellij.idea.SocketLock.lambda$lock$1(SocketLock.java:152) at com.intellij.idea.SocketLock.underLocks(SocketLock.java:180) at com.intellij.idea.SocketLock.lock(SocketLock.java:129) at com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:296) at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:124) at com.intellij.idea.MainImpl.start(MainImpl.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.ide.plugins.PluginManager.lambda$start$0(PluginManager.java:91) at java.lang.Thread.run(Thread.java:745) Caused by: io.netty.channel.ChannelException: Failed to set the server socket timeout. at io.netty.channel.socket.oio.OioServerSocketChannel.<init>(OioServerSocketChannel.java:84) at io.netty.channel.socket.oio.OioServerSocketChannel.<init>(OioServerSocketChannel.java:65) at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at io.netty.channel.ReflectiveChannelFactory.newChannel(ReflectiveChannelFactory.java:38) ... 19 more Caused by: java.net.SocketException: Unrecognized Windows Sockets error: 10107: create at java.net.ServerSocket.createImpl(ServerSocket.java:307) at java.net.ServerSocket.getImpl(ServerSocket.java:257) at java.net.ServerSocket.setSoTimeout(ServerSocket.java:652) at io.netty.channel.socket.oio.OioServerSocketChannel.<init>(OioServerSocketChannel.java:81) ... 25 more! [图片说明](https://img-ask.csdn.net/upload/201710/24/1508843581_493024.png) 问答

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览