Intellij Ultimate不执行jpa-ql查询

时间:2015-08-24 13:49:49

标签: intellij-idea intellij-14

我有Intellij-Idea Ultimate版本14.1.4,我正在尝试execute a JPA-QL query with the console

我尝试了一个简单的错误,我在下面报告了一个错误。这是我的一些错误配置还是一个错误?

[2015-08-24 14:43:59] java.lang.IllegalArgumentException: Argument for @NotNull parameter 'stream' of com/intellij/openapi/util/io/FileUtil.loadTextAndClose must not be null
        at com.intellij.openapi.util.io.FileUtil.loadTextAndClose(FileUtil.java)
        at com.intellij.jpa.engine.JpaEngine.loadJpaTemplate(JpaEngine.java:241)
        at com.intellij.jpa.engine.JpaEngine.createPersistenceXmlText(JpaEngine.java:151)
        at com.intellij.jpa.engine.JpaEngine.createTemporaryJpaConfig(JpaEngine.java:207)
        at com.intellij.jpa.engine.JpaEngine.access$000(JpaEngine.java:61)
        at com.intellij.jpa.engine.JpaEngine$1.compute(JpaEngine.java:143)
        at com.intellij.jpa.engine.JpaEngine$1.compute(JpaEngine.java:136)
        at com.intellij.openapi.project.DumbService$1.run(DumbService.java:87)
        at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:123)
        at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:117)
        at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:888)
        at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:117)
        at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:84)
        at com.intellij.jpa.engine.JpaEngine.createTemporaryConfig(JpaEngine.java:136)
        at com.intellij.jpa.engine.JpaEngine.ensureInitialized(JpaEngine.java:97)
        at com.intellij.jpa.engine.JpaEngine.createQuery(JpaEngine.java:104)
        at com.intellij.jpa.engine.JpaEngineBase.executeQueryInner(JpaEngineBase.java:166)
        at com.intellij.jpa.engine.JpaEngineBase.access$000(JpaEngineBase.java:56)
        at com.intellij.jpa.engine.JpaEngineBase$1.compute(JpaEngineBase.java:128)
        at com.intellij.jpa.engine.JpaEngineBase$1.compute(JpaEngineBase.java:123)
        at com.intellij.database.console.AbstractEngine$4.compute(AbstractEngine.java:179)
        at com.intellij.database.console.AbstractEngine$4.compute(AbstractEngine.java:174)
        at com.intellij.database.console.AbstractEngine$3.run(AbstractEngine.java:159)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

0 个答案:

没有答案