Cross Lee

Results 18 issues of Cross Lee

Job ``` public class BaiduTTSTokenJob { private Logger logger = L.get(BaiduTTSTokenJob.class); @Every("15d") public void tts(){ try { String s = HttpUtil.get('xxx'); if(S.empty(s)) { return; } JSONObject jsonObject = JSON.parseObject(s); String...

bug
can not reproduce

cityinfo.properties: ``` citypoi.121.487899486,31.24916171=上海-上海市 citypoi.100.092612914,23.8878061038=云南省-临沧市 citypoi.100.229628399,26.8753510895=云南省-丽江市 citypoi.99.1779956133,25.1204891962=云南省-保山市 ``` Java Code: ``` @Configuration("citypoi") private Map cityinfo; ... logger.debug(cityinfo.get("121.487899486,31.24916171")); ```

bug
enhancement
fixed

Act has provided @WsEndpoint for WebSocketController to avoid global listening. It's cumbersome to add every @WsEndpoint on my business WebSocket controller to avoid global listening. a global ws annotation(ie: @WsGlobal)...

enhancement

act-starter-parent version : 1.8.28.0 response stream closed while render a null json object in controller. code: ```renderJson(null);``` error stack: ``` 2019-11-04 17:17:12,289 ERROR a.h.b.c.RequestHandlerProxy@[XNIO-1 task-3] - Server error encountered on...

need more info

Controller: ![image](https://user-images.githubusercontent.com/4584905/64916912-96c72300-d7bb-11e9-8a15-423db57f620b.png) VO: ![image](https://user-images.githubusercontent.com/4584905/64916913-9e86c780-d7bb-11e9-872f-306614e7188f.png) ERROR: ![image](https://user-images.githubusercontent.com/4584905/64916914-a47ca880-d7bb-11e9-989e-eb4fe89bebc7.png)

bug

Controller source code ```java @GetAction("/test") public void test() { String text = "123"; logger.debug("a=%s", text); render(text); } ``` Template source code: ```java @args String text @text ``` Page rendered: ![image](https://user-images.githubusercontent.com/4584905/64065693-1d6bf400-cc43-11e9-974d-02b27daebe73.png)...

bug

nginx proxy pass the request to local actserver, and get error: 2018/12/04 16:30:08 [error] 3173#0: *3347 no live upstreams while connecting to upstream, client: 223.104.145.4, server: localhost, request: "GET /wap/index?stationId=12322&youqiangId=1&buStaffId=0...

need more info

![image](https://user-images.githubusercontent.com/4584905/48977839-1c6acc80-f0dd-11e8-83a9-6299d50bbe6e.png)

bug

render method with any args, console gives a warn msg: **2018-11-17 00:29:47,064 WARN a.c.b.HandlerEnhancer@[XNIO-1 task-4] - Invalid render argument found in cn.com.huiyongche.controller.weixin.WeixinPayController.oAuth2Callback: method with param is not supported** code: `render(pojo);`

entity: ```java public class JiayouOrderTestEntity extends BaseModel implements SimpleBean { public String name; } ``` BaseModel: ```java import io.ebean.Model; import javax.persistence.Id; import javax.persistence.MappedSuperclass; @MappedSuperclass public abstract class BaseModel extends Model{...

bug