Tag

BeanCopier

0 views collected around this technical thread.

JD Tech
JD Tech
Jul 1, 2024 · Backend Development

Resolving NullPointerException in BeanCopier Caused by Lombok @Accessors(chain=true)

This article analyzes a NullPointerException triggered by Lombok's @Accessors(chain=true) when using BeanCopier, explains how the altered setter return type prevents JDK Introspector from recognizing write methods, and provides two practical solutions to fix the issue.

BeanCopierIntrospectorLombok
0 likes · 9 min read
Resolving NullPointerException in BeanCopier Caused by Lombok @Accessors(chain=true)
Java Architecture Diary
Java Architecture Diary
Mar 22, 2019 · Backend Development

Boost Java Performance with Cglib BeanCopier: Fast Bean Copy Techniques

This article introduces the high‑performance Cglib BeanCopier used in the Mica microservice framework, compares its speed with other bean‑copy tools, demonstrates usage with Spring and Lombok, explains the underlying ASM bytecode generation, and discusses current limitations such as lack of chainable beans and primitive‑wrapper handling.

BeanCopierCGLIBPerformance
0 likes · 7 min read
Boost Java Performance with Cglib BeanCopier: Fast Bean Copy Techniques