java.lang.IllegalArgumentException: already added: Lorg/springframework/http/ContentCodingType$1;

Spring JIRA | Yader Hernandez | 5 years ago
  1. 0

    Dx UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException 1.0.0.RC1

    GitHub | 5 years ago | yaderbh
    java.lang.IllegalArgumentException: already added: Lorg/springframework/http/ContentCodingType$1;
  2. 0

    Steps to reproduce: 1. download the jar from http://s3.amazonaws.com/dist.springframework.org/milestone/ANDROID/spring-android-1.0.0.RC1.zip 2. Only add core and rest jars to eclipse 3. add jars to build path 3. attempt to run application with any code change expecting: to see my application on the emulator actual: [2012-03-18 16:55:02 - MyApp] Dx UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lorg/springframework/http/ContentCodingType$1; [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.dex.file.DexFile.add(DexFile.java:163) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processClass(Main.java:486) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.access$400(Main.java:67) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processOne(Main.java:418) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.run(Main.java:206) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [2012-03-18 16:55:02 - MyApp] Dx at java.lang.reflect.Method.invoke(Method.java:597) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:179) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:745) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:634) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project$1.run(Project.java:618) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project.build(Project.java:124) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:961) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:146) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [2012-03-18 16:55:02 - MyApp] Dx UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lorg/springframework/beans/BeansException; [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.dex.file.DexFile.add(DexFile.java:163) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processClass(Main.java:486) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.access$400(Main.java:67) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processOne(Main.java:418) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.run(Main.java:206) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [2012-03-18 16:55:02 - MyApp] Dx at java.lang.reflect.Method.invoke(Method.java:597) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:179) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:745) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:634) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project$1.run(Project.java:618) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project.build(Project.java:124) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:961) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:146) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [2012-03-18 16:55:02 - MyApp] Dx 2 errors; aborting [2012-03-18 16:55:02 - MyApp] Conversion to Dalvik format failed with error 1 .classpath content: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="lib"/> <classpathentry kind="lib" path="lib/spring-android-rest-template-1.0.0.RC1.jar"/> <classpathentry kind="lib" path="lib/spring-android-core-1.0.0.RC1.jar"/> <classpathentry kind="output" path="bin/classes"/> </classpath>

    Spring JIRA | 5 years ago | Yader Hernandez
    java.lang.IllegalArgumentException: already added: Lorg/springframework/http/ContentCodingType$1;
  3. 0

    Steps to reproduce: 1. download the jar from http://s3.amazonaws.com/dist.springframework.org/milestone/ANDROID/spring-android-1.0.0.RC1.zip 2. Only add core and rest jars to eclipse 3. add jars to build path 3. attempt to run application with any code change expecting: to see my application on the emulator actual: [2012-03-18 16:55:02 - MyApp] Dx UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lorg/springframework/http/ContentCodingType$1; [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.dex.file.DexFile.add(DexFile.java:163) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processClass(Main.java:486) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.access$400(Main.java:67) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processOne(Main.java:418) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.run(Main.java:206) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [2012-03-18 16:55:02 - MyApp] Dx at java.lang.reflect.Method.invoke(Method.java:597) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:179) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:745) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:634) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project$1.run(Project.java:618) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project.build(Project.java:124) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:961) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:146) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [2012-03-18 16:55:02 - MyApp] Dx UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lorg/springframework/beans/BeansException; [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.dex.file.DexFile.add(DexFile.java:163) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processClass(Main.java:486) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.access$400(Main.java:67) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processOne(Main.java:418) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329) [2012-03-18 16:55:02 - MyApp] Dx at com.android.dx.command.dexer.Main.run(Main.java:206) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [2012-03-18 16:55:02 - MyApp] Dx at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [2012-03-18 16:55:02 - MyApp] Dx at java.lang.reflect.Method.invoke(Method.java:597) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:179) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:745) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:634) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project$1.run(Project.java:618) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.resources.Project.build(Project.java:124) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:961) [2012-03-18 16:55:02 - MyApp] Dx at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:146) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132) [2012-03-18 16:55:02 - MyApp] Dx at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [2012-03-18 16:55:02 - MyApp] Dx 2 errors; aborting [2012-03-18 16:55:02 - MyApp] Conversion to Dalvik format failed with error 1 .classpath content: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="lib"/> <classpathentry kind="lib" path="lib/spring-android-rest-template-1.0.0.RC1.jar"/> <classpathentry kind="lib" path="lib/spring-android-core-1.0.0.RC1.jar"/> <classpathentry kind="output" path="bin/classes"/> </classpath>

    Spring JIRA | 5 years ago | Yader Hernandez
    java.lang.IllegalArgumentException: already added: Lorg/springframework/http/ContentCodingType$1;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Project failing upon jtwitter-yamba.jar inclusion

    Stack Overflow | 5 years ago | JavaCake
    java.lang.IllegalArgumentException: already added: Llgpl/haustein/Base64Encoder;
  6. 0

    problems building with ADT r14

    Stack Overflow | 5 years ago | ligi
    java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/ActionBar$LayoutParams;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      already added: Lorg/springframework/http/ContentCodingType$1;

      at com.android.dx.dex.file.ClassDefsSection.add()
    2. Android SDK's dx Tool
      Main.run
      1. com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
      2. com.android.dx.dex.file.DexFile.add(DexFile.java:163)
      3. com.android.dx.command.dexer.Main.processClass(Main.java:486)
      4. com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
      5. com.android.dx.command.dexer.Main.access$400(Main.java:67)
      6. com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394)
      7. com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
      8. com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
      9. com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
      10. com.android.dx.command.dexer.Main.processOne(Main.java:418)
      11. com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
      12. com.android.dx.command.dexer.Main.run(Main.java:206)
      12 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.android.ide
      PostCompilerBuilder.build
      1. com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:179)
      2. com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:745)
      3. com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:634)
      3 frames
    5. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
      1 frame
    6. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    7. Core Resource Management
      Project.build
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
      4. org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
      5. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      6. org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
      7. org.eclipse.core.internal.resources.Project.build(Project.java:124)
      7 frames
    8. com.android.ide
      LaunchConfigDelegate.launch
      1. com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:961)
      2. com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:146)
      2 frames
    9. Debug Core
      LaunchConfiguration.launch
      1. org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
      2. org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
      2 frames
    10. org.eclipse.debug
      DebugUIPlugin$8.run
      1. org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
      2. org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
      2 frames
    11. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame