The Java exception thrown when an application attempts to use null in a case where an object is required.
When there are no rows, both query.list() and criteria.list() are returning empty list instead of a null value. …
java hibernate collections nullpointerexception return-valueWhen using Collection.sort in Java what should I return when one of the inner objects is null Example: Collections.…
java sorting collections nullpointerexceptionEvery so often when programmers are complaining about null errors/exceptions someone asks what we do without null. I have …
programming-languages functional-programming null nullpointerexception non-nullableI allways get this java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' …
android nullpointerexception android-volley android-contextI am making a program for SFTP in NetBeans. Some part of My code: com.jcraft.jsch.Session sessionTarget = null; …
java netbeans nullpointerexception dereferenceI'm trying to implement sliding tab layout using android material design. But it gives me NullPointerException. Here is my code …
android android-fragments nullpointerexception android-viewpager android-tabsWhy do Double.parseDouble(null) and Integer.parseInt(null) throw different exceptions? Is this a historical accident or intentional? The …
java exception nullpointerexception numberformatexceptionThis snippet throws an NullPointerException due to the fact that its unboxed to a primitive type and Long.longValue() is …
java nullpointerexceptionUpgrading Java from 7u161 to 7u171 prevents JBoss AS 7.1.1.Final from starting. I know JBoss AS 7.1.1 is EOL but for …
java jboss nullpointerexception compatibilityI am writing a project that reads a file and sorts "Words". This code compiles correctly, yet then it gives …
java hash nullpointerexception native-methods drjava