geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (GEODE-3149) Protobuf protocol module will throw exceptions on some input
Date Fri, 10 Nov 2017 23:58:00 GMT


ASF GitHub Bot commented on GEODE-3149:

pivotal-jbarrett commented on a change in pull request #148: GEODE-3149: Removing the VectorT.hpp
header file and typedefs

 File path: clicache/src/LocalRegion.cpp
 @@ -893,7 +893,7 @@ namespace Apache
         _GF_MG_EXCEPTION_TRY2/* due to auto replace */
-			std::vector<std::shared_ptr<apache::geode::client::RegionEntry>> vc;
 Review comment:
   Your editor is using TAB not SPACE.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Protobuf protocol module will throw exceptions on some input
> ------------------------------------------------------------
>                 Key: GEODE-3149
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>            Reporter: Brian Rowe
>             Fix For: 1.3.0
> The protobuf protocol handler needs to be able to handle any input on the incoming socket
without crashing.  
> Right now closing the socket will cause a crash as we try to process a message from the
empty stream (the bug here might be that the server connection shouldn't be trying to process
a message here, but the protocol deserialization still needs to have much better error handling).
> {code:java}
> severe 2017/06/28 13:50:55.565 PDT <ServerConnection on port 22514 Thread 0> tid=0x31]
Uncaught exception in thread Thread[ServerConnection on port 22514 Thread 0,5,ServerConnection
on port 22514]
> java.lang.NullPointerException
> 	at org.apache.geode.protocol.protobuf.ProtobufStreamProcessor.processOneMessage(
> 	at org.apache.geode.protocol.protobuf.ProtobufStreamProcessor.receiveMessage(
> 	at org.apache.geode.internal.cache.tier.sockets.GenericProtocolServerConnection.doOneMessage(
> 	at
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(
> 	at java.util.concurrent.ThreadPoolExecutor$
> 	at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl$1$
> 	at
> {code}

This message was sent by Atlassian JIRA

View raw message