On Monday 18 August 2014 13:38:15 Carsten Ziegeler wrote:
> Oliver, could you please revert your -1? Tika is not required and the
> bundle runs without it, the Tika provider does not run, but that's
> expected  - and I think this has already been the case for 2.1.4. So no new
> requirements for this bundle.

There is a problem with 2.1.6 as it throws the exception when running the 
tests for Karaf - but I withdraw my vote as I do currently have no time to 
investigate further.

O.

> Thanks
> Carsten
> 
> 2014-08-18 12:44 GMT+02:00 Carsten Ziegeler <cziege...@apache.org>:
> > Hmm, org.apache.tika.mime;resolution:=optional;version="[1.0,2)
> > 
> > 
> > 2014-08-17 19:24 GMT+02:00 Oliver Lietz <apa...@oliverlietz.de>:
> > 
> > On Tuesday 12 August 2014 08:37:18 Carsten Ziegeler wrote:
> >> > Hi,
> >> > 
> >> > in order to get Launchpad 7 out, this is a vote to release
> >> > 
> >> > Commons Mime 2.1.6
> >> > https://issues.apache.org/jira/browse/SLING/fixforversion/12314795
> >> > <https://issues.apache.org/jira/browse/SLING/fixforversion/12326055>
> >> 
> >> -1 as Commons Mime now depends also on Tika[1] and this should be
> >> reflected in
> >> the version
> >> 
> >> > Commons OSGi 2.2.2
> >> > https://issues.apache.org/jira/browse/SLING/fixforversion/12323512
> >> > <https://issues.apache.org/jira/browse/SLING/fixforversion/12316095>
> >> 
> >> +1
> >> 
> >> O.
> >> 
> >> 
> >> [1]:
> >> 
> >> 2014-08-17 17:55:24,354 | ERROR | FelixStartLevel  | mime
> >> 
> >> | 118 - org.apache.sling.commons.mime - 2.1.6 |
> >> 
> >> [org.apache.sling.commons.mime.internal.TikaMimeTypeProvider(21)] Error
> >> during
> >> instantiation of the implementation object
> >> java.lang.NoClassDefFoundError: org/apache/tika/mime/MimeTypeException
> >> 
> >>         at java.lang.Class.getDeclaredConstructors0(Native
> >> 
> >> Method)[:1.6.0_65]
> >> 
> >>         at
> >>         java.lang.Class.privateGetDeclaredConstructors(Class.java:2446)
> >> 
> >> [:1.6.0_65]
> >> 
> >>         at java.lang.Class.getConstructor0(Class.java:2756)[:1.6.0_65]
> >>         at java.lang.Class.newInstance0(Class.java:328)[:1.6.0_65]
> >>         at java.lang.Class.newInstance(Class.java:310)[:1.6.0_65]
> >> 
> >> [...]
> >> Caused by: java.lang.ClassNotFoundException:
> >> org.apache.tika.mime.MimeTypeException not found by
> >> org.apache.sling.commons.mime [118]
> >> 
> >>         at
> >> 
> >> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegat
> >> ion(BundleWiringImpl.java:1532) [org.apache.felix.framework-4.2.1.jar:]
> >> 
> >>         at
> >> 
> >> org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.
> >> java:75) [org.apache.felix.framework-4.2.1.jar:]
> >> 
> >>         at
> >> 
> >> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(
> >> BundleWiringImpl.java:1955)
> >> 
> >>         at
> >> 
> >> java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_65]
> >> 
> >>         ... 59 more
> >> 
> >> 2014-08-17 17:55:24,356 | ERROR | FelixStartLevel  | mime
> >> 
> >> | 118 - org.apache.sling.commons.mime - 2.1.6 |
> >> 
> >> [org.apache.sling.commons.mime.internal.TikaMimeTypeProvider(21)] Failed
> >> creating the component instance; see log for reason
> > 
> > --
> > Carsten Ziegeler
> > Adobe Research Switzerland
> > cziege...@apache.org

Reply via email to