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 5935637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:16:59+00:00 2026-05-22T15:16:59+00:00

I have a Guice enabled application working fine, but when I optimize it (i.e.,

  • 0

I have a Guice enabled application working fine, but when I optimize it (i.e., shrink size) with Proguard, I get the following error message (I catch it with an uncaught exception handler):

java.lang.ClassFormatError: LVTT entry for 'that' in class file
com/google/inject/internal/util/$ImmutableList$RegularImmutableList
does not match any LVT entry

This prevents the application from operating properly. I do not obfuscate the code.

Does anyone know what is happening? Is there a solution/workaround?

Thanks.

  • 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-05-22T15:17:00+00:00Added an answer on May 22, 2026 at 3:17 pm

    Sometimes ProGuard will rip out more things than it should when shrinking. ProGuard will remove any references to classes/members that it believes are not used in your application unless you explicitly tell it to preserve those classes/members.

    You can preserve classes/members using ProGuard’s keep options. The example usage page has a few examples of keep options.

    I see this happen sometimes when my applications reference an interface implementation which doesn’t appear to be referenced when you’re just looking at the code. I just add a new keep option every time I find that something is missing. Perhaps someone else has a better suggestion for how to track these things down?

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

Sidebar

Related Questions

So I have enabled Ratings in Sharepoint 2010 for a Document Library following this
I have a guice module added to the injector using injector = Guice.createInjector(... but
I have gone through their developer guide but haven't been able to find a
I have used the following article as a guide to creating a custom EditorPart
I followed this guide here perfectly and have gone through it again but when
I am following this tutorial https://developer.android.com/guide/tutorials/views/hello-tabwidget.html and have completed it. Now I would actually
Have you ever seen any of there error messages? -- SQL Server 2000 Could
First off, I'm using Google AppEngine and Guice, but I suspect my problem is
My site was working fine until I followed this guide, http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-ubuntu-9.10 to set up
I have tried to display the matrix values in edit controls the following way:

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.