java.lang.NullPointerException in getFileTypeByFile

Hi,

I'm permanently getting this exception editing a java-file.
I've checked my file types configuration for types
lacking any configured extension which I have experienced
problems with in the production release, but haven't
found any problem.

What can I check or which cache shall I delete?

Regards
Frank Bruch


java.lang.NullPointerException
at com.intellij.openapi.fileTypes.a.b.getFileTypeByFile(b.java:243)
at com.intellij.psi.d.bh.a(bh.java:152)
at com.intellij.psi.d.a.j.a(j.java:211)
at com.intellij.psi.d.a.j.processInheritors(j.java:62)
at com.intellij.codeInsight.i.a.bx.a(bx.java:37)
at com.intellij.codeInsight.i.a.bx.a(bx.java:4)
at com.intellij.codeInsight.i.a.bx.a(bx.java:55)
at com.intellij.codeInsight.i.a.cq.run(cq.java:6)
at com.intellij.openapi.application.a.e.runReadAction(e.java:112)
at com.intellij.codeInsight.i.a.cz.a(cz.java:38)
at com.intellij.codeInsight.i.a.cz.a(cz.java:47)
at com.intellij.codeInsight.i.a.cp.run(cp.java:1)
at com.intellij.progress.c.a(c.java:20)
at com.intellij.codeInsight.i.a.cz.run(cz.java:4)

1 comment

Erase all the files and folders under system/caches
Be sure IDEA is shut down that time.

--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Frank Bruch" <jiveadmin@jetbrains.com> wrote in message
news:3626152.1048512651514.JavaMail.jrun@is.intellij.net...

Hi,

>

I'm permanently getting this exception editing a java-file.
I've checked my file types configuration for types
lacking any configured extension which I have experienced
problems with in the production release, but haven't
found any problem.

>

What can I check or which cache shall I delete?

>

Regards
Frank Bruch

>
>

java.lang.NullPointerException
at com.intellij.openapi.fileTypes.a.b.getFileTypeByFile(b.java:243)
at com.intellij.psi.d.bh.a(bh.java:152)
at com.intellij.psi.d.a.j.a(j.java:211)
at com.intellij.psi.d.a.j.processInheritors(j.java:62)
at com.intellij.codeInsight.i.a.bx.a(bx.java:37)
at com.intellij.codeInsight.i.a.bx.a(bx.java:4)
at com.intellij.codeInsight.i.a.bx.a(bx.java:55)
at com.intellij.codeInsight.i.a.cq.run(cq.java:6)
at com.intellij.openapi.application.a.e.runReadAction(e.java:112)
at com.intellij.codeInsight.i.a.cz.a(cz.java:38)
at com.intellij.codeInsight.i.a.cz.a(cz.java:47)
at com.intellij.codeInsight.i.a.cp.run(cp.java:1)
at com.intellij.progress.c.a(c.java:20)
at com.intellij.codeInsight.i.a.cz.run(cz.java:4)



0

Please sign in to leave a comment.