[MAGNOLIA-1463] Content2BeanTransformerImpl compilation failure Created: 15/Apr/07  Updated: 23/Jan/13  Resolved: 16/Apr/07

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 3.1 M1
Fix Version/s: 3.1 M1

Type: Bug Priority: Major
Reporter: Oliver Lietz Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File Content2BeanTransformerImpl.java.diff    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

[INFO] ----------------------------------------------------------------------------
[INFO] Building magnolia-core
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[...]
[INFO] [compiler:compile]
Compiling 215 source files to [...]/magnolia/magnolia-core/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

[...]/magnolia/magnolia-core/src/main/java/info/magnolia/content2bean/Content2BeanTransformerImpl.java:[332,16] invoke(java.lang.Object,java.lang.Object...) in java.lang.reflect.Method cannot be applied to (java.lang.Object)

fix for missing argument attached



 Comments   
Comment by Magnolia International [ 16/Apr/07 ]

Nice catch - this wasn't visible in our IDEs since the param is a vararg in java5

Generated at Mon Feb 12 03:27:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.