Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8926459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:58:39+00:00 2026-06-15T07:58:39+00:00

I am using ASM 4.0 and have encountered a strange problem with org/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate.class class

  • 0

I am using ASM 4.0 and have encountered a strange problem with org/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate.class class from JBoss distribution

The problem is that after no-op transformation one of the methods of this class,

public synchronized byte[]
org$jboss$jms$client$delegate$ClientClusteredConnectionFactoryDelegate$getClientAOPStack$aop()
has the following

  LineNumberTable:
    line 232: 0
    line 240: 52
    line 242: 77

   LocalVariableTable:
    Start  Length  Slot  Name   Signature
    52      -52      2    aopStackProvider
Lorg/jboss/jms/delegate/ConnectionFactoryDelegate;
    0      0      2    e
Lorg/jboss/jms/exception/MessagingNetworkFailureException;
    36      -36      1    server       I
    0      0      0    this
Lorg/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate;

And before transformation those were:

   LineNumberTable:
    line 232: 0
    line 234: 34
    line 238: 45
    line 240: 52
    line 242: 77
    line 244: 84
    line 246: 85
    line 234: 116
    line 250: 122

   LocalVariableTable:
    Start  Length  Slot  Name   Signature
    52      32      2    aopStackProvider
Lorg/jboss/jms/delegate/ConnectionFactoryDelegate;
    85      31      2    e
Lorg/jboss/jms/exception/MessagingNetworkFailureException;
    36      86      1    server       I
    0      132      0    this
Lorg/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate;

As a result I have
java.lang.ClassFormatError: Invalid length 65484 in LocalVariableTable
in class file org/jboss/jms/client/delegate/ClientClusteredConnectionFactoryDelegate

Can anyone help me with this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:58:39+00:00Added an answer on June 15, 2026 at 7:58 am

    A colleague of mine found out the following: If for some reason, in the original bytecode LocalVariableTable contains invalid offsets, which point not at the end of the instruction, but in the middle of it, then after visiting by ASM, one gets negative offsets. The solution would be either to strip off debug information completely, by using ClassReader.SKIP_DEBUG option of ASM. Or to detect when ASM cannot determine the end offset of the local variable and to skip that particular variable in visitLocalVariable method of MethodAdapter

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have inserted the following asm code in my C++ code. I am using
I am writing essentially the equivalent of memset() using ASM. The code I have
Consider i have an assembly(class library dll) which i have loaded using the following
I have a .Net asm with several interfaces and classes exposed to COM using
How do I inspect local variables of a method using ASM ? I understand
I'm using NASM compiler to create small asm applications. I need to load my
I'm trying to develop a simple kernel using TASM, using this code: ; beroset.asm
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Defining simple getters and setters is easy using Asm (and fortunately it is even
I have written a Word add-in in C++ using plain Win32 API. It opens

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.