The most powerful bug

Source: Internet
Author: User

This is a bug I encountered when I was working on the project. I haven't processed it all day! Seeking for help is still not handled! I have handled it myself!

I personally think there is a problem with the ing file, but I didn't find it! The processing method is to fill in the int type data of the corresponding table of the database!

 

 

Org. hibernate. propertyaccessexception: null value was assigned to a property of primitive type setter of CN. csdn. domain. Goods. g_number
At org. hibernate. Property. basicpropertyaccessor $ basicsetter. Set (basicpropertyaccessor. Java: 109)
At org. hibernate. tuple. entity. abstractentitytuplizer. setpropertyvalues (abstractentitytuplizer. Java: 583)
At org. hibernate. tuple. entity. pojoentitytuplizer. setpropertyvalues (pojoentitytuplizer. Java: 229)
At org. hibernate. persister. entity. abstractentitypersister. setpropertyvalues (abstractentitypersister. Java: 3847)
At org. hibernate. Engine. twophaseload. initializeentity (twophaseload. Java: 152)
At org. hibernate. loader. loader. initializeentitiesandcollections (loader. Java: 982)
At org. hibernate. loader. loader. docquery (loader. Java: 857)
At org. hibernate. loader. loader. doqueryandinitializenonlazycollections (loader. Java: 274)
At org. hibernate. loader. loader. loadentity (loader. Java: 2037)
At org. hibernate. loader. entity. abstractentityloader. Load (abstractentityloader. Java: 86)
At org. hibernate. loader. entity. abstractentityloader. Load (abstractentityloader. Java: 76)
At org. hibernate. persister. entity. abstractentitypersister. Load (abstractentitypersister. Java: 3293)
At org. hibernate. event. Def. defaultloadeventlistener. loadfromdatasource (defaloadloadeventlistener. Java: 496)
At org. hibernate. event. Def. defaultloadeventlistener. doload (defaultloadeventlistener. Java: 477)
At org. hibernate. event. Def. defaultloadeventlistener. Load (defaultloadeventlistener. Java: 227)
At org. hibernate. event. Def. defaultloadeventlistener. proxyorload (defaloadloadeventlistener. Java: 285)
At org. hibernate. event. Def. defaultloadeventlistener. onload (defaultloadeventlistener. Java: 152)
At org. hibernate. impl. sessionimpl. fireload (sessionimpl. Java: 1090)
At org. hibernate. impl. sessionimpl. Get (sessionimpl. Java: 1005)
At org. hibernate. impl. sessionimpl. Get (sessionimpl. Java: 998)
At CN. csdn. utils. basedaoimpl. getobjectbyid (basedaoimpl. Java: 57)
At CN. csdn. Test. admintest. delete12 (admintest. Java: 61)
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 org. JUnit. Runners. model. frameworkmethod $1. runreflectivecall (frameworkmethod. Java: 44)
At org. JUnit. Internal. Runners. model. reflectivecallable. Run (reflectivecallable. Java: 15)
At org. JUnit. Runners. model. frameworkmethod. invokeexplosively (frameworkmethod. Java: 41)
At org. JUnit. Internal. Runners. Statements. invokemethod. Evaluate (invokemethod. Java: 20)
At org. JUnit. Runners. blockjunit4classrunner. runchild (blockjunit4classrunner. Java: 76)
At org. JUnit. Runners. blockjunit4classrunner. runchild (blockjunit4classrunner. Java: 50)
At org. JUnit. Runners. parentrunner $ 3.run( parentrunner. Java: 193)
At org. JUnit. Runners. parentrunner $1. Schedule (parentrunner. Java: 52)
At org. JUnit. Runners. parentrunner. runchildren (parentrunner. Java: 191)
At org. JUnit. Runners. parentrunner. Access $000 (parentrunner. Java: 42)
At org. JUnit. Runners. parentrunner $2. Evaluate (parentrunner. Java: 184)
At org. JUnit. Runners. parentrunner. Run (parentrunner. Java: 236)
At org. Eclipse. jdt. Internal. junit4.runner. junit4testreference. Run (junit4testreference. Java: 49)
At org. Eclipse. jdt. Internal. JUnit. Runner. testexecution. Run (testexecution. Java: 38)
At org. Eclipse. jdt. Internal. JUnit. Runner. remotetestrunner. runtests (remotetestrunner. Java: 467)
At org. Eclipse. jdt. Internal. JUnit. Runner. remotetestrunner. runtests (remotetestrunner. Java: 683)
At org. Eclipse. jdt. Internal. JUnit. Runner. remotetestrunner. Run (remotetestrunner. Java: 390)
At org. Eclipse. jdt. Internal. JUnit. Runner. remotetestrunner. Main (remotetestrunner. Java: 197)
Caused by: Java. Lang. illegalargumentexception
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 org. hibernate. Property. basicpropertyaccessor $ basicsetter. Set (basicpropertyaccessor. Java: 66)
... 43 more

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.