You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Levi Bowman (JIRA)" <ji...@apache.org> on 2017/02/17 15:57:42 UTC

[jira] [Commented] (BEAM-412) DisplayData is marked Serializable but contains non-serializable field

    [ https://issues.apache.org/jira/browse/BEAM-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872021#comment-15872021 ] 

Levi Bowman commented on BEAM-412:
----------------------------------

Do we want a PR for this?   In an attempt to resolve this ticket I added implements Serializeable to the nested classes Identifier, Path, and Item.  Added a test that creates a DisplayData and then serializes and deserializes.

> DisplayData is marked Serializable but contains non-serializable field
> ----------------------------------------------------------------------
>
>                 Key: BEAM-412
>                 URL: https://issues.apache.org/jira/browse/BEAM-412
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Scott Wegner
>            Assignee: Neelesh Srinivas Salian
>            Priority: Minor
>              Labels: findbugs, newbie, starter
>
> [FindBugs SE_BAD_FIELD|https://github.com/apache/incubator-beam/blob/58a029a06aea1030279e5da8f9fa3114f456c1db/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml#L304]: Non-transient non-serializable instance field in serializable class
> Applies to: [DisplayData.entries|https://github.com/apache/incubator-beam/blob/58a029a06aea1030279e5da8f9fa3114f456c1db/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/display/DisplayData.java#L58].
> This is a good starter bug. When fixing, please remove the corresponding entries from [findbugs-filter.xml|https://github.com/apache/incubator-beam/blob/master/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml] and verify the build passes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)