java.lang.ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String

JIRA | Operations | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    While attempting to Re-Process an inbound email via the Auditing menu, the reprocessed "inbound" message cannot be processed by JEMH due to object casting issues within JEMH (cannot cast from QPDecoderStream to String). The full stack can be found below: ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String: java.lang.ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBodyImpl(EMHMailUtils.java:1125) at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBody(EMHMailUtils.java:1000) at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBody(EMHMailUtils.java:994) at com.javahollic.jira.emh.module.msgfilter.CommentCountOrSizeFilter.filter(CommentCountOrSizeFilter.java:53) at com.javahollic.jira.emh.service.FilterManager.applyFilters(FilterManager.java:60) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.setupHandlerAndFilters(EnterpriseMessageHandlerImpl.java:932) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:275) at com.javahollic.jira.emh.service.reprocessing.AuditHistoryNecromancer.reanimate(AuditHistoryNecromancer.java:85) at com.javahollic.jira.emh.service.DefaultJEMHAuditHistoryReprocessingManager.reanimate(DefaultJEMHAuditHistoryReprocessingManager.java:231) at com.javahollic.jira.emh.rest.api.auditing.Auditing.doReanimate(Auditing.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source)

    JIRA | 3 years ago | Operations
    java.lang.ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String
  2. 0

    While attempting to Re-Process an inbound email via the Auditing menu, the reprocessed "inbound" message cannot be processed by JEMH due to object casting issues within JEMH (cannot cast from QPDecoderStream to String). The full stack can be found below: ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String: java.lang.ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBodyImpl(EMHMailUtils.java:1125) at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBody(EMHMailUtils.java:1000) at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBody(EMHMailUtils.java:994) at com.javahollic.jira.emh.module.msgfilter.CommentCountOrSizeFilter.filter(CommentCountOrSizeFilter.java:53) at com.javahollic.jira.emh.service.FilterManager.applyFilters(FilterManager.java:60) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.setupHandlerAndFilters(EnterpriseMessageHandlerImpl.java:932) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:275) at com.javahollic.jira.emh.service.reprocessing.AuditHistoryNecromancer.reanimate(AuditHistoryNecromancer.java:85) at com.javahollic.jira.emh.service.DefaultJEMHAuditHistoryReprocessingManager.reanimate(DefaultJEMHAuditHistoryReprocessingManager.java:231) at com.javahollic.jira.emh.rest.api.auditing.Auditing.doReanimate(Auditing.java:136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source)

    JIRA | 3 years ago | Operations
    java.lang.ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String
  3. 0

    ClassCastException when trying to pass custom object implementing parcelable to another activity using Intent

    Stack Overflow | 3 years ago | udiboy1209
    java.lang.ClassCastException: [Ljava.lang.Object; at com.meet.simulators.wavesonstringsimulator.SettingsActivity.onClick(SettingsActivity.java:37)            at java.lang.reflect.Method.invokeNative(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Weka: Use saved train model to run test on android

    Stack Overflow | 3 years ago | Mr Vy
    java.lang.ClassCastException: weka.classifiers.trees.J48 09-12 11:27:26.626: W/System.err(323): at vta.behaviourtrack.Classifier.onCreate(Classifier.java:72) 09-12 11:27:26.626: W/System.err(323): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 09-12 11:27:26.626: W/System.err(323): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611) 09-12 11:27:26.636: W/System.err(323): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) 09-12 11:27:26.636: W/System.err(323): at android.app.ActivityThread.access$1500(ActivityThread.java:117) 09-12 11:27:26.647: W/System.err(323): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) 09-12 11:27:26.647: W/System.err(323): at android.os.Handler.dispatchMessage(Handler.java:99) 09-12 11:27:26.657: W/System.err(323): at android.os.Looper.loop(Looper.java:123) 09-12 11:27:26.666: W/System.err(323): at android.app.ActivityThread.main(ActivityThread.java:3683) 09-12 11:27:26.666: W/System.err(323): at java.lang.reflect.Method.invokeNative(Native Method)
  6. 0

    [ProgressBar] ClassCastException warning

    GitHub | 4 years ago | tmurakami
    java.lang.ClassCastException: com.WazaBe.HoloEverywhere.drawable.RotateDrawable 10-11 13:12:31.338: W/System.err(24229): at com.WazaBe.HoloEverywhere.widget.ProgressBar.getDrawable(ProgressBar.java:305) 10-11 13:12:31.338: W/System.err(24229): at com.WazaBe.HoloEverywhere.widget.ProgressBar.<init>(ProgressBar.java:249) 10-11 13:12:31.346: W/System.err(24229): at com.WazaBe.HoloEverywhere.widget.ProgressBar.<init>(ProgressBar.java:205) 10-11 13:12:31.346: W/System.err(24229): at com.WazaBe.HoloEverywhere.widget.ProgressBar.<init>(ProgressBar.java:201) 10-11 13:12:31.346: W/System.err(24229): at java.lang.reflect.Constructor.constructNative(Native Method) 10-11 13:12:31.346: W/System.err(24229): at java.lang.reflect.Constructor.newInstance(Constructor.java:415) 10-11 13:12:31.356: W/System.err(24229): at android.view.LayoutInflater.createView(LayoutInflater.java:505) 10-11 13:12:31.356: W/System.err(24229): at com.WazaBe.HoloEverywhere.LayoutInflater.onCreateView(LayoutInflater.java:183) 10-11 13:12:31.356: W/System.err(24229): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568) 10-11 13:12:31.356: W/System.err(24229): at android.view.LayoutInflater.rInflate(LayoutInflater.java:623) 10-11 13:12:31.356: W/System.err(24229): at android.view.LayoutInflater.inflate(LayoutInflater.java:408) 10-11 13:12:31.367: W/System.err(24229): at android.view.LayoutInflater.inflate(LayoutInflater.java:320) 10-11 13:12:31.376: W/System.err(24229): at android.view.LayoutInflater.inflate(LayoutInflater.java:276) 10-11 13:12:31.376: W/System.err(24229): at com.WazaBe.HoloEverywhere.LayoutInflater.inflate(LayoutInflater.java:161) 10-11 13:12:31.376: W/System.err(24229): at com.WazaBe.HoloEverywhere.app.ProgressDialog.onCreate(ProgressDialog.java:176) 10-11 13:12:31.376: W/System.err(24229): at android.app.Dialog.dispatchOnCreate(Dialog.java:307) 10-11 13:12:31.376: W/System.err(24229): at android.app.Dialog.show(Dialog.java:225) 10-11 13:12:31.376: W/System.err(24229): at com.WazaBe.HoloDemo.DemoActivity.showProgressDialog(DemoActivity.java:209) 10-11 13:12:31.386: W/System.err(24229): at java.lang.reflect.Method.invokeNative(Native Method)

    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.lang.ClassCastException

      com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String

      at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBodyImpl()
    2. com.javahollic.jira
      Auditing.doReanimate
      1. com.javahollic.jira.emh.engine.support.EMHMailUtils.getBodyImpl(EMHMailUtils.java:1125)
      2. com.javahollic.jira.emh.engine.support.EMHMailUtils.getBody(EMHMailUtils.java:1000)
      3. com.javahollic.jira.emh.engine.support.EMHMailUtils.getBody(EMHMailUtils.java:994)
      4. com.javahollic.jira.emh.module.msgfilter.CommentCountOrSizeFilter.filter(CommentCountOrSizeFilter.java:53)
      5. com.javahollic.jira.emh.service.FilterManager.applyFilters(FilterManager.java:60)
      6. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.setupHandlerAndFilters(EnterpriseMessageHandlerImpl.java:932)
      7. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:275)
      8. com.javahollic.jira.emh.service.reprocessing.AuditHistoryNecromancer.reanimate(AuditHistoryNecromancer.java:85)
      9. com.javahollic.jira.emh.service.DefaultJEMHAuditHistoryReprocessingManager.reanimate(DefaultJEMHAuditHistoryReprocessingManager.java:231)
      10. com.javahollic.jira.emh.rest.api.auditing.Auditing.doReanimate(Auditing.java:136)
      10 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames