com.google.protobuf.UninitializedMessageException: Message missing required fields: pct

JIRA | Yannick Marcon | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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
  4. 0

    Async Job Status not update.

    GitHub | 3 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: pct

      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
      CategoricalSummaryResource.get
      1. org.obiba.opal.web.model.Math$FrequencyDto$Builder.build(Math.java:1458)
      2. org.obiba.opal.web.model.Math$CategoricalSummaryDto$Builder.addFrequencies(Math.java:705)
      3. org.obiba.opal.web.magma.Dtos.asDto(Dtos.java:363)
      4. org.obiba.opal.search.es.EsStatsIndexManager$EsValueTableStatsIndex.indexSummary(EsStatsIndexManager.java:214)
      5. org.obiba.opal.search.es.EsStatsIndexManager$EsValueTableStatsIndex.indexSummary(EsStatsIndexManager.java:204)
      6. org.obiba.opal.web.magma.math.CategoricalSummaryResource.queryMagma(CategoricalSummaryResource.java:107)
      7. org.obiba.opal.web.magma.math.CategoricalSummaryResource.queryEs(CategoricalSummaryResource.java:79)
      8. org.obiba.opal.web.magma.math.CategoricalSummaryResource.get(CategoricalSummaryResource.java:55)
      8 frames
    4. Java RT
      GeneratedMethodAccessor170.invoke
      1. sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
      1 frame