[
https://jira.jboss.org/jira/browse/DNA-484?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-484:
--------------------------------
Attachment: DNA-484.patch
Attached patch that makes StringUtil.createString(...) wraps array parameters with a list
to pretty-print them.
Repository Startup Errors Use String[].toString() in Error Message
------------------------------------------------------------------
Key: DNA-484
URL:
https://jira.jboss.org/jira/browse/DNA-484
Project: DNA
Issue Type: Bug
Components: Graph
Affects Versions: 0.5
Reporter: Brian Carothers
Priority: Minor
Fix For: 0.6
Attachments: DNA-484.patch
If one attempts to create a repository based on a source that is not in the classpath and
one applies the patch to expose the startup problems, one will get a message like this:
ERROR: Unable to load class
"org.jboss.dna.graph.connector.jbosscache.JBossCacheSource" using classpath
"[Ljava.lang.String;@9444d1" (threw
org.jboss.dna.graph.connector.jbosscache.JBossCacheSource)
The classpath String[] argument is being printed directly instead of being converted to a
list first to handle the pretty-printing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira