View Issue Details

IDProjectCategoryView StatusLast Update
0003091SymmetricDSBugpublic2019-02-27 13:52
Reportergwilmer Assigned Tochenson  
Status closedResolutionfixed 
Product Version3.8.22 
Target Version3.8.23Fixed in Version3.8.23 
Summary0003091: A corrupt batch being sent to a target results in a NullPointerException by load writing the batch to staging
DescriptionIf a source sends a corrupt batch to a target node, the target not can receive a NPE when trying to write the batch to staging.

2017-05-04 10:54:00,802 ERROR [sqlserver-002] [DataLoaderService] [qtp1182461167-21] Failed while parsing batch
    at org.jumpmind.symmetric.service.impl.DataLoaderService.loadDataFromTransport(
    at org.jumpmind.symmetric.service.impl.DataLoaderService.loadDataFromPush(
    at org.jumpmind.symmetric.web.PushUriHandler.push(
    at org.jumpmind.symmetric.web.PushUriHandler.handle(
    at org.jumpmind.symmetric.web.SymmetricServlet.service(
    at javax.servlet.http.HttpServlet.service(
    at org.eclipse.jetty.servlet.ServletHolder.handle(
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
    at org.jumpmind.symmetric.web.HttpMethodFilter.doFilter(
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
    at org.eclipse.jetty.servlet.ServletHandler.doScope(
    at org.eclipse.jetty.server.session.SessionHandler.doScope(
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
    at org.eclipse.jetty.server.Server.handle(
    at org.eclipse.jetty.server.HttpChannel.handle(
    at org.eclipse.jetty.server.HttpConnection.onFillable(
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
    at org.eclipse.jetty.util.thread.QueuedThreadPool$
    at Source)
Additional InformationIn the final else condition of SimpleStagingDataWriter (line 176 on 3.8.22), it doesn't appear that the writer is ever initialized before attempting to write the corrupt batch to the staging file. We probably shouldn't write the corrupt batch to staging anyway.
TagsNo tags attached.


has duplicate 0003309 closedadmin [main] - DataLoaderService - Failed while parsing batch java.lang.NullPointerException 


There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.8 4cad9340

2017-05-04 12:08:04


Details Diff
0003091: A corrupt batch being sent to a target results in a
NullPointerException by load writing the batch to staging
Affected Issues
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/data/writer/ Diff File

Issue History

Date Modified Username Field Change
2017-05-04 13:28 gwilmer New Issue
2017-05-04 14:51 chenson Assigned To => chenson
2017-05-04 14:51 chenson Status new => assigned
2017-05-04 14:51 chenson Product Version => 3.8.22
2017-05-04 14:51 chenson Target Version => 3.8.23
2017-05-04 16:08 chenson Status assigned => resolved
2017-05-04 16:08 chenson Fixed in Version => 3.8.23
2017-05-04 16:08 chenson Resolution open => fixed
2017-05-04 17:00 chenson42 Changeset attached => SymmetricDS 3.8 4cad9340
2017-05-04 17:41 chenson Status resolved => closed
2019-02-27 13:52 admin Relationship added has duplicate 0003309