Buggy code:
) public Response getAllApps ( @ ApiParam ( value = "Search<seq2seq4repair_space>query<seq2seq4repair_space>parameter<seq2seq4repair_space>for<seq2seq4repair_space>name<seq2seq4repair_space>and<seq2seq4repair_space>tag" , required = false ) @ QueryParam ( "search" ) String search , @ ApiParam ( value = "Page<seq2seq4repair_space>number" , required = false ) @ DefaultValue ( "1" ) @ QueryParam ( "page" ) int page , @ ApiParam ( value = "Number<seq2seq4repair_space>of<seq2seq4repair_space>apps<seq2seq4repair_space>by<seq2seq4repair_space>page" , required = false ) @ DefaultValue ( "-1" ) @ HeaderParam ( "pageLength" ) int pageLength , @ ApiParam ( value = "Sort<seq2seq4repair_space>by<seq2seq4repair_space>field" , required = false , allowableValues = "name,platform,rating,dateCreated,dateModified,random" ) @ DefaultValue ( "name" ) @ QueryParam ( "sortBy" ) String sortBy , @ ApiParam ( value = "Order<seq2seq4repair_space>asc<seq2seq4repair_space>or<seq2seq4repair_space>desc" , required = false , allowableValues = "asc,desc" ) @ DefaultValue ( "asc" ) @ QueryParam ( "order" ) String order , @ ApiParam ( value = "Filter<seq2seq4repair_space>by<seq2seq4repair_space>field<seq2seq4repair_space>:<seq2seq4repair_space>platform,<seq2seq4repair_space>creator,<seq2seq4repair_space>minRating,<seq2seq4repair_space>minDateCreated<seq2seq4repair_space>,minDateModified.<seq2seq4repair_space>Multiple<seq2seq4repair_space>fields<seq2seq4repair_space>can<seq2seq4repair_space>be<seq2seq4repair_space>used<seq2seq4repair_space>with<seq2seq4repair_space>;<seq2seq4repair_space>as<seq2seq4repair_space>separator." , required = false ) @ QueryParam ( "filterBy" ) String filterBy , @ ApiParam ( value = "Filter<seq2seq4repair_space>value.<seq2seq4repair_space>When<seq2seq4repair_space>using<seq2seq4repair_space>multiple<seq2seq4repair_space>filters,<seq2seq4repair_space>values<seq2seq4repair_space>can<seq2seq4repair_space>be<seq2seq4repair_space>separated<seq2seq4repair_space>by<seq2seq4repair_space>;<seq2seq4repair_space>" , required = false ) @ QueryParam ( "filterValue" ) String filterValue ) { } @ GET @ Path ( "//{id}" ) @ Produces ( MediaType . APPLICATION_JSON ) @ ApiOperation ( value = "Get<seq2seq4repair_space>app<seq2seq4repair_space>by<seq2seq4repair_space>ID" , response = App . class ) @ ApiResponses ( { @ ApiResponse ( code = HttpStatusCode . OK , message = "Default<seq2seq4repair_space>return<seq2seq4repair_space>message" ) , @ ApiResponse ( code = HttpStatusCode . NOT_FOUND , message = "App<seq2seq4repair_space>not<seq2seq4repair_space>found" ) , @ ApiResponse ( code = HttpStatusCode . INTERNAL_SERVER_ERROR , message = "Internal<seq2seq4repair_space>server<seq2seq4repair_space>problems" ) } ) public Response getApp ( @ PathParam ( "id" ) Long id ) { } @ POST @ Produces ( MediaType . APPLICATION_JSON ) @ Consumes ( MediaType . APPLICATION_JSON ) @ ApiOperation ( value = "Create<seq2seq4repair_space>app" , response = App . class ) @ ApiResponses ( { @ ApiResponse ( code = HttpStatusCode . CREATED , message = "App<seq2seq4repair_space>successful<seq2seq4repair_space>created" ) , @ ApiResponse ( code = HttpStatusCode . UNAUTHORIZED , message = "Invalid<seq2seq4repair_space>authentication" ) , @ ApiResponse ( code = HttpStatusCode . INTERNAL_SERVER_ERROR , message = "Internal<seq2seq4repair_space>server<seq2seq4repair_space>problems" ) } ) public Response createApp ( @ HeaderParam ( "accessToken" ) String accessToken , @ ApiParam ( value = "App<seq2seq4repair_space>entity<seq2seq4repair_space>as<seq2seq4repair_space>JSON" , required = true ) App createdApp ) { } @ DELETE @ Path ( "//{id}" ) @ ApiOperation ( "Delete<seq2seq4repair_space>app<seq2seq4repair_space>by<seq2seq4repair_space>ID" ) @ ApiResponses ( { @ ApiResponse ( code = HttpStatusCode . NO_CONTENT , message = "App<seq2seq4repair_space>successful<seq2seq4repair_space>deleted" ) , @ ApiResponse ( code = HttpStatusCode . UNAUTHORIZED , message = "Invalid<seq2seq4repair_space>authentication" ) , @ ApiResponse ( code = HttpStatusCode . NOT_FOUND , message = "App<seq2seq4repair_space>not<seq2seq4repair_space>found" ) } ) public Response deleteApp ( @ HeaderParam ( "accessToken" ) String accessToken , @ PathParam ( "id" ) Long id ) { } @ PUT @ Path ( "//{id}" ) @ Produces ( MediaType . APPLICATION_JSON ) @ Consumes ( MediaType . APPLICATION_JSON ) @ ApiOperation ( value = "Update<seq2seq4repair_space>app<seq2seq4repair_space>by<seq2seq4repair_space>ID" , response = App . class ) @ ApiResponses ( { @ ApiResponse ( code = HttpStatusCode . OK , message = "App<seq2seq4repair_space>successful<seq2seq4repair_space>updated" ) , @ ApiResponse ( code = HttpStatusCode . UNAUTHORIZED , message = "Invalid<seq2seq4repair_space>authentication" ) , @ ApiResponse ( code = HttpStatusCode . NOT_FOUND , message = "App<seq2seq4repair_space>not<seq2seq4repair_space>found" ) , @ ApiResponse ( code = HttpStatusCode . INTERNAL_SERVER_ERROR , message = "Internal<seq2seq4repair_space>server<seq2seq4repair_space>problems" ) } ) public Response updateApp ( @ HeaderParam ( "accessToken" ) String accessToken , @ PathParam ( "id" ) Long id , @ ApiParam ( value = "App<seq2seq4repair_space>entity<seq2seq4repair_space>as<seq2seq4repair_space>JSON" , required = true ) App updatedApp ) { List < App > apps = entitiyFacade . findByParam ( App . class , "id" , id ) ; App app = null ; if ( apps . isEmpty ( ) ) { return Response . status ( NOT_FOUND ) . build ( ) ; } else { app = apps . get ( 0 ) ; } if ( ! ( OIDCAuthentication . isCreatorOfApp ( app , accessToken ) ) ) { if ( ! ( OIDCAuthentication . isAdmin ( accessToken ) ) ) { return Response . status ( UNAUTHORIZED ) . build ( ) ; } } DozerBeanMapper dozerMapper = new DozerBeanMapper ( ) ; updatedApp . setRating ( app . getRating ( ) ) ; updatedApp . setCreator ( app . getCreator ( ) ) ; <START_BUG> updatedApp . setDateCreated ( null ) ; <END_BUG>

Fix:
updatedApp . setDateCreated ( app . getDateCreated ( ) ) ;