Java Runtime errors

Core environment and runtime library

https://java.com
Solution coverage:
Summary coverage:

DescriptionException TypeEntry MethodWeb pages

String.replaceFirst() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
java.lang.String.replaceFirst
9Web pages
NullPointerExceptionString.replaceFirst9

String.replaceFirst() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
java.lang.String.replaceFirst
1Web pages
NullPointerExceptionString.replaceFirst1
Package namePatterns foundSolution coverageSummary coverage
java.lang7927
java.util.concurrent4667
java.io4419
java.lang.reflect4019
java.awt2397
java.net2282
sun.reflect2209
java.util1921
javax.swing1636
java.security1033
javax.naming1017
java.sql803
sun.net.www.protocol.http740
sun.net.www.protocol.https718
sun.nio.ch466
sun.rmi.server381
sun.rmi.transport.tcp326
java.util.zip322
com.sun.jndi.ldap289
java.util.regex285
com.sun.org.apache.xerces.internal.impl269
sun.net.www.http261
java.nio.file257
com.sun.org.apache.xerces.internal.parsers247
javax.swing.plaf.basic240
sun.misc236
java.util.logging172
com.sun.org.apache.xerces.internal.jaxp168
java.util.jar162
java.beans160
javax.swing.text158
java.nio157
sun.rmi.registry151
java.util.stream143
javax.security.auth.login143
java.text143
javax.management.remote.rmi142
java.rmi137
javax.imageio135
sun.rmi.transport134
sun.nio.cs131
javax.net.ssl129
java.awt.event124
com.sun.org.apache.xalan.internal.xsltc.trax117
java.awt.image115
javax.security.auth115
java.nio.channels110
java.rmi.server92
java.util.concurrent.locks90
javax.naming.directory88
Package nameClass namePatterns foundSolution coverageSummary coverage
java.langClassLoader2678
java.langClass2157
java.langThread1300
java.langString320
java.langThrowable278
java.langSystem172
java.langRuntime146
java.langStringBuilder119
java.langSecurityManager97
java.langStringBuffer59
java.langInteger58
java.langObject49
java.langDouble47
java.langAbstractStringBuilder43
java.langProcessBuilder43
java.langException40
java.langThreadGroup34
java.langLong33
java.langFloat28
java.langStringCoding21
java.langRuntimeException19
java.langProcessImpl14
java.langEnum13
java.langThreadLocal12
java.langByte12
java.langClassLoader$NativeLibrary11
java.langCharacter10
java.langUNIXProcess9
java.langNumberFormatException8
java.langClassNotFoundException8
java.langError8
java.langNullPointerException6
java.langIterable6
java.langShort6
java.langMath4
java.langClassLoader$14
java.langSecurityException4
java.langBoolean4
java.langNoClassDefFoundError4
java.langShutdown3
java.langClassCastException3
java.langLinkageError3
java.langIllegalArgumentException3
java.langThreadLocal$ThreadLocalMap2
java.langProcessEnvironment2
java.langStringCoding$StringDecoder2
java.langUNIXProcess$DeferredCloseInputStream2
java.langClassloader2
java.langIllegalStateException2
java.langOutOfMemoryError1
Package nameClass nameMethod namePatterns foundSolution coverage
java.langString<init>54
java.langStringformat48
java.langStringvalueOf36
java.langStringgetBytes24
java.langStringreplaceAll18
java.langStringsplit18
java.langStringsubstring17
java.langStringreplaceFirst11
java.langStringreplace10
java.langStringtoLowerCase10
java.langStringmatches7
java.langStringstartsWith6
java.langStringgetChars6
java.langStringlastIndexOf5
java.langStringindexOf5
java.langStringcharAt5
java.langStringsubSequence4
java.langStringcompareTo4
java.langStringequalsIgnoreCase3
java.langStringconcat3
java.langStringcompareToIgnoreCase3
java.langStringcheckBounds2
java.langStringlength2
java.langStringhashCode2
java.langStringequals2
java.langStringendsWith2
java.langStringindexAndLength1
java.langStringregionMatches1
java.langString_getChars1
java.langStringintern1
java.langStringcodePointAt1
java.langStringcontentEquals1
java.langStringtoCharArray1
java.langStringfailedBoundsCheck1
java.langStringinit1
java.langStringcopyValueOf1
java.langStringjoin1
java.langStringcontains1
java.langStringstartEndAndLength1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
java.langStringreplaceFirstPatternSyntaxException5
java.langStringreplaceFirstNullPointerException2
java.langStringreplaceFirstIndexOutOfBoundsException2
java.langStringreplaceFirstIllegalArgumentException1
java.langStringreplaceFirstStringIndexOutOfBoundsException1