Copyright plugin exception

I always get this exception when creating a new class using the EAP.

com.intellij.util.IncorrectOperationException: Incorrect comment "/*

  • CopyrightPlugin (c) 2004 Your Corporation. All Rights Reserved.

*/
".

at com.intellij.psi.c.bg.createCommentFromText(bg.java:277)

at com.maddyhome.idea.copyright.psi.UpdateJavaFileCopyright.createComment(UpdateJavaFileCopyright.java:147)

at com.maddyhome.idea.copyright.psi.UpdateJavaFileCopyright.updateComment(UpdateJavaFileCopyright.java:131)

at com.maddyhome.idea.copyright.psi.UpdateJavaFileCopyright.update(UpdateJavaFileCopyright.java:62)

at com.maddyhome.idea.copyright.util.CommandHelper$2.run(CommandHelper.java:44)

at com.intellij.openapi.command.a.a.executeCommand(a.java:82)

at com.maddyhome.idea.copyright.util.CommandHelper$1.run(CommandHelper.java:38)

at com.intellij.openapi.f.b.c.runWriteAction(c.java:47)

at com.maddyhome.idea.copyright.util.CommandHelper.runUpdate(CommandHelper.java:34)

at com.maddyhome.idea.copyright.CopyrightPluginImpl$1.fileOpened(CopyrightPluginImpl.java:71)

at com.intellij.openapi.l.a.d.f(d.java:416)

at com.intellij.openapi.l.a.d.b(d.java:94)

at com.intellij.openapi.l.a.d.access$900(d.java:292)

at com.intellij.openapi.l.a.d$6.run(d$6.java:1)

at com.intellij.openapi.command.a.a.executeCommand(a.java:82)

at com.intellij.openapi.l.a.d.a(d.java:358)

at com.intellij.openapi.l.a.d.openFile(d.java:347)

at com.intellij.openapi.l.a.d$4.run(d$4.java:9)

at com.intellij.openapi.command.a.a.executeCommand(a.java:97)

at com.intellij.openapi.l.a.d.openTextEditor(d.java:31)

at com.intellij.ide.util.EditorHelper.openInEditor(EditorHelper.java:2)

at com.intellij.ide.l.a.m$i_.a(m$i_.java:12)

at com.intellij.ide.actions.z.actionPerformed(z.java:26)

at com.intellij.openapi.e.a.m$b_.actionPerformed(m$b_.java:7)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

at com.intellij.openapi.e.a.m.fireActionPerformed(m.java:21)

at com.intellij.ui.a.a.h.doClick(h.java:19)

at com.intellij.ui.a.a.h.access$300(h.java:215)

at com.intellij.ui.a.a.h$a_.mouseReleased(h$a_.java:1)

at java.awt.Component.processMouseEvent(Component.java:5100)

at java.awt.Component.processEvent(Component.java:4897)

at java.awt.Container.processEvent(Container.java:1569)

at java.awt.Component.dispatchEventImpl(Component.java:3615)

at java.awt.Container.dispatchEventImpl(Container.java:1627)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

at java.awt.Container.dispatchEventImpl(Container.java:1613)

at java.awt.Window.dispatchEventImpl(Window.java:1606)

at java.awt.Component.dispatchEvent(Component.java:3477)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)

at com.intellij.ide.t.b(t.java:78)

at com.intellij.ide.t.a(t.java:7)

at com.intellij.ide.t.dispatchEvent(t.java:5)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

1 comment
Comment actions Permalink

Edit the comment so there is no newline at the end of the last line of the comment.

This will be fixed soon.

0

Please sign in to leave a comment.