111df1f115da2c2ccbdc097e4098a497bba83f43
\345\275\223\345\211\215SDK\347\211\210\346\234\254\344\270\215\346\224\257\346\214\201\350\277\234\347\250\213\350\260\203\347\224\250\357\274\214\350\257\267\345\215\207\347\272\247SDK\345\206\215\345\260\235\350\257\225\357\274\201.md
| ... | ... | @@ -35,8 +35,19 @@ at com.sie.snest.engine.model.MethodMeta.invoke(MethodMeta.java:179) |
| 35 | 35 | |
| 36 | 36 | ## 解决方案 |
| 37 | 37 | |
| 38 | -检查如下代码: |
|
| 38 | +检查如下伪代码: |
|
| 39 | 39 | ``` |
| 40 | + try (Meta meta1 = new Meta(null, new HashMap<>())){ |
|
| 40 | 41 | |
| 42 | + |
|
| 43 | +} |
|
| 41 | 44 | ``` |
| 42 | 45 | |
| 46 | +new HashMap() 需要调整如下所示: |
|
| 47 | + |
|
| 48 | +``` |
|
| 49 | +try (Meta meta1 = new Meta(null, BaseContextHandler.getMeta().getContext())){ |
|
| 50 | + |
|
| 51 | +} |
|
| 52 | + |
|
| 53 | +``` |