org.jboss.resteasy.spi.ReaderException: com.google.protobuf.UninitializedMessageException: Message missing required fields: name

JIRA | Martin Boulanger | 6 years ago
  1. 0

    1) Data - Import 2) Select CSV and press Next 3) Select a file to upload and press Next 4) Select a datasource that has no table (so the destination table dropdown will be empty) 5) Press Next 010-09-10 15:23:59,182 - ERROR - core.SynchronousDispatcher - Failed executing POST /datasources org.jboss.resteasy.spi.ReaderException: com.google.protobuf.UninitializedMessageException: Message missing required fields: name at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:123) at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:93) at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:146) at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:114) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1219) at org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter$1.doInTransactionWithoutResult(OpalJettyServer.java:192) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter.doFilterInternal(OpalJettyServer.java:188) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) at org.obiba.opal.server.httpd.security.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:45) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:337) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1020) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:775) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:228) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:437) at java.lang.Thread.run(Unknown Source) Caused by: com.google.protobuf.UninitializedMessageException: Message missing required fields: name at com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:550) at org.obiba.opal.web.model.Magma$CsvDatasourceTableBundleDto$Builder.build(Magma.java:1376) at org.obiba.opal.web.model.Magma$CsvDatasourceTableBundleDto$Builder.build(Magma.java:1332) at com.google.protobuf.JsonFormat.handleObject(JsonFormat.java:1130) at com.google.protobuf.JsonFormat.handleValue(JsonFormat.java:996) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:940) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950) at com.google.protobuf.JsonFormat.handleObject(JsonFormat.java:1123) at com.google.protobuf.JsonFormat.handleValue(JsonFormat.java:996) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:944) at com.google.protobuf.JsonFormat.merge(JsonFormat.java:866) at com.google.protobuf.JsonFormat.merge(JsonFormat.java:832) at org.obiba.opal.web.ws.provider.ProtobufJsonReaderProvider.readFrom(ProtobufJsonReaderProvider.java:73) at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:105) at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:46) at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:108) at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:111) ... 44 more

    JIRA | 6 years ago | Martin Boulanger
    org.jboss.resteasy.spi.ReaderException: com.google.protobuf.UninitializedMessageException: Message missing required fields: name
  2. 0

    1) Data - Import 2) Select CSV and press Next 3) Select a file to upload and press Next 4) Select a datasource that has no table (so the destination table dropdown will be empty) 5) Press Next 010-09-10 15:23:59,182 - ERROR - core.SynchronousDispatcher - Failed executing POST /datasources org.jboss.resteasy.spi.ReaderException: com.google.protobuf.UninitializedMessageException: Message missing required fields: name at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:123) at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:93) at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:146) at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:114) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1219) at org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter$1.doInTransactionWithoutResult(OpalJettyServer.java:192) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter.doFilterInternal(OpalJettyServer.java:188) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) at org.obiba.opal.server.httpd.security.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:45) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:337) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1020) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:775) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:228) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:437) at java.lang.Thread.run(Unknown Source) Caused by: com.google.protobuf.UninitializedMessageException: Message missing required fields: name at com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:550) at org.obiba.opal.web.model.Magma$CsvDatasourceTableBundleDto$Builder.build(Magma.java:1376) at org.obiba.opal.web.model.Magma$CsvDatasourceTableBundleDto$Builder.build(Magma.java:1332) at com.google.protobuf.JsonFormat.handleObject(JsonFormat.java:1130) at com.google.protobuf.JsonFormat.handleValue(JsonFormat.java:996) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:940) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950) at com.google.protobuf.JsonFormat.handleObject(JsonFormat.java:1123) at com.google.protobuf.JsonFormat.handleValue(JsonFormat.java:996) at com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:944) at com.google.protobuf.JsonFormat.merge(JsonFormat.java:866) at com.google.protobuf.JsonFormat.merge(JsonFormat.java:832) at org.obiba.opal.web.ws.provider.ProtobufJsonReaderProvider.readFrom(ProtobufJsonReaderProvider.java:73) at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:105) at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:46) at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:108) at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:111) ... 44 more

    JIRA | 6 years ago | Martin Boulanger
    org.jboss.resteasy.spi.ReaderException: com.google.protobuf.UninitializedMessageException: Message missing required fields: name
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Async Job Status not update.

    GitHub | 2 years ago | chrisLeeTW
    com.google.protobuf.UninitializedMessageException: Message missing required fields: state

    3 unregistered visitors
    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.google.protobuf.UninitializedMessageException

      Message missing required fields: name

      at com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException()
    2. Protocol Buffer Java API
      AbstractMessage$Builder.newUninitializedMessageException
      1. com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:550)
      1 frame
    3. org.obiba.opal
      Magma$CsvDatasourceTableBundleDto$Builder.build
      1. org.obiba.opal.web.model.Magma$CsvDatasourceTableBundleDto$Builder.build(Magma.java:1376)
      2. org.obiba.opal.web.model.Magma$CsvDatasourceTableBundleDto$Builder.build(Magma.java:1332)
      2 frames
    4. Protocol Buffer Java API
      JsonFormat.merge
      1. com.google.protobuf.JsonFormat.handleObject(JsonFormat.java:1130)
      2. com.google.protobuf.JsonFormat.handleValue(JsonFormat.java:996)
      3. com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:940)
      4. com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950)
      5. com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950)
      6. com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950)
      7. com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:950)
      8. com.google.protobuf.JsonFormat.handleObject(JsonFormat.java:1123)
      9. com.google.protobuf.JsonFormat.handleValue(JsonFormat.java:996)
      10. com.google.protobuf.JsonFormat.mergeField(JsonFormat.java:944)
      11. com.google.protobuf.JsonFormat.merge(JsonFormat.java:866)
      12. com.google.protobuf.JsonFormat.merge(JsonFormat.java:832)
      12 frames
    5. org.obiba.opal
      ProtobufJsonReaderProvider.readFrom
      1. org.obiba.opal.web.ws.provider.ProtobufJsonReaderProvider.readFrom(ProtobufJsonReaderProvider.java:73)
      1 frame
    6. RESTEasy JAX-RS Implementation
      HttpServletDispatcher.service
      1. org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:105)
      2. org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:46)
      3. org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:108)
      4. org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:111)
      5. org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:93)
      6. org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:146)
      7. org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:114)
      8. org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)
      9. org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246)
      10. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214)
      11. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204)
      12. org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486)
      13. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463)
      14. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117)
      15. org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198)
      16. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48)
      17. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43)
      17 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    8. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1219)
      2 frames
    9. org.obiba.opal
      OpalJettyServer$TransactionFilter$1.doInTransactionWithoutResult
      1. org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter$1.doInTransactionWithoutResult(OpalJettyServer.java:192)
      1 frame
    10. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
      2. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      2 frames
    11. org.obiba.opal
      OpalJettyServer$TransactionFilter.doFilterInternal
      1. org.obiba.opal.server.httpd.OpalJettyServer$TransactionFilter.doFilterInternal(OpalJettyServer.java:188)
      1 frame
    12. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      1 frame
    13. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
      1 frame
    14. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      2 frames
    15. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
      1 frame
    16. org.obiba.opal
      AuthenticationFilter.doFilterInternal
      1. org.obiba.opal.server.httpd.security.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:45)
      1 frame
    17. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      1 frame
    18. Jetty
      HttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1190)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:424)
      3. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:931)
      4. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:361)
      5. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      7. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
      8. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
      9. org.eclipse.jetty.server.Server.handle(Server.java:337)
      10. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:581)
      11. org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1020)
      12. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:775)
      13. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:228)
      14. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:417)
      14 frames
    19. GWT dev
      SelectChannelEndPoint.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:474)
      1 frame
    20. Jetty
      QueuedThreadPool$2.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:437)
      1 frame
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame