Expand my Community achievements bar.

SOLVED

Maven SCR-plugin over version 1.7.4?

Avatar

Level 6

Hi,

is there anyone that has used the maven-scr-plugin and the org.apache.felix.scr.annotations higher than 1.7.4 with AEM5.6.1?

Whenever I try to step the version of the plugin or the annotation, I get the error "Bad type on operand stack in arraylength".

 

/Ove

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi,

no, it turned out to be a "I did more than one change at the time without knowing about it"-error. The faults we got when we changed the maven-scr-plugin was actually due to a Java 7 error. Our mocking framwork needed some extra parameters. Not it seems to be working.

/Ove

View solution in original post

3 Replies

Avatar

Level 10

I have sent an email about this subject. We will see if this is a known issue. 

Avatar

Employee

FWIW  - I just tried with plugin 1.9.0 w/ annotation 1.9.8 and didn't get this error.

Are you maybe using Java 8?

Avatar

Correct answer by
Level 6

Hi,

no, it turned out to be a "I did more than one change at the time without knowing about it"-error. The faults we got when we changed the maven-scr-plugin was actually due to a Java 7 error. Our mocking framwork needed some extra parameters. Not it seems to be working.

/Ove