You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2016/02/25 15:40:18 UTC
[jira] [Created] (OFBIZ-6917) Error with
UtilMisc.availableLocales() shows with Java 8
Jacques Le Roux created OFBIZ-6917:
--------------------------------------
Summary: Error with UtilMisc.availableLocales() shows with Java 8
Key: OFBIZ-6917
URL: https://issues.apache.org/jira/browse/OFBIZ-6917
Project: OFBiz
Issue Type: Bug
Affects Versions: Release Branch 12.04
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux
Fix For: 12.04.06
I encountered this error while working on OFBIZ-6650. I noticed that when you use R12.04 with Java 8 front-end is completly messed up, even locally.
This is due to the "language" screen in CommonScreens, if you comment it out from <screen name="rightbar"> then it's OK.
The error is
{code}
Error in request handler:
Exception: org.ofbiz.widget.screen.ScreenRenderException
Message: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#language]: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 (String index out of range: 2)
---- cause ---------------------------------------------------------------------
Exception: java.lang.StringIndexOutOfBoundsException
Message: String index out of range: 2
{code}
It's OK with Java 1.7
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)