为什么运行时报这些错误

为什么运行时报这些错误

Error:Internal error: (java.lang.IllegalArgumentException) Argument for @NotNull parameter 'name' of org/jetbrains/jps/model/impl/JpsProjectImpl.addRunConfiguration must not be null

java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of org/jetbrains/jps/model/impl/JpsProjectImpl.addRunConfiguration must not be null

at org.jetbrains.jps.model.impl.JpsProjectImpl.$$$reportNull$$$0(JpsProjectImpl.java)

at org.jetbrains.jps.model.impl.JpsProjectImpl.addRunConfiguration(JpsProjectImpl.java)

at org.jetbrains.jps.model.serialization.runConfigurations.JpsRunConfigurationSerializer.loadRunConfigurations(JpsRunConfigurationSerializer.java:63)

at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadFromDirectory(JpsProjectLoader.java:226)

at org.jetbrains.jps.model.serialization.JpsProjectLoader.loadProject(JpsProjectLoader.java:98)

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:279)

at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:135)

at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:229)

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:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)


正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

1回答
好帮手慕珊 2019-05-05 18:15:55

你好!是运行老师源码报错的吗?IDEA是什么版本呢?这些是全部报错吗?

祝学习愉快!

问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师