com.alibaba.fastjson.JSONException: syntax error, pos 36, json : {packet:{smsType:USER_REGISTER}}

GitHub | suimi | 4 months ago
  1. 0

    spring mvc 中 FastJsonHttpMessageConverter对枚举类型的不支持

    GitHub | 4 months ago | suimi
    com.alibaba.fastjson.JSONException: syntax error, pos 36, json : {packet:{smsType:USER_REGISTER}}
  2. 0

    用getAttribute方法获取content-desc和name属性时报错

    GitHub | 1 month ago | xiaoxiao86
    com.alibaba.fastjson.JSONException: syntax error, pos 3, json : Not Implemented
  3. 0

    Android 真机测试waitForElement失败

    GitHub | 3 months ago | hujiachun
    com.alibaba.fastjson.JSONException: syntax error, pos 3, json : Not Found ```
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    最新的macaca-android驱动更新至1.0.27 后运行安卓浏览器脚本报错

    GitHub | 3 months ago | Archer456
    com.alibaba.fastjson.JSONException: syntax error, pos 1, json : Internal Server Error
  6. 0

    最新的macaca-android驱动更新至1.0.27 后运行安卓浏览器脚本报错

    GitHub | 3 months ago | Archer456
    com.alibaba.fastjson.JSONException: syntax error, pos 1, json : Internal Server Error

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.alibaba.fastjson.JSONException

      syntax error, pos 36, json : {packet:{smsType:USER_REGISTER}}

      at com.alibaba.fastjson.parser.DefaultJSONParser.parse()
    2. fastjson
      FastJsonHttpMessageConverter4.read
      1. com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1361)
      2. com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1268)
      3. com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:529)
      4. com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1302)
      5. com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1268)
      6. com.alibaba.fastjson.parser.DefaultJSONParser.parseExtra(DefaultJSONParser.java:1469)
      7. com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.parseField(JavaBeanDeserializer.java:655)
      8. com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:564)
      9. com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.parseRest(JavaBeanDeserializer.java:795)
      10. com.alibaba.fastjson.parser.deserializer.FastjsonASMDeserializer_1_SmsRequest.deserialze(Unknown Source)
      11. com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:185)
      12. com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:614)
      13. com.alibaba.fastjson.JSON.parseObject(JSON.java:339)
      14. com.alibaba.fastjson.JSON.parseObject(JSON.java:307)
      15. com.alibaba.fastjson.JSON.parseObject(JSON.java:270)
      16. com.alibaba.fastjson.JSON.parseObject(JSON.java:370)
      17. com.alibaba.fastjson.JSON.parseObject(JSON.java:452)
      18. com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter4.read(FastJsonHttpMessageConverter4.java:73)
      18 frames
    3. Spring MVC
      RequestResponseBodyMethodProcessor.resolveArgument
      1. org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(AbstractMessageConverterMethodArgumentResolver.java:197)
      2. org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:147)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:125)
      3 frames
    4. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:99)
      2. org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:161)
      3. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:128)
      3 frames
    5. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:817)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:731)
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)
      8. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:870)
      8 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
      1 frame
    7. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      1 frame
    9. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
      2 frames
    10. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    11. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
      1 frame
    12. Spring ORM
      OpenEntityManagerInViewFilter.doFilterInternal
      1. org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:178)
      1 frame
    13. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    14. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      14. org.eclipse.jetty.server.Server.handle(Server.java:370)
      15. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
      16. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
      17. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
      18. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
      19. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      20. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      20 frames
    15. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
      2 frames
    16. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      2 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame