"IE 浏览器访问没有问题,但是移动端的浏览器访问就异常。部署项目下面 /skins/mobile 也在。后台 log 异常如下: [ERROR]-[2018-09-24 21:23:07]-[org.b3log.latke.servlet.HttpControl:104]: Request [method=GET, U .."

移动端访问异常

本贴最后更新于 240 天前,其中的信息可能已经时移世异

IE 浏览器访问没有问题,但是移动端的浏览器访问就异常。部署项目下面 /skins/mobile 也在。后台 log 异常如下:

[ERROR]-[2018-09-24 21:23:07]-[org.b3log.latke.servlet.HttpControl:104]: Request [method=GET, URL=https://blog.junxworks.cn/, contentType=null, characterEncoding=UTF-8, local=[ addr=172.18.38.102, port=443, name=junx], remote=[addr=119.86.130.228, port=8099, host=119.86.130.228], headers=[ host=blog.junxworks.cn connection=keep-alive accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 user-agent=Mozilla/5.0 (Linux; U; Android 8.0.0; zh-cn; BND-AL10 Build/HONORBND-AL10) AppleWebKit/537.36 (KHTML, like Gecko) MQQBrowser/7.3 Chrome/37.0.0.0 Mobile Safari/537.36 accept-encoding=gzip, deflate accept-language=zh-CN,en-US;q=0.8 cookie=JSESSIONID=2D2704736B0217CE3A6B77B1F48EF14A ] ] processing failed java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.b3log.latke.servlet.handler.MethodInvokeHandler.handle(MethodInvokeHandler.java:58) at org.b3log.latke.servlet.HttpControl.nextHandler(HttpControl.java:99) at org.b3log.latke.servlet.handler.AdviceHandler.handle(AdviceHandler.java:108) at org.b3log.latke.servlet.HttpControl.nextHandler(HttpControl.java:99) at org.b3log.latke.servlet.handler.ArgsHandler.handle(ArgsHandler.java:60) at org.b3log.latke.servlet.HttpControl.nextHandler(HttpControl.java:99) at org.b3log.latke.servlet.handler.RequestDispatchHandler.handle(RequestDispatchHandler.java:93) at org.b3log.latke.servlet.HttpControl.nextHandler(HttpControl.java:99) at org.b3log.latke.servlet.handler.RequestPrepareHandler.handle(RequestPrepareHandler.java:45) at org.b3log.latke.servlet.HttpControl.nextHandler(HttpControl.java:99) at org.b3log.latke.servlet.handler.StaticResourceHandler.handle(StaticResourceHandler.java:119) at org.b3log.latke.servlet.HttpControl.nextHandler(HttpControl.java:99) at org.b3log.latke.servlet.DispatcherServlet.service(DispatcherServlet.java:84) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.b3log.solo.filter.InitCheckFilter.doFilter(InitCheckFilter.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.b3log.solo.filter.PermalinkFilter.doFilter(PermalinkFilter.java:93) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.b3log.latke.servlet.filter.EncodingFilter.doFilter(EncodingFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:409) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:434) at java.util.Properties.load0(Properties.java:353) at java.util.Properties.load(Properties.java:341) at org.b3log.solo.util.Skins.fillLangs(Skins.java:102) at org.b3log.solo.processor.IndexProcessor.showIndex(IndexProcessor.java:152) at org.b3log.solo.processor.IndexProcessor_$$_jvst60d_41.d8showIndex(IndexProcessor$$jvst60d_41.java)at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.b3log.latke.ioc.bean.JavassistMethodHandler.invoke(JavassistMethodHandler.java:106) at org.b3log.solo.processor.IndexProcessor$$jvst60d_41.showIndex(IndexProcessor$$_jvst60d_41.java)… 47 more [ERROR]-[2018-09-24 21:23:07]-[org.b3log.latke.servlet.renderer.freemarker.AbstractFreeMarkerRenderer:116]: Not found template[index.ftl]

  • Solo

    Solo 是一款小而美的开源博客系统,专为程序员设计。

    Solo 有着非常活跃的社区,可将文章作为帖子推送到社区,来自社区的回帖将作为博客评论进行联动。

    这是一种全新的网络社区体验,让热爱记录和分享的你不再感到孤单!
    具体细节请浏览 B3log 构思

    607 引用 • 4682 回帖 • 721 关注
  • Q&A

    提问之前请先看一下这篇文章 《提问的智慧》精读注解版,好的问题比好的答案更有价值。

    937 引用 • 5878 回帖 • 607 关注
感谢    关注    收藏    赞同    反对    举报    分享
3 回帖    
请输入回帖内容...
  • solemichael   1 感谢      

    知道怎么回事了,solo.properties 中配置了 mobile 的皮肤,默认是 next,配置成自己在用的皮肤即可

       感谢    赞同    反对    举报    折叠    分享    评论    回复
  • aq1188      

    没用移动端 ~

       感谢    赞同    反对    举报    折叠    分享    评论    回复
  • PalmerLx      

    受教了

       感谢    赞同    反对    举报    折叠    分享    评论    回复