关于java空指针异常
at java.util.Properties$LineReader.readLine(Properties.java:418) at java.util.Properties.load0(Properties.java:337) at java.util.Properties.load(Properties.java:325) at com.tuan.util.ReadPropertiesUtil.(ReadPropertiesUtil.java:15) at com.tuan.util.ReadPropertiesUtil.getInstance(ReadPropertiesUtil.java:23) at com.tuan.util.Dbutil.(Dbutil.java:17) at com.tuan.util.Dbutil.getInsstance(Dbutil.java:26) at com.tuan.parser.AreaRecognize.(AreaRecognize.java:33) at com.tuan.parser.AreaRecognize.getInstance(AreaRecognize.java:86) at com.tuan.parser.pnuomi.parseTuanInfo(pnuomi.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.tuan.util.DynClassLoader.callMethod(DynClassLoader.java:59) at ParserTester.main(ParserTester.java:83)java.lang.NullPointerException at com.tuan.parser.AreaRecognize.(AreaRecognize.java:34) at com.tuan.parser.AreaRecognize.getInstance(AreaRecognize.java:86) at com.tuan.parser.pnuomi.parseTuanInfo(pnuomi.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.tuan.util.DynClassLoader.callMethod(DynClassLoader.java:59) at ParserTester.main(ParserTester.java:83)[2010-8-22 12:01:24] [ERROR][main] public com.tuan.parser.TuanInfo com.tuan.parser.pnuomi.parseTuanInfo(java.lang.String) is error please check error:java.lang.reflect.InvocationTargetExceptionjava.lang.NullPointerException at ParserTester.main(ParserTester.java:89)老是报这样的错我第一次运行明明没有错误的 debug 也没问题 就是运行就出错谁告诉告诉我
作业帮用户2016-11-22举报