java.lang.NumberFormatException: null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips


You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.


Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

Solutions on the web

via by Tomas Livora, 1 year ago
via Stack Overflow by Unknown author, 2 years ago
via Oracle Community by 807596, 1 year ago
via Oracle Community by 843841, 1 year ago
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(
at java.lang.Integer.parseInt(
at com.smj.webui.apps.form.WSimplifiedSales.(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at java.lang.Class.newInstance(
at org.smj.webui.factory.PosFormFactory.newFormInstance(
at org.adempiere.webui.Extensions.getForm(
at org.adempiere.webui.panel.ADForm.openForm(
at org.adempiere.webui.panel.ADForm.openForm(
at org.adempiere.webui.desktop.TabbedDesktop.openForm(
at org.adempiere.webui.desktop.DefaultDesktop.openForm(
at org.adempiere.webui.desktop.AbstractDesktop.onMenuSelected(
at org.adempiere.webui.desktop.DefaultDesktop.onMenuSelected(
at org.adempiere.webui.panel.AbstractMenuPanel.fireMenuSelectedEvent(
at org.adempiere.webui.panel.AbstractMenuPanel.doOnClick(
at org.adempiere.webui.panel.AbstractMenuPanel.onEvent(
at org.adempiere.webui.panel.MenuTreePanel.onEvent(
at org.zkoss.zk.ui.AbstractComponent.onEvent(

Users with the same issue

Once, 1 day ago
18 times, 1 week ago
Once, 1 month ago
Once, 1 month ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.