[MGNLUI-3627] ReflectionsException from ClasspathScanner Created: 16/Oct/15 Updated: 16/Oct/15 Resolved: 16/Oct/15 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.4.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Simon Aebli | Assignee: | Unassigned |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 15.04 |
||
| Issue Links: |
|
||||
| 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 |
|
My Log file gets spammed with the following exception, probably because there is no UrlType defined for *.so files. org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found file:/usr/lib/x86_64-linux-gnu/jni/libatk-wrapper.so.0.0.13 |
| Comments |
| Comment by Richard Gange [ 16/Oct/15 ] |
|
FYI, those warnings are harmless and well known. In fact on 5.4 release notes, we advise to "double-check magnolia.properties and log4j.xml for latest changes". Jackrabbit configuration might also have updates, if you compare to a fresh 5.4 webapp. That said, do not worry, we have listing those with more details on 5.4.1 release notes. Meanwhile, here's the snippet: <!-- Reflections library spoils logs with harmless warnings; tries to look into native libs but none of its DefaultUrlTypes can handle them. --> <category name="org.reflections"> <priority value="ERROR" /> </category> Note: Adding commons-vfs2 doesn't solve it (or doesn't solve all warnings iirc), there are still some cases where the Reflections lib doesn't have a so-called matching UrlType, and throws these scary warnings. Finally, it happens on startup, not install, and has nothing to do with virtual URIs whatsoever. |
| Comment by Richard Gange [ 16/Oct/15 ] |
|
https://documentation.magnolia-cms.com/display/DOCS/Release+notes+for+Magnolia+5.4.1 |