java.lang.reflect.InvocationTargetException

SpringSource Issue Tracker | Steve Powell | 7 years ago
  1. 0

    As described in summary, get this on log: Launch failed: caught exception. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.springsource.server.launch.harness.LaunchHarness.main(LaunchHarness.java:63) Caused by: org.osgi.framework.BundleException: Exception in com.springsource.kernel.repository.internal.RepositoryActivator.start() of bundle com.springsource.kernel.repository. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:805) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:353) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272) at com.springsource.osgi.launcher.FrameworkBuilder.installAndStartBundles(FrameworkBuilder.java:177) at com.springsource.osgi.launcher.FrameworkBuilder.start(FrameworkBuilder.java:160) at com.springsource.osgi.launcher.Launcher.main(Launcher.java:45) ... 5 more Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:497) at com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readWatchedRepositoryConfiguration(PropertiesRepositoryConfigurationReader.java:224) at com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readRepositoryConfiguration(PropertiesRepositoryConfigurationReader.java:182) at com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readRepositoriesConfiguration(PropertiesRepositoryConfigurationReader.java:140) at com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readConfiguration(PropertiesRepositoryConfigurationReader.java:96) at com.springsource.kernel.repository.internal.RepositoryActivator.createAndPublishBundleRepository(RepositoryActivator.java:85) at com.springsource.kernel.repository.internal.RepositoryActivator.start(RepositoryActivator.java:57) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773) ... 12 more Should get warning and continue omitting repository from chain.

    SpringSource Issue Tracker | 7 years ago | Steve Powell
    java.lang.reflect.InvocationTargetException
  2. 0

    As described in summary, get this on log: Launch failed: caught exception. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.springsource.server.launch.harness.LaunchHarness.main(LaunchHarness.java:63) Caused by: org.osgi.framework.BundleException: Exception in com.springsource.kernel.repository.internal.RepositoryActivator.start() of bundle com.springsource.kernel.repository. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:805) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:353) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272) at com.springsource.osgi.launcher.FrameworkBuilder.installAndStartBundles(FrameworkBuilder.java:177) at com.springsource.osgi.launcher.FrameworkBuilder.start(FrameworkBuilder.java:160) at com.springsource.osgi.launcher.Launcher.main(Launcher.java:45) ... 5 more Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:497) at com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readWatchedRepositoryConfiguration(PropertiesRepositoryConfigurationReader.java:224) at com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readRepositoryConfiguration(PropertiesRepositoryConfigurationReader.java:182) at com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readRepositoriesConfiguration(PropertiesRepositoryConfigurationReader.java:140) at com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readConfiguration(PropertiesRepositoryConfigurationReader.java:96) at com.springsource.kernel.repository.internal.RepositoryActivator.createAndPublishBundleRepository(RepositoryActivator.java:85) at com.springsource.kernel.repository.internal.RepositoryActivator.start(RepositoryActivator.java:57) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773) ... 12 more Should get warning and continue omitting repository from chain.

    SpringSource Issue Tracker | 7 years ago | Steve Powell
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NumberFormatException: null (Beginning Java forum at Coderanch)

    coderanch.com | 7 months ago
    java.lang.NumberFormatException: null
  5. 0

    Java lang numberformatexception null - Java Programming - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.NumberFormatException: null

  1. Handemelindo 6 times, last 6 days ago
  2. bmacedo 2 times, last 1 week ago
  3. MoYapro 1 times, last 2 weeks ago
  4. filpgame 4 times, last 3 weeks ago
  5. silex 6 times, last 1 month ago
32 more registered users
63 unregistered visitors
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.NumberFormatException

    null

    at java.lang.Integer.parseInt()
  2. Java RT
    Integer.parseInt
    1. java.lang.Integer.parseInt(Integer.java:415)
    2. java.lang.Integer.parseInt(Integer.java:497)
    2 frames
  3. com.springsource.kernel
    RepositoryActivator.start
    1. com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readWatchedRepositoryConfiguration(PropertiesRepositoryConfigurationReader.java:224)
    2. com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readRepositoryConfiguration(PropertiesRepositoryConfigurationReader.java:182)
    3. com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readRepositoriesConfiguration(PropertiesRepositoryConfigurationReader.java:140)
    4. com.springsource.kernel.repository.internal.PropertiesRepositoryConfigurationReader.readConfiguration(PropertiesRepositoryConfigurationReader.java:96)
    5. com.springsource.kernel.repository.internal.RepositoryActivator.createAndPublishBundleRepository(RepositoryActivator.java:85)
    6. com.springsource.kernel.repository.internal.RepositoryActivator.start(RepositoryActivator.java:57)
    6 frames
  4. Eclipse OSGi
    BundleContextImpl$1.run
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
    1 frame
  5. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  6. Eclipse OSGi
    AbstractBundle.start
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:353)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
    5. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)
    5 frames
  7. com.springsource.osgi
    Launcher.main
    1. com.springsource.osgi.launcher.FrameworkBuilder.installAndStartBundles(FrameworkBuilder.java:177)
    2. com.springsource.osgi.launcher.FrameworkBuilder.start(FrameworkBuilder.java:160)
    3. com.springsource.osgi.launcher.Launcher.main(Launcher.java:45)
    3 frames
  8. 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
  9. com.springsource.server
    LaunchHarness.main
    1. com.springsource.server.launch.harness.LaunchHarness.main(LaunchHarness.java:63)
    1 frame