Java ASM: Cant Instantiate ClassNode -
i using asm v5.0.3. trying create classnode constructor appears hang forever. here code:
logger.warn("______ creating class node"); seek { logger.warn("______ creating class node 1"); classnode classnode = new classnode(); logger.warn("______ creating class node 2"); } grab (exception e) { logger.error("could not instantiate class node"); } logger.warn("______ created class node");
on console see
warn 2014-10-29 17:06:37,704 [line 39] ______ creating class node warn 2014-10-29 17:06:37,704 [line 42] ______ creating class node 1
and nil else. @ total loss whats happening here. how go diagnosing , fixing this? has seen before. other thing have been doing seek solve issue remove old versions of asm transitive dependencies, such as:
class="lang-xml prettyprint-override"><exclusions> <exclusion> <groupid>asm</groupid> <artifactid>asm</artifactid> </exclusion> </exclusions>
since using
class="lang-xml prettyprint-override"><dependency> <groupid>org.ow2.asm</groupid> <artifactid>asm-all</artifactid> <version>${ow2.asm.version}</version> </dependency>
does sound familiar anyone?
java java-bytecode-asm
No comments:
Post a Comment