org.mule.api.config.ConfigurationException: console0 (java.io.FileNotFoundException)

MuleSoft JIRA | Daniel Zapata | 8 years ago
  1. 0

    When I run the loanbroker bpm example on hpux I get the following error: The Loan Broker example is available in three flavors: 1. Loan Broker ESB 2. Loan Broker ESN 3. Loan Broker BPM Select the one you wish to execute and press Enter... 3 Running in console (foreground) mode by default, use Ctrl-C to exit... Running Mule Enterprise Edition... --> Wrapper Started as Console Java Service Wrapper Standard Edition 3.3.1 Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved. http://wrapper.tanukisoftware.org Licensed to MuleSource Inc for Mule ESB Enterprise Edition Launching a JVM... Valid license key --> Evaluation = true, Expiration Date = Sun Feb 08 00:00:00 EST 2009, Contact Name = MuleSource Support, Contact Email Address = support@mulesource.com, Contact Telephone = support@mulesource.com, Contact Company = MuleSource, Contact Country = US, Entitlements = Starting class org.mule.example.loanbroker.bpm.LoanBrokerApp... WrapperManager: Initializing... WrapperSimpleApp: WrapperSimpleApp: Encountered an error running main: WrapperSimpleApp: org.mule.api.config.ConfigurationException: console0 (java.io.FileNotFoundException) WrapperSimpleApp: at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:96) WrapperSimpleApp: at org.mule.config.builders.AbstractResourceConfigurationBuilder.<init>(AbstractResourceConfigurationBuilder.java:46) WrapperSimpleApp: at org.mule.config.spring.SpringXmlConfigurationBuilder.<init>(SpringXmlConfigurationBuilder.java:48) WrapperSimpleApp: at org.mule.example.loanbroker.AbstractLoanBrokerApp.getConfigBuilder(AbstractLoanBrokerApp.java:74) WrapperSimpleApp: at org.mule.example.loanbroker.AbstractLoanBrokerApp.init(AbstractLoanBrokerApp.java:55) WrapperSimpleApp: at org.mule.example.loanbroker.bpm.LoanBrokerApp.init(LoanBrokerApp.java:45) WrapperSimpleApp: at org.mule.example.loanbroker.AbstractLoanBrokerApp.<init>(AbstractLoanBrokerApp.java:47) WrapperSimpleApp: at org.mule.example.loanbroker.bpm.LoanBrokerApp.<init>(LoanBrokerApp.java:23) WrapperSimpleApp: at org.mule.example.loanbroker.bpm.LoanBrokerApp.main(LoanBrokerApp.java:31) WrapperSimpleApp: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) WrapperSimpleApp: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) WrapperSimpleApp: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) WrapperSimpleApp: at java.lang.reflect.Method.invoke(Method.java:585) WrapperSimpleApp: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:236) WrapperSimpleApp: at java.lang.Thread.run(Thread.java:595) WrapperSimpleApp: Caused by: java.io.FileNotFoundException: console0 WrapperSimpleApp: at org.mule.config.ConfigResource.<init>(ConfigResource.java:35) WrapperSimpleApp: at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:90) WrapperSimpleApp: ... 14 more <-- Wrapper Stopped

    MuleSoft JIRA | 8 years ago | Daniel Zapata
    org.mule.api.config.ConfigurationException: console0 (java.io.FileNotFoundException)
  2. 0

    When I run the loanbroker bpm example on hpux I get the following error: The Loan Broker example is available in three flavors: 1. Loan Broker ESB 2. Loan Broker ESN 3. Loan Broker BPM Select the one you wish to execute and press Enter... 3 Running in console (foreground) mode by default, use Ctrl-C to exit... Running Mule Enterprise Edition... --> Wrapper Started as Console Java Service Wrapper Standard Edition 3.3.1 Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved. http://wrapper.tanukisoftware.org Licensed to MuleSource Inc for Mule ESB Enterprise Edition Launching a JVM... Valid license key --> Evaluation = true, Expiration Date = Sun Feb 08 00:00:00 EST 2009, Contact Name = MuleSource Support, Contact Email Address = support@mulesource.com, Contact Telephone = support@mulesource.com, Contact Company = MuleSource, Contact Country = US, Entitlements = Starting class org.mule.example.loanbroker.bpm.LoanBrokerApp... WrapperManager: Initializing... WrapperSimpleApp: WrapperSimpleApp: Encountered an error running main: WrapperSimpleApp: org.mule.api.config.ConfigurationException: console0 (java.io.FileNotFoundException) WrapperSimpleApp: at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:96) WrapperSimpleApp: at org.mule.config.builders.AbstractResourceConfigurationBuilder.<init>(AbstractResourceConfigurationBuilder.java:46) WrapperSimpleApp: at org.mule.config.spring.SpringXmlConfigurationBuilder.<init>(SpringXmlConfigurationBuilder.java:48) WrapperSimpleApp: at org.mule.example.loanbroker.AbstractLoanBrokerApp.getConfigBuilder(AbstractLoanBrokerApp.java:74) WrapperSimpleApp: at org.mule.example.loanbroker.AbstractLoanBrokerApp.init(AbstractLoanBrokerApp.java:55) WrapperSimpleApp: at org.mule.example.loanbroker.bpm.LoanBrokerApp.init(LoanBrokerApp.java:45) WrapperSimpleApp: at org.mule.example.loanbroker.AbstractLoanBrokerApp.<init>(AbstractLoanBrokerApp.java:47) WrapperSimpleApp: at org.mule.example.loanbroker.bpm.LoanBrokerApp.<init>(LoanBrokerApp.java:23) WrapperSimpleApp: at org.mule.example.loanbroker.bpm.LoanBrokerApp.main(LoanBrokerApp.java:31) WrapperSimpleApp: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) WrapperSimpleApp: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) WrapperSimpleApp: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) WrapperSimpleApp: at java.lang.reflect.Method.invoke(Method.java:585) WrapperSimpleApp: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:236) WrapperSimpleApp: at java.lang.Thread.run(Thread.java:595) WrapperSimpleApp: Caused by: java.io.FileNotFoundException: console0 WrapperSimpleApp: at org.mule.config.ConfigResource.<init>(ConfigResource.java:35) WrapperSimpleApp: at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:90) WrapperSimpleApp: ... 14 more <-- Wrapper Stopped

    MuleSoft JIRA | 8 years ago | Daniel Zapata
    org.mule.api.config.ConfigurationException: console0 (java.io.FileNotFoundException)
  3. 0

    Unable to Run Munit 3.5 in Early access Anypoint studio

    GitHub | 2 years ago | gdssrao
    java.lang.RuntimeException: org.mule.api.config.ConfigurationException: MunitTestcase.java (java.io.FileNotFoundException)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to reproduce: Go to the scripting examples directory and run mvn All of the unit tests fail with this error: testAccumulator(org.mule.example.scripting.PythonDollarsScriptingExampleTestCase ) Time elapsed: 0 sec <<< ERROR! org.mule.api.config.ConfigurationException: change-machine.xml (java.io.FileNotF oundException) at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadCon figResources(AbstractResourceConfigurationBuilder.java:96) at org.mule.config.builders.AbstractResourceConfigurationBuilder.<init>( AbstractResourceConfigurationBuilder.java:46) at org.mule.config.spring.SpringXmlConfigurationBuilder.<init>(SpringXml ConfigurationBuilder.java:48) at org.mule.tck.FunctionalTestCase.getBuilder(FunctionalTestCase.java:44 ) at org.mule.tck.AbstractMuleTestCase.createMuleContext(AbstractMuleTestC ase.java:492) at org.mule.tck.AbstractMuleTestCase.setUp(AbstractMuleTestCase.java:435 ) at junit.framework.TestCase.runBare(TestCase.java:132) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:2 97) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:276) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner. java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet. java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes tSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab stractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:1009) Caused by: java.io.FileNotFoundException: change-machine.xml at org.mule.config.ConfigResource.<init>(ConfigResource.java:35) at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadCon figResources(AbstractResourceConfigurationBuilder.java:90) ... 25 more The pom probably needs to be modified to add the 'conf' directory to the testing classpath

    MuleSoft JIRA | 6 years ago | Daniel Zapata
    org.mule.api.config.ConfigurationException: change-machine.xml (java.io.FileNotF oundException)
  6. 0

    Right now if I create a directory inside src/test/munit and add a test suite there, running that suite fails. Having a file hierarchy with suites is something that a user with lots of test will want for sure. Log: [org.mule.munit.runner.remote.MunitRemoteRunner]Connected to localhost in port 54307 [org.mule.munit.runner.remote.MunitRemoteRunner]Done Exception in thread "main" java.lang.RuntimeException: org.mule.api.config.ConfigurationException: assert-not-null.xml (java.io.FileNotFoundException) at org.mule.munit.runner.mule.MunitSuiteRunner.<init>(MunitSuiteRunner.java:46) at org.mule.munit.runner.remote.MunitRemoteRunner.run(MunitRemoteRunner.java:69) at org.mule.munit.runner.remote.MunitRemoteRunner.main(MunitRemoteRunner.java:51) Caused by: org.mule.api.config.ConfigurationException: assert-not-null.xml (java.io.FileNotFoundException) at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:87) at org.mule.config.builders.AbstractResourceConfigurationBuilder.<init>(AbstractResourceConfigurationBuilder.java:36) at org.mule.config.spring.SpringXmlConfigurationBuilder.<init>(SpringXmlConfigurationBuilder.java:58) at org.mule.munit.runner.mule.context.MunitSpringXmlConfigurationBuilder.<init>(MunitSpringXmlConfigurationBuilder.java:32) at org.mule.munit.runner.MuleContextManager.getBuilder(MuleContextManager.java:163) at org.mule.munit.runner.MuleContextManager.createMule(MuleContextManager.java:100) at org.mule.munit.runner.MuleContextManager.startMule(MuleContextManager.java:60) at org.mule.munit.runner.mule.MunitSuiteRunner.<init>(MunitSuiteRunner.java:40) ... 2 more Caused by: java.io.FileNotFoundException: assert-not-null.xml at org.mule.config.ConfigResource.<init>(ConfigResource.java:32) at org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:81) ... 9 more

    MuleSoft JIRA | 2 years ago | Alejandro Sequeira
    java.lang.RuntimeException: org.mule.api.config.ConfigurationException: assert-not-null.xml (java.io.FileNotFoundException)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.FileNotFoundException

      console0

      at org.mule.config.ConfigResource.<init>()
    2. Mule Core
      AbstractResourceConfigurationBuilder.<init>
      1. org.mule.config.ConfigResource.<init>(ConfigResource.java:35)
      2. org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:90)
      3. org.mule.config.builders.AbstractResourceConfigurationBuilder.<init>(AbstractResourceConfigurationBuilder.java:46)
      3 frames
    3. Spring Config
      SpringXmlConfigurationBuilder.<init>
      1. org.mule.config.spring.SpringXmlConfigurationBuilder.<init>(SpringXmlConfigurationBuilder.java:48)
      1 frame
    4. org.mule.example
      LoanBrokerApp.main
      1. org.mule.example.loanbroker.AbstractLoanBrokerApp.getConfigBuilder(AbstractLoanBrokerApp.java:74)
      2. org.mule.example.loanbroker.AbstractLoanBrokerApp.init(AbstractLoanBrokerApp.java:55)
      3. org.mule.example.loanbroker.bpm.LoanBrokerApp.init(LoanBrokerApp.java:45)
      4. org.mule.example.loanbroker.AbstractLoanBrokerApp.<init>(AbstractLoanBrokerApp.java:47)
      5. org.mule.example.loanbroker.bpm.LoanBrokerApp.<init>(LoanBrokerApp.java:23)
      6. org.mule.example.loanbroker.bpm.LoanBrokerApp.main(LoanBrokerApp.java:31)
      6 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. Java Service Wrapper
      WrapperSimpleApp.run
      1. org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:236)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame