wmyywm / eclipse-code-formatter-intellij-plugin

Automatically exported from code.google.com/p/eclipse-code-formatter-intellij-plugin
0 stars 0 forks source link

Illegal State Exception #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Formatting for me is giving me the following exception

12:26:55 PM IllegalStateException: startOffset0, endOffset:98443, length of 
file 98443: @NotNull method 
krasa/formatter/eclipse/JavaCodeFormatterFacade.getLanguageLevel must not 
return null

Original issue reported on code.google.com by akhilche...@gmail.com on 2 Dec 2014 at 7:17

GoogleCodeExporter commented 9 years ago
 which version of IJ and plugin do you use?

Original comment by vojta.kr...@gmail.com on 2 Dec 2014 at 9:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm using Android Studio Beta 0.8.14. If I'm not mistaken I think it uses IDEA 
12? As for the plugin, I'm using Version 14.6.132.637

Original comment by akhilche...@gmail.com on 2 Dec 2014 at 9:53

GoogleCodeExporter commented 9 years ago
try updating the plugin

Original comment by vojta.kr...@gmail.com on 2 Dec 2014 at 10:56

GoogleCodeExporter commented 9 years ago
Upgraded to 14.7.

Works now. 

Sorry, should have tried that before creating a ticket. I just downloaded it 
from the plugin manager, and I assumed it would have been the latest. I don't 
see a mark as resolved here. Do you need to do that?

Original comment by akhilche...@gmail.com on 2 Dec 2014 at 1:05

GoogleCodeExporter commented 9 years ago
Thanks. I actually uploaded a fixed version for you, so you had the latest 
before. :)

Original comment by vojta.kr...@gmail.com on 2 Dec 2014 at 1:11