You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/12/20 14:22:26 UTC

[GitHub] [incubator-dolphinscheduler] chengshiwen opened a new issue #4268: [Bug][api] NumberFormatException when visiting a doc.html or swagger-ui.html

chengshiwen opened a new issue #4268:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4268


   **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
   **Describe the bug**
   A clear and concise description of what the bug is.
   
   **To Reproduce**
   Steps to reproduce the behavior, for example:
   1. Visit `/dolphinscheduler/doc.html` or `/dolphinscheduler/swagger-ui.html`
   2. NumberFormatException occurs in Api log
   
   ```
   i.s.m.p.AbstractSerializableParameter    : Illegal DefaultValue  for parameter type integer
   
   java.lang.NumberFormatException: For input string: ""
   	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.8.0_271]
   	at java.lang.Long.parseLong(Long.java:601) ~[na:1.8.0_271]
   	at java.lang.Long.valueOf(Long.java:803) ~[na:1.8.0_271]
   	at io.swagger.models.parameters.AbstractSerializableParameter.getExample(AbstractSerializableParameter.java:412) ~[swagger-models-1.5.20.jar:1.5.20]
   	at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source) ~[na:na]
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_271]
   	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_271]
   	at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:688) [jackson-databind-2.9.10.jar:2.9.10]
   	at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719) [jackson-databind-2.9.10.jar:2.9.10]
   	at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155) [jackson-databind-2.9.10.jar:2.9.10]
   	at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119) [jackson-databind-2.9.10.jar:2.9.10]
   	at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79) [jackson-databind-2.9.10.jar:2.9.10]
   	at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18) [jackson-databind-2.9.10.jar:2.9.10]
   	at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727) [jackson-databind-2.9.10.jar:2.9.10]
   	at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719) [jackson-databind-2.9.10.jar:2.9.10]
   	at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:155) [jackson-databind-2.9.10.jar:2.9.10]
   ```
   
   **Expected behavior**
   NumberFormatException fixed.
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   
   **Which version of Dolphin Scheduler:**
    -The latest [dev] branch
   
   **Additional context**
   Add any other context about the problem here.
   
   **Requirement or improvement**
   - Please describe about your requirements or improvement suggestions.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] CalvinKirs closed issue #4268: [Bug][api] NumberFormatException when visiting a doc.html or swagger-ui.html

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #4268:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4268


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org