我有一个适用于mule standalone 3.5.0的连接器:
[Mule ESB Google Cloud Messaging refs 21303186]
但不幸的是在独立版本3.6.0中给出了以下奇怪的错误。响应应该是json,但我们得到一个HTML。
ERROR 2015-02-26 17:09:17,456 [[tcol_appsmobile2].Adapter_Notificaciones_Moviles.stage1.02] org.mule.exception.DefaultMessagingExceptionStrategy:
********************************************************************************
Message : Failed to deserialize to: class org.mule.module.gcm.model.GcmResponse from: der -->
<div id="header-wrapper">
<div id="header">
<div class="wrap" id="header-wrap">
<div class="col-3 logo">
<a href="/index.html">
<img src="/assets/images/dac_logo.png"
srcset="/assets/images/dac_logo@2x.png 2x"
width="123" height="25" alt="Android Developers" />
</a>
<div class="btn-quicknav" id="btn-quicknav">
<a href="#" class="arrow-inactive">Quicknav</a>
<a href="#" class="arrow-active">Quicknav</a>
</div>
</div>
<ul class="nav-x col-9">
<li class="design">
<a href="/design/index.html"
zh-tw-lang="è¨è¨"
zh-cn-lang="设计"
...
<script src="https://developer.android.com/ytblogger_lists_unified.js" type="text/javascript"></script>
<script src="/jd_lists_unified.js?v=8" type="text/javascript"></script>
<script src="/jd_extras.js?v=9" type="text/javascript"></script>
<script src="/jd_collections.js?v=9" type="text/javascript"></script>
<script src="/jd_tag_helpers.js?v=5" type="text/javascript"></script>
</body>
</html>
Code : MULE_ERROR-10999
--------------------------------------------------------------------------------
Exception stack is:
1. Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: org.glassfish.grizzly.utils.BufferInputStream@207fe31; line: 1, column: 2] (org.codehaus.jackson.JsonParseException)
org.codehaus.jackson.JsonParser:1433 (null)
2. Failed to deserialize to: class org.mule.module.gcm.model.GcmResponse from: der -->
<div id="header-wrapper">
<div id="header">
提前谢谢
答案 0 :(得分:0)
该连接器已暂停一段时间,因此可能与3.6.0不兼容。
如果您需要https://github.com/mulesoft/google-cloud-messaging-connector或发送带有更改的拉取请求,您可以将其分叉并更新到3.6.0