asm-intellij-plugin
asm-intellij-plugin copied to clipboard
A plugin for Intellij IDEA that enables the user to see the Byte-code as well as the ASM code.
``` java.lang.IllegalStateException: Write actions are prohibited at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.throwCannotWriteException(ProgressIndicatorUtilService.java:96) at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.prohibitWriteActionsInside(ProgressIndicatorUtilService.java:84) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.prohibitWriteActionsInside(ProgressIndicatorUtils.java:133) at com.intellij.openapi.actionSystem.impl.ActionUpdater$computeOnEdt$2$1$2.invoke(ActionUpdater.kt:199) at com.intellij.openapi.actionSystem.impl.ActionUpdater$computeOnEdt$2$1$2.invoke(ActionUpdater.kt:200) at com.intellij.openapi.actionSystem.impl.ActionUpdater$computeOnEdt$2.invoke(ActionUpdater.kt:742) at com.intellij.openapi.actionSystem.impl.ActionUpdater$computeOnEdt$deferred$1$1.invoke(ActionUpdater.kt:468) at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:321) at com.intellij.openapi.progress.CoroutinesKt.access$blockingContextInner(coroutines.kt:1) at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invokeSuspend(coroutines.kt:198) at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt) at com.intellij.openapi.progress.CoroutinesKt$blockingContext$2.invoke(coroutines.kt)...
``` com.intellij.diagnostic.PluginException: null [Plugin: ASM Bytecode Viewer] at com.intellij.serviceContainer.InstantiateKt.instantiateWithContainer(instantiate.kt:25) at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance$suspendImpl(ServiceInstanceInitializer.kt:26) at com.intellij.serviceContainer.ServiceInstanceInitializer.createInstance(ServiceInstanceInitializer.kt) at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invokeSuspend(LazyInstanceHolder.kt:162) at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt) at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1$1.invoke(LazyInstanceHolder.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invokeSuspend(LazyInstanceHolder.kt:160) at com.intellij.platform.instanceContainer.internal.LazyInstanceHolder$initialize$1.invoke(LazyInstanceHolder.kt)...
java.lang.ClassCastException: class com.android.tools.idea.uibuilder.editor.multirepresentation.sourcecode.SourceCodeEditorWithMultiRepresentationPreview cannot be cast to class com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl (com.android.tools.idea.uibuilder.editor.multirepresentation.sourcecode.SourceCodeEditorWithMultiRepresentationPreview is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @2cebffac; com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl is in unnamed module of loader com.intellij.util.lang.PathClassLoader @2471cca7) at org.objectweb.asm.idea.plugin.action.ShowBytecodeViewerAction$1.compute(ShowBytecodeViewerAction.java:152) at...
when I try to open bytecode for an inner class, it always opens the outer class instead
```text java.lang.AssertionError at reloc.org.objectweb.asm.Type.getClassName(Type.java:487) at org.objectweb.asm.idea.plugin.util.GroovifiedTextifier$GroovifiedMethodTextifier.visitMethodInsn(GroovifiedTextifier.java:312) at reloc.org.objectweb.asm.util.TraceMethodVisitor.visitMethodInsn(TraceMethodVisitor.java:183) at reloc.org.objectweb.asm.ClassReader.readCode(ClassReader.java:2448) at reloc.org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1514) at reloc.org.objectweb.asm.ClassReader.accept(ClassReader.java:744) at reloc.org.objectweb.asm.ClassReader.accept(ClassReader.java:424) at org.objectweb.asm.idea.plugin.action.ShowBytecodeViewerAction.lambda$updateToolWindowContents$6(ShowBytecodeViewerAction.java:258) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:947) at org.objectweb.asm.idea.plugin.action.ShowBytecodeViewerAction.updateToolWindowContents(ShowBytecodeViewerAction.java:219) at org.objectweb.asm.idea.plugin.action.ShowBytecodeViewerAction.actionPerformed(ShowBytecodeViewerAction.java:95) at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:244) at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:265) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:244)...
1. upgrade idea plugin 2. fix icon not found 3. compatible 2020 ide
You and thiakil/asm-bytecode-intellij are both forks of melix/asm-bytecode-intellij even if yours is not technically a fork on GitHub. Could you two maybe join forces to prevent duplicating work for our...
Found in idea.log ``` 2018-07-05 02:26:27,012 [ 34252] WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID: ASM) or icon jar:file:/D:/Dateien/.IntelliJIdea2018.1/config/plugins/ASM%20Bytecode%20Viewer/lib/asm-bytecode-intellij-6.0.1.jar!/images/asm.gif ```