java.lang.IllegalArgumentException

SpringSource Issue Tracker | Andrew Grabko | 5 years ago
  1. 0

    When STS is installed it somehow interferes with CDT, causing a debugging process to fail on startup with the message An internal error occurred during: "Launching test". java.lang.IllegalArgumentException Here is the stack trace from eclipse log: !ENTRY org.eclipse.core.jobs 4 2 2011-09-16 23:26:03.992 !MESSAGE An internal error occurred during: "Launching test". !STACK 0 java.lang.IllegalArgumentException at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.getBundles(PackageAdminImpl.java:580) at org.eclipse.core.internal.runtime.InternalPlatform.getBundle(InternalPlatform.java:183) at org.eclipse.core.runtime.Platform.getBundle(Platform.java:1416) at org.springframework.ide.eclipse.core.BundleStateLocationVariableResolver.resolveValue(BundleStateLocationVariableResolver.java:33) at org.eclipse.core.internal.variables.DynamicVariable.getValue(DynamicVariable.java:54) at org.eclipse.cdt.internal.core.cdtvariables.EclipseVariablesVariableSupplier$EclipseVarMacro.loadValue(EclipseVariablesVariableSupplier.java:103) at org.eclipse.cdt.internal.core.cdtvariables.EclipseVariablesVariableSupplier$EclipseVarMacro.getStringValue(EclipseVariablesVariableSupplier.java:90) at org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.getLaunchEnvironment(LaunchUtils.java:416) at org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.getGDBVersion(LaunchUtils.java:297) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.getGDBVersion(GdbLaunchDelegate.java:265) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:136) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:96) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:85) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 5 years ago | Andrew Grabko
    java.lang.IllegalArgumentException
  2. 0

    When STS is installed it somehow interferes with CDT, causing a debugging process to fail on startup with the message An internal error occurred during: "Launching test". java.lang.IllegalArgumentException Here is the stack trace from eclipse log: !ENTRY org.eclipse.core.jobs 4 2 2011-09-16 23:26:03.992 !MESSAGE An internal error occurred during: "Launching test". !STACK 0 java.lang.IllegalArgumentException at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.getBundles(PackageAdminImpl.java:580) at org.eclipse.core.internal.runtime.InternalPlatform.getBundle(InternalPlatform.java:183) at org.eclipse.core.runtime.Platform.getBundle(Platform.java:1416) at org.springframework.ide.eclipse.core.BundleStateLocationVariableResolver.resolveValue(BundleStateLocationVariableResolver.java:33) at org.eclipse.core.internal.variables.DynamicVariable.getValue(DynamicVariable.java:54) at org.eclipse.cdt.internal.core.cdtvariables.EclipseVariablesVariableSupplier$EclipseVarMacro.loadValue(EclipseVariablesVariableSupplier.java:103) at org.eclipse.cdt.internal.core.cdtvariables.EclipseVariablesVariableSupplier$EclipseVarMacro.getStringValue(EclipseVariablesVariableSupplier.java:90) at org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.getLaunchEnvironment(LaunchUtils.java:416) at org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.getGDBVersion(LaunchUtils.java:297) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.getGDBVersion(GdbLaunchDelegate.java:265) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:136) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:96) at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:85) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 5 years ago | Andrew Grabko
    java.lang.IllegalArgumentException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      No message provided

      at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.getBundles()
    2. Eclipse OSGi
      PackageAdminImpl.getBundles
      1. org.eclipse.osgi.framework.internal.core.PackageAdminImpl.getBundles(PackageAdminImpl.java:580)
      1 frame
    3. Eclipse Core
      Platform.getBundle
      1. org.eclipse.core.internal.runtime.InternalPlatform.getBundle(InternalPlatform.java:183)
      2. org.eclipse.core.runtime.Platform.getBundle(Platform.java:1416)
      2 frames
    4. org.springframework.ide
      BundleStateLocationVariableResolver.resolveValue
      1. org.springframework.ide.eclipse.core.BundleStateLocationVariableResolver.resolveValue(BundleStateLocationVariableResolver.java:33)
      1 frame
    5. Core Variables
      DynamicVariable.getValue
      1. org.eclipse.core.internal.variables.DynamicVariable.getValue(DynamicVariable.java:54)
      1 frame
    6. org.eclipse.cdt
      GdbLaunchDelegate.launch
      1. org.eclipse.cdt.internal.core.cdtvariables.EclipseVariablesVariableSupplier$EclipseVarMacro.loadValue(EclipseVariablesVariableSupplier.java:103)
      2. org.eclipse.cdt.internal.core.cdtvariables.EclipseVariablesVariableSupplier$EclipseVarMacro.getStringValue(EclipseVariablesVariableSupplier.java:90)
      3. org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.getLaunchEnvironment(LaunchUtils.java:416)
      4. org.eclipse.cdt.dsf.gdb.launching.LaunchUtils.getGDBVersion(LaunchUtils.java:297)
      5. org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.getGDBVersion(GdbLaunchDelegate.java:265)
      6. org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:136)
      7. org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:96)
      8. org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:85)
      8 frames
    7. 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
    8. 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
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame