0 Replies Latest reply on Dec 12, 2013 5:17 AM by Nelson Wilson

    log4j unknown source line number

    Nelson Wilson Newbie


      OS: Solaris 10 SPARC 32 bit

      AS: JBoss 7.2


      I am getting my log print as follows:


      12:06:03,348 ERROR [com.eks.interceptors.CCPIExceptionHandler] (ajp-/ java.lang.NumberFormatException: For input string: ""

        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

        at java.lang.Long.parseLong(Long.java:424)

        at java.lang.Long.valueOf(Long.java:518)

        at com.eks.srs.web.upload.action.ValidateUploadCountAction.execute(Unknown Source)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


      I am getting Unknown Source inside the log, its not showing the file and the line number on which the error has occurred.

      But when I run the same application in my local PC(Windows, 32bit), it is showing me the the error line number and its file.

      What will be the reason that the same application with the same configuration is behaving separately in different OS? 

      Is this the OS issue. Can you suggest me any configuration to solve this problem.