java.lang.NumberFormatException: null]; remaining name '"java:comp/env/jdbc/mydatabase"' at com.sun.jndi.fscontext.FSContext.generateNamingException (FSContext.java:806) at com.sun.jndi.fscontext.RefFSContext.lookup (RefFSContext.java:149) at com.sun.jndi.fscontext.FSContext.lookup (FSContext.java:127) at javax.naming.InitialContext.lookup (InitialContext.java:347) at com.dlconsultant.gts.application.test.JTDSTest.testDatasourc e(JTDSTest.java:61)

jtds | oneeyejack | 1 decade ago
  1. 0

    how handle new behavior since 1.0.1

    jtds | 1 decade ago | oneeyejack
    java.lang.NumberFormatException: null]; remaining name '"java:comp/env/jdbc/mydatabase"' at com.sun.jndi.fscontext.FSContext.generateNamingException (FSContext.java:806) at com.sun.jndi.fscontext.RefFSContext.lookup (RefFSContext.java:149) at com.sun.jndi.fscontext.FSContext.lookup (FSContext.java:127) at javax.naming.InitialContext.lookup (InitialContext.java:347) at com.dlconsultant.gts.application.test.JTDSTest.testDatasourc e(JTDSTest.java:61)
  2. 0

    java.lang.NumberFormatException: For input string: "20110328094108069414"

    Stack Overflow | 6 years ago | Warrior
    java.lang.NumberFormatException: For input string: "20110328094108069414" 10:12:10,522 ERROR [STDERR] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) 10:12:10,522 ERROR [STDERR] at java.lang.Long.parseLong(Long.java:415) 10:12:10,522 ERROR [STDERR] at java.lang.Long.parseLong(Long.java:461) 10:12:10,522 ERROR [STDERR] at unilog.com.user.ejb.userDAOORCL.checkCWSUserReg(userDAOORCL.java:363) 10:12:10,522 ERROR [STDERR] at unilog.com.user.ejb.userEJBBean.checkCWSUserReg(userEJBBean.java:141) 10:12:10,522 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  3. 0

    need example on getAttribute() method Usage

    Google Groups | 7 years ago | mkr
    java.lang.NumberFormatException: For input string: "*0*"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I writed a javascript logger to wrap vertx's logger(see attachment)

    Google Groups | 3 years ago | lizhou
    java.lang.NumberFormatException: For input string: "aaaa" Error at : file:/home/lzh/dev/metrics/metric-monitor/target/classes/com/branchitech/vertx/ComputeWeight.js:36 Script Stack : at file:/home/lzh/dev/metrics/metric-monitor/target/classes/com/branchitech/vertx/ComputeWeight.js:36 java.lang.NumberFormatException : For input string: "aaaa" java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
  6. 0

    GitHub comment 38#73607187

    GitHub | 2 years ago | nchammas
    joptsimple.OptionArgumentConversionException: Cannot parse argument '4000000000 ' of option ['num-records']

  1. jk 2 times, last 7 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    null]; remaining name '"java:comp/env/jdbc/mydatabase"' at com.sun.jndi.fscontext.FSContext.generateNamingException (FSContext.java:806) at com.sun.jndi.fscontext.RefFSContext.lookup (RefFSContext.java:149) at com.sun.jndi.fscontext.FSContext.lookup (FSContext.java:127) at javax.naming.InitialContext.lookup (InitialContext.java:347) at com.dlconsultant.gts.application.test.JTDSTest.testDatasourc e(JTDSTest.java:61)

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  3. JUnit
    TestCase.run
    1. junit.framework.TestCase.runTest(TestCase.java:154)
    2. junit.framework.TestCase.runBare(TestCase.java:127)
    3. junit.framework.TestResult$1.protect(TestResult.java:106)
    4. junit.framework.TestResult.runProtected(TestResult.java:124)
    5. junit.framework.TestResult.run(TestResult.java:109)
    6. junit.framework.TestCase.run(TestCase.java:118)
    6 frames