openengsb-labs / labs-liquibase

Extension project making liquibase even more useful for OSGi
Apache License 2.0
0 stars 0 forks source link

As a developer I want to be able to use the latest liquibase version #1

Open anpieber opened 11 years ago

anpieber commented 11 years ago

Upgrade liquibase to 3.3

anpieber commented 9 years ago

Not possible right now since there's an error in the liquibase imports:

Well, the imports are set correctly (optional), but they're used somewhere (and it needs to be scanned where in the liquibase code). Independently we'll need to wait for a new liquibase release to work with this. So this will take some time before getting interesting.

ERROR: Bundle org.openengsb.labs.liquibase.extender [115] EventDispatcher: Error during dispatch. (java.lang.NoClassDefFoundError: org/junit/experimental/theories/ParameterSupplier)
java.lang.NoClassDefFoundError: org/junit/experimental/theories/ParameterSupplier
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2279)
        at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
        at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1844)
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:937)
        at liquibase.osgi.OSGIPackageScanClassResolver.find(OSGIPackageScanClassResolver.java:43)
        at liquibase.osgi.OSGIPackageScanClassResolver.find(OSGIPackageScanClassResolver.java:36)
        at liquibase.osgi.OSGIPackageScanClassResolver.find(OSGIPackageScanClassResolver.java:36)
        at liquibase.servicelocator.DefaultPackageScanClassResolver.findImplementations(DefaultPackageScanClassResolver.java:87)
        at liquibase.servicelocator.ServiceLocator.findClassesImpl(ServiceLocator.java:202)
        at liquibase.servicelocator.ServiceLocator.findClasses(ServiceLocator.java:177)
        at liquibase.servicelocator.ServiceLocator.findClass(ServiceLocator.java:141)
        at liquibase.servicelocator.ServiceLocator.newInstance(ServiceLocator.java:190)
        at liquibase.logging.LogFactory.getLog(LogFactory.java:44)
        at liquibase.logging.LogFactory.getLog(LogFactory.java:66)
        at liquibase.logging.LogFactory.getLogger(LogFactory.java:62)
        at org.openengsb.labs.liquibase.extender.internal.LiquibaseMigrationBundleFactory.loadDatabase(LiquibaseMigrationBundleFactory.java:165)
        at org.openengsb.labs.liquibase.extender.internal.LiquibaseMigrationBundleFactory.commandExecutor(LiquibaseMigrationBundleFactory.java:132)
        at org.openengsb.labs.liquibase.extender.internal.LiquibaseMigrationBundleFactory.access$000(LiquibaseMigrationBundleFactory.java:38)
        at org.openengsb.labs.liquibase.extender.internal.LiquibaseMigrationBundleFactory$MigrationBundle.executeMigration(LiquibaseMigrationBundleFactory.java:77)
        at org.openengsb.labs.liquibase.extender.internal.LiquibaseDatabaseMigrationCenter.register(LiquibaseDatabaseMigrationCenter.java:89)
        at org.openengsb.labs.liquibase.extender.internal.LiquibaseMigrationCenterHead.registerBundleForMigration(LiquibaseMigrationCenterHead.java:48)
        at org.openengsb.labs.liquibase.extender.internal.MigrationBundleListener.addingBundle(MigrationBundleListener.java:35)
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:467)
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:414)
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
        at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443)
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2136)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2064)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
        at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:477)
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:435)
        at org.apache.karaf.features.internal.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:92)
        at org.apache.karaf.features.internal.BootFeaturesInstaller.start(BootFeaturesInstaller.java:76)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)
        at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)
        at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)
        at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)
        at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)
        at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
        at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)
        at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:681)
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:378)
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)
        at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:276)
        at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:245)
        at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:235)
        at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
        at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
        at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
        at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
        at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
        at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)
        at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.junit.experimental.theories.ParameterSupplier not found by org.liquibase.osgi [114]
        at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
        at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 77 more