You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plugin version (e.g. smart-doc-maven-plugin or smart-doc-gradle-plugin): 2.6.1
build tool version(maven or gradle): 3.2
Expected Behavior(您期望的结果)
Successfully pushed to Torna.
Current Behavior(当前结果)
Possible Solution(bug解决建议)
Steps to Reproduce (Bug产生步骤,请尽量提供用例代码)
The request or response parameters include the following fields:
private Integer[][] position;
or
private List<Integer[]> position;
Run the smart-doc:torna-rest plugin.
The error message is as follows:
Exception in thread "main" java.lang.StackOverflowError
at java.util.regex.Pattern.error(Pattern.java:1969)
at java.util.regex.Pattern.(Pattern.java:1354)
at java.util.regex.Pattern.compile(Pattern.java:1028)
at java.lang.String.replaceAll(String.java:2223)
at com.power.doc.utils.DocUtil.replaceNewLineToHtmlBr(DocUtil.java:534)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:240)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
Context(Bug影响描述)
Pushing to Torna fails, but HTML can be generated.
The preliminary issue is identified in the ParamsBuildHelper.buildParams method, which has problems parsing ApiParam.
The text was updated successfully, but these errors were encountered:
shalousun
changed the title
smart-doc推送到torna,二维数组或嵌套List解析StackOverflow
Smart-Doc pushes to Torna, and parsing two-dimensional arrays or nested Lists results in StackOverflow.
Jun 29, 2024
Your Environment(您的使用环境)
Expected Behavior(您期望的结果)
Successfully pushed to Torna.
Current Behavior(当前结果)
Possible Solution(bug解决建议)
Steps to Reproduce (Bug产生步骤,请尽量提供用例代码)
The request or response parameters include the following fields:
private Integer[][] position;
or
private List<Integer[]> position;
Run the smart-doc:torna-rest plugin.
The error message is as follows:
Exception in thread "main" java.lang.StackOverflowError
at java.util.regex.Pattern.error(Pattern.java:1969)
at java.util.regex.Pattern.(Pattern.java:1354)
at java.util.regex.Pattern.compile(Pattern.java:1028)
at java.lang.String.replaceAll(String.java:2223)
at com.power.doc.utils.DocUtil.replaceNewLineToHtmlBr(DocUtil.java:534)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:240)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
at com.power.doc.utils.TornaUtil.buildParams(TornaUtil.java:244)
Context(Bug影响描述)
The text was updated successfully, but these errors were encountered: