Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Similar Issues:
    None

Description

Exception shown:

org.apache.commons.beanutils.ConversionException: The endpoint "file:./test-data
/samples/errorhandler/exceptions" is malformed can cannot be parsed
at org.mule.config.converters.EndpointURIConverter.convert(EndpointURICo
nverter.java:69)
at org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:3
79)
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:999
)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
.java:259)
at org.mule.config.builders.MuleXmlConfigurationBuilder$MuleSetPropertie
sRule.begin(MuleXmlConfigurationBuilder.java:1356)
at org.apache.commons.digester.Digester.startElement(Digester.java:1273)

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)

at org.apache.commons.digester.Digester.parse(Digester.java:1586)
at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXm
lConfigurationBuilder.java:263)
at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXm
lConfigurationBuilder.java:250)
at org.mule.MuleServer.initialize(MuleServer.java:236)
at org.mule.MuleServer.run(MuleServer.java:167)
at org.mule.MuleServer.start(MuleServer.java:155)
at org.mule.MuleServer.main(MuleServer.java:130)
Caused by: org.mule.umo.endpoint.MalformedEndpointException: The endpoint "file:
./test-data/samples/errorhandler/exceptions" is malformed can cannot be parsed
at org.mule.impl.endpoint.MuleEndpointURI.<init>(MuleEndpointURI.java:11
1)
at org.mule.config.converters.EndpointURIConverter.convert(EndpointURICo
nverter.java:65)
... 27 more
2005-6-9 16:55:37 org.mule.MuleServer shutdown
??:
********************************************************************************

Message : Failed to parse configuration resource "../conf/mule-config.x
ml"
Type : org.mule.config.ConfigurationException
Code : 13139
JavaDoc : http://mule.codehaus.org/docs/apidocs/org/mule/config/Configu
rationException.html
********************************************************************************

Exception stack is:
1. Error at (100, -1: The endpoint "file:./test-data/samples/errorhandler/except
ions" is malformed can cannot be parsed (org.xml.sax.SAXParseException)
org.apache.commons.digester.Digester:2540 (null)
2. Failed to parse configuration resource "../conf/mule-config.xml" (org.mule.co
nfig.ConfigurationException)
org.mule.config.builders.MuleXmlConfigurationBuilder:265 (http://mule.codehaus
.org/docs/apidocs/org/mule/config/ConfigurationException.html)
********************************************************************************

Root Exception stack trace:
org.apache.commons.beanutils.ConversionException: The endpoint "file:./test-data
/samples/errorhandler/exceptions" is malformed can cannot be parsed
at org.apache.commons.digester.Digester.createSAXException(Digester.java
:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java
:2566)
at org.apache.commons.digester.Digester.startElement(Digester.java:1276)

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)

at org.apache.commons.digester.Digester.parse(Digester.java:1586)
at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXm
lConfigurationBuilder.java:263)
at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXm
lConfigurationBuilder.java:250)
at org.mule.MuleServer.initialize(MuleServer.java:236)
at org.mule.MuleServer.run(MuleServer.java:167)
at org.mule.MuleServer.start(MuleServer.java:155)
at org.mule.MuleServer.main(MuleServer.java:130)

********************************************************************************

2005-6-9 16:55:37 org.mule.MuleServer shutdown
??:
********************************************************************************

  • A Fatal error has occurred while the server was running: *
  • Error at (100, -1: The endpoint "file:./test-data/samples/errorhandler/excep *
  • tions" is malformed can cannot be parsed (org.xml.sax.SAXParseException) *
  • *
  • The error is fatal, the system must shutdown. *
  • Server started: 69-12-31 ??7:00
    *
  • Server shutdown: Thu Jun 09 16:55:37 EDT 2005 *

********************************************************************************

Note that the "file:./test-data/samples/errorhandler/exceptions" is not correct. Change it to "file:./test-data/exceptions", but it still doesn't work. The /test-data/exceptions folder is empty.

Activity

Hide
Andrew Perepelytsya added a comment -

John, can you try to run your config with the latest builds (available at http://www.muleumo.org/dist/nightly). I know of at least 2 committed bug fixes related to this stacktrace.

If it works ok, the problem is gone

Show
Andrew Perepelytsya added a comment - John, can you try to run your config with the latest builds (available at http://www.muleumo.org/dist/nightly). I know of at least 2 committed bug fixes related to this stacktrace. If it works ok, the problem is gone
Hide
Bryan Williams added a comment -

John,
In the mule-config.xml try changing the line
<endpoint address="file:./test-data/samples/errorhandler/exceptions" transformers="ErrorMessageToExceptionBean ExceptionBeanToXML">
to
<endpoint address="file://../test-data/exceptions" transformers="ErrorMessageToExceptionBean ExceptionBeanToXML">

It seemed to get me by that problem but I can't be sure if it works yet because I ran into another
configuration issue. I think the absence of the '//' after 'file:' is what causes it to say it is malformed.
Thanks,

Bryan

Show
Bryan Williams added a comment - John, In the mule-config.xml try changing the line <endpoint address="file:./test-data/samples/errorhandler/exceptions" transformers="ErrorMessageToExceptionBean ExceptionBeanToXML"> to <endpoint address="file://../test-data/exceptions" transformers="ErrorMessageToExceptionBean ExceptionBeanToXML"> It seemed to get me by that problem but I can't be sure if it works yet because I ran into another configuration issue. I think the absence of the '//' after 'file:' is what causes it to say it is malformed. Thanks, Bryan
Hide
Andrew Perepelytsya added a comment -

Recollecting my memories, I'm sure the scheme specifier mandates the form of <scheme>:// . That is what test cases assert and Mule internals expect.

Show
Andrew Perepelytsya added a comment - Recollecting my memories, I'm sure the scheme specifier mandates the form of <scheme>:// . That is what test cases assert and Mule internals expect.
Hide
Ross Mason added a comment -

Thanks for reporting.

This is now fixed.

Show
Ross Mason added a comment - Thanks for reporting. This is now fixed.

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: