cfdocument broken after upgrade 4.5 to 5

Description

After upgrading the lucee from 4.5 to 5.0.1.85 or 5.1.1.34, the following error is the log:

"ERROR","ajp-nio-8009-exec-1","12/12/2016","21:38:51","","OSGi;Unresolved constraint in bundle org.apache.pdfbox [97]: Unable to resolve 97.0: missing requirement [97.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.fontbox.a
fm)(version>=1.8.0)(!(version>=2.0.0)));org.osgi.framework.BundleException: Unresolved constraint in bundle org.apach
e.pdfbox [97]: Unable to resolve 97.0: missing requirement [97.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.fontbox.afm)(version>=1.8.0)(!(version>=2.0.0)))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2114)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964)
at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:130)
at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:787)
at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:742)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:400)
at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:773)
at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:742)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:400)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:132)
at lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:80)
at lucee.runtime.tag.TagHandlerPool.loadTag(TagHandlerPool.java:86)
at lucee.runtime.tag.TagHandlerPool.use(TagHandlerPool.java:57)
at lucee.runtime.PageContextImpl.use(PageContextImpl.java:2638)
at ags_print_cfm$cf.call(/pdf/ags_print.cfm:43)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:891)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
"

The PDF Extension is on the latest version: 1.0.0.54 (with installed pdfbox 1.8.9)

The created pdf has no fonts and no css.

Environment

linux ubuntu 16.04

Assignee

Michael Offner

Reporter

Michael Diederich

Priority

Blocker

Labels

Fix versions

Affects versions

Configure