23:22:36.511 [http-nio-9999-exec-3]错误net.sourceforge.tess4j.Tesseract - null java.lang.NullPointerException:null at net.sourceforge.tess4j.util.PdfUtilities.convertPdf2Png(PdfUtilities.java :107)net.sourceforge.tess4j.util.PdfUtilities.convertPdf2Tiff(PdfUtilities.java:48)at net.sourceforge.tess4j.util.ImageIOHelper.getIIOImageList(ImageIOHelper.java:343)at net.sourceforge.tess4j.Tesseract . doOCR(Tesseract.java:213)位于com.sta.Opd.d. com.tapd.server.api.WebAPIService.updateParentIrsForm(WebAPIService.java:250)中的.uploadIRSImage(IRSHandler.java:65)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown)来自)org.glassfish.jersey.server.model.internal.ResourceMethodI的java.lang.reflect.Method.invoke(未知来源)的sun.reflect.DelegatingMethodAccessorImpl.invoke(未知来源)位于org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher $ 1.run(AbstractJavaResourceMethodDispatcher.java:144)的orv.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher的nvocationHandlerFactory $ 1.invoke(ResourceMethodInvocationHandlerFactory.java:81) . 在org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider $ responseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch上调用(AbstractJavaResourceMethodDispatcher.java:161)在org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)的org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)org上的AbstractJavaResourceMethodDispatcher.java:99) org.glassfish.jersey.server.ServerRuntime $ 2.run上的.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) rRuntime.java:309)org.glassfish.jersey.internal.Errors $ 1.call(Errors.java:271)org.glassfish.jersey.internal.Errors $ 1.call(Errors.java:267)at org.glassfish .gersey.internal.Errors.process(Errors.java:315)位于org.glassfish.jersey.internal.Errors.process(Errors.java:297)org.glassfish.jersey.internal.Errors.process(Errors.java) :267)位于org.glassfish.jersey的org.glassfish.jersey.jersey . 服务器上的org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292)的org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) . server.ApplicationHandler.handle(ApplicationHandler.java:1139)org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:460)org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)在Org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334)org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (应用A nFilterChain.java:230)org.apache上的org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)中的.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java) :198)org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)org.apache.catalina.core . org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)上的StandardHostValve.invoke(StandardHostValve.java:140)位于org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)的org org.apache中的.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) . catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)at atorg.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)org.apache.coyote.AbstractProtocol $ ConnectionHandler.process(AbstractProtocol . java:785)at org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun(NioEndpoint.java:1425)at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)at java位于org.apache.tomcat.util.threads.TaskThread的$ java.util.concurrent.ThreadPoolExecutor $ Worker.run(未知来源)的.util.concurrent.ThreadPoolExecutor.runWorker(未知来源)$ WrappingRunnable.run(TaskThread.java:61 )java.lang.Thread.run(Unknown Source)[2016-09-14 23:22:36,512] [ERROR] java.lang.NullPointerException

GitHub 加速计划 / te / tesseract
11
3
下载
tesseract-ocr/tesseract: 是一个开源的光学字符识别(OCR)引擎,适用于从图像中提取和识别文本。特点是可以识别多种语言,具有较高的识别准确率,并且支持命令行和API调用。
最近提交(Master分支:3 个月前 )
dcb2ef91 add info about using egorpugin/tessdata tessdata_unittest 5 天前
2a944fbe - 7 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐