Authors:
jshiell
BSD

CheckStyle-IDEA

Vendor: James Shiell

Email:

Website: http://code.google.c...m/p/checkstyle-idea/

SourceCode: link

Description:

This plugin provides both real-time and on-demand scanning of Java files with CheckStyle from within the IDEA IDE.

Downloads: 22530
Rating:
Participated in rating: 7
Version Since Build Until Build File/URL Size (Kb) Date Dependency
3.1.2. 69.7126. . Download 1769.39. 2010-07-12 15:59:54 .
3.1.1. 69.7126. . Download 1767.86. 2010-05-15 17:33:45 .
3.1. 69.7126. . Download 1767.85. 2010-04-28 21:40:09 .
3.0.13. 69.7126. . Download 1746.88. 2010-04-04 20:17:03 .
2.4. 69.7126. . Download 1277.39. 2009-03-04 20:40:58 .
1.0.2. 55.5600. . Download 1289.94. 2007-04-24 21:47:59 .
. .

Recent change notes:

Comments:

gus4000
Rated:
2010-04-22 15:11:07
Works well. Real-time scanning seems to work pretty well, sometimes slows things down a bit. Import of existing checkstyle file is simple. Overall, a good plugin.
.
Anonymous
Rated:
2010-02-01 08:12:53
where to specify my own checkstyle file?
.
Anonymous
Rated:
2009-05-20 12:16:25
.
jshiell
Rated: noRate
2008-03-24 16:31:39
-- In IDEA 7.0M1B build#6833

Please update to a release build of IDEA 7.0.

Also, please send bug reports to the issue tracker at http://code.google.com/p/checkstyle-idea/issues/list - they may not be read here.
.
Anonymous
Rated: noRate
2008-03-12 12:08:40
In IDEA 7.0M1B build#6833


com.intellij.openapi.wm.ToolWindowManager.registerToolWindow(Ljava/lang/String;ZLcom/intellij/openapi/wm/ToolWindowAnchor;)Lcom/intellij/openapi/wm/ToolWindow;
java.lang.NoSuchMethodError: com.intellij.openapi.wm.ToolWindowManager.registerToolWindow(Ljava/lang/String;ZLcom/intellij/openapi/wm/ToolWindowAnchor;)Lcom/intellij/openapi/wm/ToolWindow;
at org.infernus.idea.checkstyle.CheckStylePlugin.registerToolWindow(CheckStylePlugin.java:292)
at org.infernus.idea.checkstyle.CheckStylePlugin.projectOpened(CheckStylePlugin.java:325)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:88)
at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:50)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:1)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:14)
at com.intellij.openapi.project.impl.ProjectManagerImpl.c(ProjectManagerImpl.java:46)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:153)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:117)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:78)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:14)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:30)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:1)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:38)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:131)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:79)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
.
Anonymous
Rated:
2008-01-31 01:09:17
The Nullpointer is gone in build 7675.

Sorry for the fuss :-)

.
Anonymous
Rated: noRate
2008-01-30 21:09:56
since build Selena 7656 (Selena-7648 was OK) the plugin throws a Nullpinter when intializing and does not work any more:

No message
java.lang.NullPointerException
at org.infernus.idea.checkstyle.CheckStylePlugin.registerToolWindow(CheckStylePlugin.java:295)
at org.infernus.idea.checkstyle.CheckStylePlugin.projectOpened(CheckStylePlugin.java:325)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:63)
at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:67)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:1)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:24)
at com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerImpl.java:213)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:177)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:119)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:240)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:131)
at com.intellij.idea.IdeaApplication.b(IdeaApplication.java:51)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:46)
at com.intellij.idea.IdeaApplication$IdeStarter$3.run(IdeaApplication.java:3)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:25)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:108)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:118)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:19)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


plattform is java 1,5 on Macosx 10.5
.
jshiell
Rated: noRate
2007-09-13 12:05:48
Please raise all bugs via the project website, as I don't read this page very often.

The IDEA 7M2 problem is open as issue #10 and will be fixed *hopefully* next week when I have some free time.
.
Anonymous
Rated: noRate
2007-09-13 10:42:08
IDEA 7.0M2. I have the same problem:(. Is it possible to fix this problem?


update failed for AnAction with ID=CheckStyleScrollToSourceAction: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:332)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:3)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:4)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:17)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:8)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



.
Anonymous
Rated: noRate
2007-08-17 18:37:25
In the last version of the IDEA it throws:
update failed for AnAction with ID=CheckStyleScrollToSourceAction: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
java.lang.ClassCastException: com.intellij.ui.content.impl.ContentManagerImpl$MyComponent
at org.infernus.idea.checkstyle.actions.ScrollToSource.isSelected(ScrollToSource.java:41)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:63)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:84)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:25)
...

:(
.
jshiell
Rated: noRate
2007-05-22 16:12:19
Anonymous - you will need to either change your CheckStyle or IDEA configuration to match your preferred XML format. If you change IDEA's then Ctrl+Alt+L will obviously reflect this.
.
Anonymous
Rated:
2007-05-22 14:54:48
Where can I find a Checkstyle configuration file (xml) that is compatible with IntelliJ IDEA's own layout wizard? At the moment, after I use CTRL-ALT-L to format a Java source module, Checkstyle complains about hundreds of style errors - e.g. no space before a '<'.
.
michael.tamm
Rated:
2007-03-30 13:10:57
After some emails, James Shiell gave me the hint, that I have to enable the Checkstyle Inspection in the IDE Profiles, now it works fantastically :)
.
michael.tamm
Rated:
2007-03-08 19:57:49
Realtime scanning does not work in my IDEA 6.0.4 :(
.