java.lang.Exception: org.mule.MuleException: Error happened while listing files

Mirth Project | David Rothbauer | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I set up a new channel this morning and didn't check my source connection before deploying. I was running test messages through manually so I didn't notice a huge number of errors coming through. The error message indicated an smb connection problem, which allowed me to reduce my search, but I do have quite a few of those. I finally managed to trace the issue back to this channel's source connector. Once I corrected the issue and re-deployed the channel things were fine: The problem is that the error messages didn't tell me what channel the problem was in. These are the two I was getting: [2011-10-27 12:52:37,172] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:83): The Default Component Exception Strategy has been invoked but there is no current event on the context and: [2011-10-27 12:52:37,173] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:84): The error is: org.mule.MuleException: Error happened while listing files java.lang.Exception: org.mule.MuleException: Error happened while listing files at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:124) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662)Caused by: org.mule.MuleException: Error happened while listing files at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:147) at com.mirth.connect.connectors.file.FileMessageReceiver.listFiles(FileMessageReceiver.java:416) at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:104) ... 5 moreCaused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password. at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:515) at jcifs.smb.SmbTransport.send(SmbTransport.java:629) at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:288) at jcifs.smb.SmbSession.send(SmbSession.java:233) at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154) at jcifs.smb.SmbFile.doConnect(SmbFile.java:847) at jcifs.smb.SmbFile.connect(SmbFile.java:890) at jcifs.smb.SmbFile.connect0(SmbFile.java:816) at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:665) at jcifs.smb.SmbFile.send(SmbFile.java:716) at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1920) at jcifs.smb.SmbFile.doEnum(SmbFile.java:1672) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1649) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1627) at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:133) ... 7 more

    Mirth Project | 5 years ago | David Rothbauer
    java.lang.Exception: org.mule.MuleException: Error happened while listing files
  2. 0

    I set up a new channel this morning and didn't check my source connection before deploying. I was running test messages through manually so I didn't notice a huge number of errors coming through. The error message indicated an smb connection problem, which allowed me to reduce my search, but I do have quite a few of those. I finally managed to trace the issue back to this channel's source connector. Once I corrected the issue and re-deployed the channel things were fine: The problem is that the error messages didn't tell me what channel the problem was in. These are the two I was getting: [2011-10-27 12:52:37,172] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:83): The Default Component Exception Strategy has been invoked but there is no current event on the context and: [2011-10-27 12:52:37,173] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:84): The error is: org.mule.MuleException: Error happened while listing files java.lang.Exception: org.mule.MuleException: Error happened while listing files at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:124) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662)Caused by: org.mule.MuleException: Error happened while listing files at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:147) at com.mirth.connect.connectors.file.FileMessageReceiver.listFiles(FileMessageReceiver.java:416) at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:104) ... 5 moreCaused by: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password. at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:515) at jcifs.smb.SmbTransport.send(SmbTransport.java:629) at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:288) at jcifs.smb.SmbSession.send(SmbSession.java:233) at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154) at jcifs.smb.SmbFile.doConnect(SmbFile.java:847) at jcifs.smb.SmbFile.connect(SmbFile.java:890) at jcifs.smb.SmbFile.connect0(SmbFile.java:816) at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:665) at jcifs.smb.SmbFile.send(SmbFile.java:716) at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1920) at jcifs.smb.SmbFile.doEnum(SmbFile.java:1672) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1649) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1627) at com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:133) ... 7 more

    Mirth Project | 5 years ago | David Rothbauer
    jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.
  3. 0

    1.2.12 heads-up about SID.toString() - Network Samba Java

    networktalk.info | 2 years ago
    jcifs.smb.SmbAuthException: Access is denied.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Try to crawl a CIFS share -> jcifs.smb.SmbAuthException: Access is denied. ("oss.log")

    opensearchserve | 4 years ago | janx1234
    com.jaeksoft.searchlib.SearchLibException: jcifs.smb.SmbAuthException: Access is denied.

    Root Cause Analysis

    1. jcifs.smb.SmbAuthException

      Logon failure: unknown user name or bad password.

      at jcifs.smb.SmbTransport.checkStatus()
    2. jCIFS
      SmbFile.listFiles
      1. jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:515)
      2. jcifs.smb.SmbTransport.send(SmbTransport.java:629)
      3. jcifs.smb.SmbSession.sessionSetup(SmbSession.java:288)
      4. jcifs.smb.SmbSession.send(SmbSession.java:233)
      5. jcifs.smb.SmbTree.treeConnect(SmbTree.java:154)
      6. jcifs.smb.SmbFile.doConnect(SmbFile.java:847)
      7. jcifs.smb.SmbFile.connect(SmbFile.java:890)
      8. jcifs.smb.SmbFile.connect0(SmbFile.java:816)
      9. jcifs.smb.SmbFile.resolveDfs(SmbFile.java:665)
      10. jcifs.smb.SmbFile.send(SmbFile.java:716)
      11. jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1920)
      12. jcifs.smb.SmbFile.doEnum(SmbFile.java:1672)
      13. jcifs.smb.SmbFile.listFiles(SmbFile.java:1649)
      14. jcifs.smb.SmbFile.listFiles(SmbFile.java:1627)
      14 frames
    3. com.mirth.connect
      FileMessageReceiver.poll
      1. com.mirth.connect.connectors.file.filesystems.SmbFileConnection.listFiles(SmbFileConnection.java:133)
      2. com.mirth.connect.connectors.file.FileMessageReceiver.listFiles(FileMessageReceiver.java:416)
      3. com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:104)
      3 frames
    4. org.mule.providers
      PollingMessageReceiver.run
      1. org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97)
      1 frame
    5. org.mule.impl
      WorkerContext.run
      1. org.mule.impl.work.WorkerContext.run(WorkerContext.java:290)
      1 frame
    6. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
      2 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame