美文网首页
错误集合

错误集合

作者: Lucksheep | 来源:发表于2020-06-16 14:49 被阅读0次

    IDEA 项目 Test 运行错误

    MAC,IDEA运行 Test 发生错误

    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:225)
      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:80)
      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:228)
      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、删除缓存 rm -rf ~/Library/Caches/IntelliJIdea2018.2
    2、新增配置
    <configuration default="false" type="js.build_tools.gulp" factoryName="Gulp.js">

    The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone....

    show variables like '%time_zone%';
    set global time_zone='+8:00';
    

    相关文章

      网友评论

          本文标题:错误集合

          本文链接:https://www.haomeiwen.com/subject/tbqbzhtx.html