英文:
When I use the Integer.parseInt() function it shows me error when I put 1 on the Textfield
问题
我做了这个项目,但在某些情况下,编译器显示了我提供的错误。有人能帮助我调查吗?
英文:
I made the project, but in some conditions the compiler shows the error I've provided above. Would someone be able to help me to investigate it?
答案1
得分: 1
"serialNumberQuantity.getText()" 返回空字符串 ("")。你应该调试一下,看看这个值是否被你的代码中的某个条件覆盖了。
英文:
Seems that "serialNumberQuantity.getText()" in returning empty string (""). You should debug if the value is getting over ridden by some condition in your code.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论