Tmr / h2database

Automatically exported from code.google.com/p/h2database
0 stars 0 forks source link

Unable to load class 'org.h2.mvstore.MVMap$2' because the bundle wiring for org.h2 is no longer valid. #606

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Upgraded from 1.4.181 to 1.4.186; H2 is used within an OSGi container (Netbeans 
Platform application). Since, I'm getting Exceptions when closing the 
application:

java.lang.ClassNotFoundException: Unable to load class 'org.h2.mvstore.MVMap$2' 
because the bundle wiring for org.h2 is no longer valid.
    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1494)
    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:358)
Caused: java.lang.NoClassDefFoundError: org/h2/mvstore/MVMap$2
    at org.h2.mvstore.MVMap.entrySet(MVMap.java:865)
    at org.h2.store.LobStorageMap.removeAllForTable(LobStorageMap.java:294)
    at org.h2.engine.Database.removeOrphanedLobs(Database.java:1302)
    at org.h2.engine.Database.close(Database.java:1223)
[catch] at org.h2.engine.DatabaseCloser.run(DatabaseCloser.java:63)

Original issue reported on code.google.com by sebast...@jaenicke.org on 11 Mar 2015 at 4:39

GoogleCodeExporter commented 9 years ago
Missing OSGi import in own module. Please close.

Original comment by sebast...@jaenicke.org on 11 Mar 2015 at 4:58

GoogleCodeExporter commented 9 years ago

Original comment by noelgrandin on 12 Mar 2015 at 6:20