码迷,mamicode.com
首页 > 其他好文 > 详细

Could not find a transformer to transform "SimpleDataType{type=org.mule.transport.NullPayload

时间:2016-02-29 18:10:52      阅读:749      评论:0      收藏:0      [点我收藏+]

标签:

mule esb报错

com.isoftstone.esb.transformer.Json2RequestBusinessObject.transformMessage(Json2RequestBusinessObject.java:57) - 

[ESB 打印] 0101020101 接口的请求报文是:
<?xml version="1.0" encoding="UTF-8"?>
<PACKET type="REQUEST" version="1.0">
  <HEAD>
    <REQUEST_TYPE>0339-01</REQUEST_TYPE>
    <SYSNAME>网销</SYSNAME>
    <SYSCODE>02</SYSCODE>
    <USERCDE>1009116</USERCDE>
    <DPTCDE>33</DPTCDE>
    <TYPE>I</TYPE>
    <DATA>A</DATA>
    <SERVICE_NO>0101020101</SERVICE_NO>
    <SERVICENAME>policyquery</SERVICENAME>
    <USERID>50000002</USERID>
    <FLOWID>e968c520-77d4-4cff-bfd0-045d0182b3f1</FLOWID>
    <BUSFLOWID />
  </HEAD>
  <BODY>
    <COVERAGE_LIST>
      <COVERAGE>
        <INSRNC_CDE>030006</INSRNC_CDE>
        <DEDUCTIBLE_CONVENTION>345021001</DEDUCTIBLE_CONVENTION>
        <LIMIT_AMOUNT />
        <OPTIONAL_DI_DE />
        <INSURED>254970.00</INSURED>
        <BASE_PRM>578</BASE_PRM>
        <BEF_PRM>3503.78</BEF_PRM>
        <STANDARD_PREMIUM />
        <RATE />
        <SERIAL_NO>0</SERIAL_NO>
        <N_SEATS />
        <REFERENCE_PREMIUNS />
        <CANCEL_MARK />
      </COVERAGE>
      <COVERAGE>
        <INSRNC_CDE>030018</INSRNC_CDE>
        <DEDUCTIBLE_CONVENTION>345021001</DEDUCTIBLE_CONVENTION>
        <LIMIT_AMOUNT>345012005</LIMIT_AMOUNT>
        <OPTIONAL_DI_DE />
        <INSURED>300000</INSURED>
        <BASE_PRM>1377</BASE_PRM>
        <BEF_PRM>1377</BEF_PRM>
        <STANDARD_PREMIUM />
        <RATE />
        <SERIAL_NO>1</SERIAL_NO>
        <N_SEATS />
        <REFERENCE_PREMIUNS />
        <CANCEL_MARK />
      </COVERAGE>
      <COVERAGE>
        <INSRNC_CDE>030102</INSRNC_CDE>
        <DEDUCTIBLE_CONVENTION>345021001</DEDUCTIBLE_CONVENTION>
        <LIMIT_AMOUNT />
        <OPTIONAL_DI_DE />
        <INSURED>250380.54</INSURED>
        <BASE_PRM>119</BASE_PRM>
        <BEF_PRM>1094.26</BEF_PRM>
        <STANDARD_PREMIUM />
        <RATE />
        <SERIAL_NO>2</SERIAL_NO>
        <N_SEATS />
        <REFERENCE_PREMIUNS />
        <CANCEL_MARK />
      </COVERAGE>
      <COVERAGE>
        <INSRNC_CDE>030210</INSRNC_CDE>
        <DEDUCTIBLE_CONVENTION>345021001</DEDUCTIBLE_CONVENTION>
        <LIMIT_AMOUNT />
        <OPTIONAL_DI_DE />
        <INSURED>10000</INSURED>
        <BASE_PRM>0</BASE_PRM>
        <BEF_PRM>34</BEF_PRM>
        <STANDARD_PREMIUM />
        <RATE />
        <SERIAL_NO>3</SERIAL_NO>
        <N_SEATS>1</N_SEATS>
        <REFERENCE_PREMIUNS />
        <CANCEL_MARK />
      </COVERAGE>
      <COVERAGE>
        <INSRNC_CDE>030212</INSRNC_CDE>
        <DEDUCTIBLE_CONVENTION>345021001</DEDUCTIBLE_CONVENTION>
        <LIMIT_AMOUNT />
        <OPTIONAL_DI_DE />
        <INSURED>10000</INSURED>
        <BASE_PRM>0</BASE_PRM>
        <BEF_PRM>132.6</BEF_PRM>
        <STANDARD_PREMIUM />
        <RATE />
        <SERIAL_NO>4</SERIAL_NO>
        <N_SEATS>6</N_SEATS>
        <REFERENCE_PREMIUNS />
        <CANCEL_MARK />
      </COVERAGE>
      <COVERAGE>
        <INSRNC_CDE>030022</INSRNC_CDE>
        <DEDUCTIBLE_CONVENTION />
        <LIMIT_AMOUNT />
        <OPTIONAL_DI_DE />
        <INSURED />
        <BASE_PRM>0</BASE_PRM>
        <BEF_PRM>975.96</BEF_PRM>
        <STANDARD_PREMIUM />
        <RATE />
        <SERIAL_NO>5</SERIAL_NO>
        <N_SEATS />
        <REFERENCE_PREMIUNS />
        <CANCEL_MARK />
      </COVERAGE>
      <COVERAGE>
        <INSRNC_CDE>030105</INSRNC_CDE>
        <DEDUCTIBLE_CONVENTION />
        <LIMIT_AMOUNT />
        <OPTIONAL_DI_DE />
        <INSURED />
        <BASE_PRM>0</BASE_PRM>
        <BEF_PRM>455.12</BEF_PRM>
        <STANDARD_PREMIUM />
        <RATE />
        <SERIAL_NO>7</SERIAL_NO>
        <N_SEATS />
        <REFERENCE_PREMIUNS />
        <CANCEL_MARK />
      </COVERAGE>
    </COVERAGE_LIST>
    <BASE>
      <PROD_NO>0339</PROD_NO>
      <SALES_CHANNEL>19001</SALES_CHANNEL>
      <ORIG_FLG>0</ORIG_FLG>
      <DPT_CDE>33889901</DPT_CDE>
      <SLS_CDE />
      <SALEGRP_CDE />
      <CMPNY_AGT_CDE />
      <START_DATE>2016-03-01 00:00:00</START_DATE>
      <END_DATE>2017-02-28 23:59:59</END_DATE>
      <APP_DATE>2016-02-29</APP_DATE>
      <SIGN_DATE>2016-02-29</SIGN_DATE>
      <OPER_DATE>2016-02-29</OPER_DATE>
      <SUMAMT>0.00</SUMAMT>
      <SUMPRM>0.00</SUMPRM>
      <PRM_CUR>01</PRM_CUR>
      <RATIO>1</RATIO>
      <OPR_TYP>0</OPR_TYP>
      <PRNT_TYP>0</PRNT_TYP>
      <CERTI_TYPE>124001</CERTI_TYPE>
      <LASTPOLICYNO />
      <AGT_AGR_NO />
      <EXCHANGE_RATE>1</EXCHANGE_RATE>
      <AMT_CUR>01</AMT_CUR>
      <OPER_CDE>133100693</OPER_CDE>
      <VHLGRP_FLG>02</VHLGRP_FLG>
      <VHLGRP_PRO />
      <BSNS_NEW>191002</BSNS_NEW>
      <CMM_PROP />
      <CERTI_CODE />
      <SHORT_RATE>1</SHORT_RATE>
      <REINSRC_FLG>0</REINSRC_FLG>
      <AREA_FLAG>330600</AREA_FLAG>
      <DPT_CASCADE_CDE>33</DPT_CASCADE_CDE>
      <COMPUTER_IP>10.20.22.40</COMPUTER_IP>
      <USBKEY />
      <CLAUSE_TYPE>01</CLAUSE_TYPE>
      <PRODUCT_TYPE>0101</PRODUCT_TYPE>
      <APPOINT_AREA_CODE />
    </BASE>
    <VHL>
      <BLD_YEAR />
      <BRND_CDE>BKAAGD0013</BRND_CDE>
      <BRND_NME>别克SGM6512GL8旅行车</BRND_NME>
      <CAR_COLOUR />
      <TFI_REF_CDE2>BKD1025SHT</TFI_REF_CDE2>
      <CONFIRM_CDE />
      <OWNER_NAME>彭局</OWNER_NAME>
      <ECDEMIC_VEHICLE_FLAG>0</ECDEMIC_VEHICLE_FLAG>
      <ENGINE_NO>ASFDDSFUFR89QU893R</ENGINE_NO>
      <USE_TYPE>345038001</USE_TYPE>
      <VEHICLE_REGISTER_DATE>2015-12-01</VEHICLE_REGISTER_DATE>
      <CAR_MARK>*</CAR_MARK>
      <VEHICLE_TYPE />
      <PO_CATEGORY />
      <RGN_CDE>001</RGN_CDE>
      <USE_YEAR_CDE>345020001</USE_YEAR_CDE>
      <VHL_BRAND />
      <RACK_NO>LSGUD82CASFDDSF22</RACK_NO>
      <VEHICLE_CATEGORY>345039002</VEHICLE_CATEGORY>
      <VIN />
      <RELATIONSHIP_WITH_VEHICLE>348001</RELATIONSHIP_WITH_VEHICLE>
      <DEPRECIATION_COEFFICIENT />
      <MODELS_CONFIRMATION />
      <BRAND_MODEL>别克SGM6512GL8旅行车</BRAND_MODEL>
      <EXTENDED_AREA_RADIUS />
      <PROPORTION_AGREEMENT />
      <TRAVEL_AREA_DESCRIPTION />
      <VHL_GALSS>303011001</VHL_GALSS>
      <INSURANCE_LAST_YEAR />
      <LIABILITY_AMOUNT />
      <LAST_YEAR_POLICY_NO />
      <ARE_TEAM>0</ARE_TEAM>
      <VEHICLE_STYLE>345041087</VEHICLE_STYLE>
      <LOAN_CAR_FLAG>0</LOAN_CAR_FLAG>
      <TRANSFER_VEHICLE_LOGO>0</TRANSFER_VEHICLE_LOGO>
      <FLEET_NO />
      <NO_DAMAGE_YEARS />
      <LIMIT_LOAD_PERSON>7</LIMIT_LOAD_PERSON>
      <LIMIT_LOAD />
      <NEWVHL_VAL>254970</NEWVHL_VAL>
      <SUM_INSURED_TYPE>01</SUM_INSURED_TYPE>
      <PACK />
      <MODELS_ORIGINAL_PRICE>283300</MODELS_ORIGINAL_PRICE>
      <CHK_CDE />
      <CHECK_MAN />
      <CHECK_TIME />
      <CHK_REC />
      <DEV_CDE />
      <VEHICLE_MODEL>别克SGM6512GL8旅行车</VEHICLE_MODEL>
      <NEW_FLAG>1</NEW_FLAG>
      <CERTIFICATE_DATE />
      <OWNER_TYPE>1</OWNER_TYPE>
      <VHL_QUE_NO />
      <POWER />
      <TRANSFER_DATE />
      <DISPLACEMENT>2.9800</DISPLACEMENT>
      <WHOLE_WEIGHT>0</WHOLE_WEIGHT>
    </VHL>
    <ADJUST>
      <AVERAGE_MILE>0</AVERAGE_MILE>
      <RGN_CDE>001</RGN_CDE>
      <GENDER />
      <AGE />
      <DRIVER_PERIOD />
      <CUSTOMER_LOYALTY>345008001</CUSTOMER_LOYALTY>
      <NCD_PRIOR_YEAR>004</NCD_PRIOR_YEAR>
      <COEFFICIENT_SPECIAL_MATERIALS>001</COEFFICIENT_SPECIAL_MATERIALS>
      <COVERAGE_NO />
      <EXPECTED_LOSS_RATIO />
      <SAFE_DRIVING>002</SAFE_DRIVING>
      <AVERAGE_ANNUAL_MILEAGE>002</AVERAGE_ANNUAL_MILEAGE>
      <DRIVER>002</DRIVER>
      <AVERAGE_MILE_FACTOR>1</AVERAGE_MILE_FACTOR>
      <MULTI_LINE_INSURANCE_FACTOR />
      <NO_COMPENSATI_COEFFICIENT />
      <RISK_WARNING_FACTOR>1</RISK_WARNING_FACTOR>
      <OVERALL_DISCOUNT />
      <EE_LOSS_RATIO_FACTOR>1</EE_LOSS_RATIO_FACTOR>
      <MANAGEMENT_LEVEL_FACTOR>1</MANAGEMENT_LEVEL_FACTOR>
      <AVERAGE_ANNUAL_MILEAGE_FACTOR>1</AVERAGE_ANNUAL_MILEAGE_FACTOR>
      <MORE_THAN_SAME_INSURING>1</MORE_THAN_SAME_INSURING>
      <CAR_DAMAGE_MODEL_COEFFICIENT>1</CAR_DAMAGE_MODEL_COEFFICIENT>
      <CLM_REC_VALUE />
      <CLM_REC_REASON />
      <KIND_ADJ_VALUE />
      <VHL_MDL_ADJ />
      <VHL_MDL_ADJ_UP />
      <VHL_MDL_ADJ_LOW />
      <PECC_REC_VALUE />
      <PECC_REC_REASON />
      <MAG_ADJ />
      <MAG_ADJ_UPPER />
      <MAG_ADJ_LOW />
      <EXP_ADJ />
      <EXP_ADJ_UPPER />
      <EXP_ADJ_LOWER />
    </ADJUST>
  </BODY>
</PACKET>


2016-02-29 16:27:25,965>>ERROR>> com.isoftstone.esb.transformer.ResponseBusinessObject2Json.transformMessage(ResponseBusinessObject2Json.java:66) - Could not find a transformer to transform "SimpleDataType{type=org.mule.transport.NullPayload, mimeType=‘*/*‘}" to "SimpleDataType{type=com.isoftstone.core.dto.ResponseBusinessObject, mimeType=‘*/*‘}".
2016-02-29 16:27:26,680>>INFO >> com.isoftstone.esb.transformer.Json2RequestBusinessObject.transformMessage(Json2RequestBusinessObject.java:42) - 

[ESB 打印]  esb收到请求...
2016-02-29 16:27:26,681>>INFO >> com.isoftstone.esb.transformer.Json2RequestBusinessObject.transformMessage(Json2RequestBusinessObject.java:47) - 

原因是 ESB重启后 可能编译文件混乱,导致返回接收不到 后台代理平台返回的信息,直接成了null.

最终导致转换不了.

 

原因图如下:

技术分享

 

Could not find a transformer to transform "SimpleDataType{type=org.mule.transport.NullPayload

标签:

原文地址:http://www.cnblogs.com/bobo1713930654/p/5228271.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!