This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Mastering Corda: Blockchain for Java Developers and have Jamiel Sheikh on-line!
See this thread for details.
Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!

Johnny Blaze

Greenhorn
+ Follow
since Dec 23, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Johnny Blaze

Hi Everyone! I'm trying to get 100% code coverage for a particular service class, but a dynamic search method that I successfully implemented is denying me from obtaining that. Please help. The method uses the criteria api to return search results from a MySQL database. Here is the method.



All lines are covered except for when it hits the 2nd to the last line. It throws a NullPointerException. Here is the unit test so far:


3 weeks ago