How to switch on aspects?

Hei!

What should I do to work with aspects in the build #828?

I heard that I should rename my aspects from .java to .aj to see them as
aspects in the IDEA (with PLUS icon).

I have done that but attempt to Edit source on them produces following log:

ERROR - mand.impl.CommandProcessorImpl -
ERROR - mand.impl.CommandProcessorImpl - IntelliJ IDEA
(Aurora) Build #828
ERROR - mand.impl.CommandProcessorImpl - JDK: 1.4.1_02
ERROR - mand.impl.CommandProcessorImpl - VM: Java HotSpot(TM)
Client VM
ERROR - mand.impl.CommandProcessorImpl - Vendor: Sun
Microsystems Inc.
ERROR - mand.impl.CommandProcessorImpl - OS: Windows 2000
ERROR - mand.impl.CommandProcessorImpl - Last Action: EditSource
ERROR - mand.impl.CommandProcessorImpl - Current Command:
ERROR - mand.impl.CommandProcessorImpl -
java.lang.ArrayIndexOutOfBoundsException: 402
at com.intellij.openapi.editor.c.a.e.a(e.java:11)
at com.intellij.openapi.editor.a.cp.d(cp.java:64)
at com.intellij.openapi.editor.a.cp.a(cp.java:246)
at com.intellij.openapi.editor.a.x.a(x.java:545)
at com.intellij.openapi.editor.a.x.C(x.java:906)
at com.intellij.openapi.editor.a.x.k(x.java:21)
at com.intellij.openapi.editor.a.x.a(x.java:519)
at com.intellij.ui.b.a.a.s.o(s.java:3)
at com.intellij.ui.b.a.a.s.(s.java:36) at com.intellij.ui.b.a.a.n.]]>(n.java:70)
at com.intellij.ui.b.a.a.p.createEditor(p.java:3)
at com.intellij.ui.b.a.h.b(h.java:37)
at com.intellij.ui.b.a.h.a(h.java:307)
at com.intellij.ui.b.a.r.run(r.java:2)
at com.intellij.openapi.command.a.b.executeCommand(b.java:10)
at com.intellij.ui.b.a.h.a(h.java:154)
at com.intellij.openapi.fileEditor.a.k.run(k.java:2)
at com.intellij.openapi.command.a.b.executeCommand(b.java:55)
at com.intellij.openapi.fileEditor.a.f.openFile(f.java:76)
at com.intellij.ide.b.cr.actionPerformed(cr.java:13)
at com.intellij.openapi.actionSystem.b.k.actionPerformed(k.java:14)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
com.intellij.openapi.actionSystem.b.bb.fireActionPerformed(bb.java:12)
at com.intellij.ui.c.a.t.doClick(t.java:212)
at com.intellij.ui.c.a.t.access$300(t.java:184)
at com.intellij.ui.c.a.u.mouseReleased(u.java:0)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.t.a(t.java:61)
at com.intellij.ide.t.dispatchEvent(t.java:72)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

1 comment
Comment actions Permalink

Please please post it to the tracker.

--
--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Ilja Teterin" <iit@atbusiness.com> wrote in message
news:bccp2p$fon$1@is.intellij.net...

Hei!

>

What should I do to work with aspects in the build #828?

>

I heard that I should rename my aspects from .java to .aj to see them as
aspects in the IDEA (with PLUS icon).

>

I have done that but attempt to Edit source on them produces following

log:
>

ERROR - mand.impl.CommandProcessorImpl -
ERROR - mand.impl.CommandProcessorImpl - IntelliJ IDEA
(Aurora) Build #828
ERROR - mand.impl.CommandProcessorImpl - JDK: 1.4.1_02
ERROR - mand.impl.CommandProcessorImpl - VM: Java HotSpot(TM)
Client VM
ERROR - mand.impl.CommandProcessorImpl - Vendor: Sun
Microsystems Inc.
ERROR - mand.impl.CommandProcessorImpl - OS: Windows 2000
ERROR - mand.impl.CommandProcessorImpl - Last Action:

EditSource

ERROR - mand.impl.CommandProcessorImpl - Current Command:
ERROR - mand.impl.CommandProcessorImpl -
java.lang.ArrayIndexOutOfBoundsException: 402
at com.intellij.openapi.editor.c.a.e.a(e.java:11)
at com.intellij.openapi.editor.a.cp.d(cp.java:64)
at com.intellij.openapi.editor.a.cp.a(cp.java:246)
at com.intellij.openapi.editor.a.x.a(x.java:545)
at com.intellij.openapi.editor.a.x.C(x.java:906)
at com.intellij.openapi.editor.a.x.k(x.java:21)
at com.intellij.openapi.editor.a.x.a(x.java:519)
at com.intellij.ui.b.a.a.s.o(s.java:3)
at com.intellij.ui.b.a.a.s.<init>(s.java:36)
at com.intellij.ui.b.a.a.n.<init>(n.java:70)
at com.intellij.ui.b.a.a.p.createEditor(p.java:3)
at com.intellij.ui.b.a.h.b(h.java:37)
at com.intellij.ui.b.a.h.a(h.java:307)
at com.intellij.ui.b.a.r.run(r.java:2)
at com.intellij.openapi.command.a.b.executeCommand(b.java:10)
at com.intellij.ui.b.a.h.a(h.java:154)
at com.intellij.openapi.fileEditor.a.k.run(k.java:2)
at com.intellij.openapi.command.a.b.executeCommand(b.java:55)
at com.intellij.openapi.fileEditor.a.f.openFile(f.java:76)
at com.intellij.ide.b.cr.actionPerformed(cr.java:13)
at

com.intellij.openapi.actionSystem.b.k.actionPerformed(k.java:14)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
com.intellij.openapi.actionSystem.b.bb.fireActionPerformed(bb.java:12)
at com.intellij.ui.c.a.t.doClick(t.java:212)
at com.intellij.ui.c.a.t.access$300(t.java:184)
at com.intellij.ui.c.a.u.mouseReleased(u.java:0)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown

Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.t.a(t.java:61)
at com.intellij.ide.t.dispatchEvent(t.java:72)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

>


0

Please sign in to leave a comment.