users@glassfish.java.net

[gf-users] GF crashed

From: Andreas Junius <andreas_at_junius.info>
Date: Tue, 04 Aug 2015 09:11:17 +0930

Hi all,

My GF 4.1 instance crashed a few days ago. The last log message was
about a StringIndexOutOfBoundsException (see below). The instance was
running for months without any issues or restarts. Does anyone know what
may have caused the exception listed below? Is it even possible that
this exception caused the crash?

Cheers,
Andy

[2015-08-02T12:35:49.061+0930] [glassfish 4.1] [SEVERE] [] [] [tid:
_ThreadID=146 _ThreadName=Thread-9] [timeMillis: 1438484749061]
[levelValue: 1000] [[
   java.lang.StringIndexOutOfBoundsException: String index out of range: 108
        at java.lang.String.charAt(String.java:646)
        at java.lang.Character.codePointAt(Character.java:4866)
        at java.util.regex.Pattern$CharProperty.match(Pattern.java:3775)
        at java.util.regex.Pattern$Curly.match0(Pattern.java:4260)
        at java.util.regex.Pattern$Curly.match(Pattern.java:4234)
        at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)
        at java.util.regex.Pattern$Start.match(Pattern.java:3461)
        at java.util.regex.Matcher.search(Matcher.java:1248)
        at java.util.regex.Matcher.find(Matcher.java:637)
        at
org.glassfish.config.support.TranslatedConfigView.getTranslatedValue(TranslatedConfigView.java:102)
        at
org.glassfish.config.support.TranslatedConfigView.invoke(TranslatedConfigView.java:131)
        at com.sun.proxy.$Proxy80.getValue(Unknown Source)
        at
com.sun.enterprise.config.serverbeans.Application$Duck.getDeployProperties(Application.java:352)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.jvnet.hk2.config.Dom.invokeDuckMethod(Dom.java:1113)
        at org.jvnet.hk2.config.Dom.invoke(Dom.java:1064)
        at
org.glassfish.config.support.TranslatedConfigView.invoke(TranslatedConfigView.java:131)
        at com.sun.proxy.$Proxy116.getDeployProperties(Unknown Source)
        at
com.sun.enterprise.v3.server.DynamicReloader.chooseAppsToReload(DynamicReloader.java:187)
        at
com.sun.enterprise.v3.server.DynamicReloader.reloadApps(DynamicReloader.java:163)
        at
com.sun.enterprise.v3.server.DynamicReloader.run(DynamicReloader.java:146)
        at
com.sun.enterprise.v3.server.DynamicReloadService$1.run(DynamicReloadService.java:164)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)]]