[MAGNOLIA-5663] IOC problems with JDK7 in combination with apps. Created: 10/Feb/14 Updated: 19/Dec/16 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 5.2.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Christian Ringele | Assignee: | Tobias Mattsson |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | ioc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 7 and JDK7 1.7.0_25 64bit. |
||
| Attachments: |
|
| 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 |
|
In the training we use the helloworld app as described in the documentation: The code worked without problems in various trainings. Last training 2 participants used JDK7 instead of JDK6 in Eclipse. Both running on Windows 7. I assume that the compiling with JDK7 is the source of the problem, as they used the JDK7 for runtime all week before. Any Magnolia App requests the View in the presenter by IOC, but only when they used their first IDE compiled app it didn't work anymore. The problem is triggered: |
| Comments |
| Comment by Christian Ringele [ 11/Feb/14 ] |
|
Tobias & me discussed this problem. |
| Comment by Christian Ringele [ 03/Mar/14 ] |
|
Additional Infos: |
| Comment by Sunil KUMAR [ 22/Apr/14 ] |
|
I have similar/related problem. After integrating spring security , the sample project throws error when I get to activations page on adminCentral. I DO not have this issue for sample project with out spring security integration. I have attached the trace file springsecurity_integration_activation_page. |
| Comment by Sunil KUMAR [ 22/Apr/14 ] |
|
Just to be clear, the problem is not due to spring security but due to version difference. The plane sample webapp runs well has java 1.6 and the one with spring security and java 1.7 doesn't run. So evidently its due to java version. |
| Comment by Jan Haderka [ 22/Apr/14 ] |
|
Most likely related to difference in matching primitive array types - see https://code.google.com/p/google-guice/issues/detail?id=715 |