java.lang.IllegalArgumentException: Unable to create sample database in /usr/share/apache-tomcat-7.0.23/temp/workspace_dtp/org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb.

Eclipse Bugzilla | bhunt | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bug 363422 – I think PluginResourceLocatorImpl.encode() is broken

    eclipse.org | 1 year ago
    java.lang.IllegalArgumentException: Unable to create sample database in /usr/share/apache-tomcat-7.0.23/temp/workspace_dtp/org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb.
  2. 0

    I think PluginResourceLocatorImpl.encode() is broken

    Eclipse Bugzilla | 5 years ago | bhunt
    java.lang.IllegalArgumentException: Unable to create sample database in /usr/share/apache-tomcat-7.0.23/temp/workspace_dtp/org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unable to create sample database in /usr/share/apache-tomcat-7.0.23/temp/workspace_dtp/org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb.

      at org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb.internal.impl.SampleDbFactory.initSampleDb()
    2. org.eclipse.birt
      SampleDbFactory.setInitializationData
      1. org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb.internal.impl.SampleDbFactory.initSampleDb(SampleDbFactory.java:113)
      2. org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb.internal.impl.SampleDbFactory.setInitializationData(SampleDbFactory.java:77)
      2 frames
    3. BIRT Core Package
      ConfigurationElement.createExecutableExtension
      1. org.eclipse.birt.core.framework.jar.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:51)
      1 frame
    4. BIRT
      JDBCConnection.open
      1. org.eclipse.datatools.connectivity.internal.InternalProfileManager.initializeLocalDatabase(InternalProfileManager.java:1380)
      2. org.eclipse.datatools.connectivity.internal.InternalProfileManager.loadLocalRegisteredDatabases(InternalProfileManager.java:1360)
      3. org.eclipse.datatools.connectivity.internal.InternalProfileManager.loadProfiles(InternalProfileManager.java:1070)
      4. org.eclipse.datatools.connectivity.internal.InternalProfileManager.getProfiles(InternalProfileManager.java:150)
      5. org.eclipse.datatools.connectivity.internal.InternalProfileManager.saveChanges(InternalProfileManager.java:1018)
      6. org.eclipse.datatools.connectivity.VersionProviderConnection.updateVersionCache(VersionProviderConnection.java:91)
      7. org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:114)
      8. org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
      9. org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:73)
      9 frames
    5. org.eclipse.datatools.enablement.mysql_1.0.4.v201212120617.jar
      JDBCMySQLConnectionFactory.createConnection
      1. org.eclipse.datatools.enablement.internal.mysql.connection.JDBCMySQLConnectionFactory.createConnection(JDBCMySQLConnectionFactory.java:28)
      1 frame
    6. BIRT
      ConnectionProfile.createConnection
      1. org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
      2. org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
      2 frames
    7. org.eclipse.datatools.connectivity.sqm.core_1.2.8.v201401230755.jar
      ConnectionFactory.createConnection
      1. org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.initializeJDBCConnection(ConnectionInfoImpl.java:705)
      2. org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.<init>(ConnectionInfoImpl.java:690)
      3. org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFactory.java:38)
      4. org.eclipse.datatools.connectivity.sqm.core.SQMConnectionFactory.createConnection(SQMConnectionFactory.java:45)
      5. org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFactory.java:59)
      5 frames
    8. BIRT
      CreateConnectionJob.run
      1. org.eclipse.datatools.connectivity.internal.ConnectionFactoryAdapterProvider.createConnection(ConnectionFactoryAdapterProvider.java:114)
      2. org.eclipse.datatools.connectivity.internal.ManagedConnection.createConnection(ManagedConnection.java:163)
      3. org.eclipse.datatools.connectivity.internal.CreateConnectionJob.run(CreateConnectionJob.java:56)
      3 frames
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame