Sergio,

Thanks!

You can also raise a JIRA issue regarding this aspect, so that it won't be
forgotten when vetting for JDK 8 starts.

Regards,

Pierre Smits

*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com


On Wed, Apr 9, 2014 at 3:14 PM, Sergio G Barreros <[email protected]>wrote:

> Sure, I was running jdk 8 from oracle, the latest version at the moment.
> I then downgraded to jdk 7 and the issue was solved.
>
> Thank you.
>
> Regards,
> Sergio
>
>
>
> On Wed, Apr 9, 2014 at 4:31 AM, Pierre Smits <[email protected]>
> wrote:
>
> > Hi Sergio,
> >
> > Could you please inform the community of the make and version of the JDK
> > you used when getting the issues?
> >
> > Regards,
> >
> > Pierre Smits
> >
> > *ORRTIZ.COM <http://www.orrtiz.com>*
> > Services & Solutions for Cloud-
> > Based Manufacturing, Professional
> > Services and Retail & Trade
> > http://www.orrtiz.com
> >
> >
> > On Wed, Apr 9, 2014 at 4:38 AM, Sergio G Barreros <[email protected]
> > >wrote:
> >
> > > Thank you Pierre for your help in troubleshooting this issue.
> > > I tried running the commands above, but kept on running into the same
> > > issue, and then I read somewhere that people were having issues with
> some
> > > jdk versions.
> > > I decided to downgrade to jdk 7 and that took care of the issue.
> > >
> > > Thanks again, just wanted to post in case someone else runs into the
> same
> > > problem.
> > >
> > >
> > >
> > > Regards,
> > > Sergio
> > >
> > >
> > >
> > > On Sun, Apr 6, 2014 at 6:32 AM, Pierre Smits <[email protected]>
> > > wrote:
> > >
> > > > Hi Sergio,
> > > >
> > > > This is the correct channel to ask questions regarding the
> > implementation
> > > > of usage of OFBiz in your environment.
> > > >
> > > > Did you perform following in the folder where you unpacked or
> installed
> > > > OFBiz:
> > > >
> > > >    1. ./ant clean-all (to clean logs, database, jars,etc)
> > > >    2. ./ant build (to rebuild the jars)
> > > >    3. ./ant load-demo (to load the demo data provided, including
> seed,
> > > etc)
> > > >    4. ./ant start
> > > >
> > > >
> > > > Regards
> > > >
> > > > Pierre Smits
> > > >
> > > > *ORRTIZ.COM <http://www.orrtiz.com>*
> > > > Services & Solutions for Cloud-
> > > > Based Manufacturing, Professional
> > > > Services and Retail & Trade
> > > > http://www.orrtiz.com
> > > >
> > > >
> > > > On Sun, Apr 6, 2014 at 1:18 AM, Sergio G Barreros <
> > [email protected]
> > > > >wrote:
> > > >
> > > > > Hello all,
> > > > > I'm new to ofbiz, and recently installed a new copy in my linux
> > > machine.
> > > > > However when I try to access the ecommerce application I get this
> > > console
> > > > > error and the webpage does not display properly.
> > > > > Don't know if this is the correct channel to request for help, if
> it
> > > > isn't
> > > > > please let me know where I should be posting these kinds of
> > questions.
> > > > >
> > > > >
> > > > >
> > > > >  [java] 2014-04-05 19:01:31,904 (http-bio-0.0.0.0-8080-exec-17) [
> > > > >  ModelScreen.java:429:ERROR]
> > > > >      [java] ---- exception report
> > > > > ----------------------------------------------------------
> > > > >      [java] Could not commit transaction:
> > > > > org.ofbiz.entity.transaction.GenericTransactionException: Roll back
> > > > error,
> > > > > could not commit transaction, was rolled back instead because of:
> > Error
> > > > > rendering screen
> > > > [component://ecommerce/widget/CommonScreens.xml#language]:
> > > > > java.lang.StringIndexOutOfBoundsException: String index out of
> range:
> > > > > 2java.lang.StringIndexOutOfBoundsException: String index out of
> > range:
> > > 2
> > > > > (String index out of range: 2)
> > > > >      [java] Exception:
> > > > > org.ofbiz.entity.transaction.GenericTransactionException
> > > > >      [java] Message: Roll back error, could not commit transaction,
> > was
> > > > > rolled back instead because of: Error rendering screen
> > > > > [component://ecommerce/widget/CommonScreens.xml#language]:
> > > > > java.lang.StringIndexOutOfBoundsException: String index out of
> range:
> > > > > 2java.lang.StringIndexOutOfBoundsException: String index out of
> > range:
> > > 2
> > > > > (String index out of range: 2)
> > > > >      [java] ---- cause
> > > > >
> ---------------------------------------------------------------------
> > > > >      [java] Exception: java.lang.StringIndexOutOfBoundsException
> > > > >      [java] Message: String index out of range: 2
> > > > >      [java] ---- stack trace
> > > > > ---------------------------------------------------------------
> > > > >      [java] java.lang.StringIndexOutOfBoundsException: String index
> > out
> > > > of
> > > > > range: 2
> > > > >      [java] java.lang.String.substring(String.java:1950)
> > > > >      [java]
> > > > >
> > > >
> > >
> >
> freemarker.core.StringBuiltins$substringBI$1.exec(StringBuiltins.java:220)
> > > > >      [java]
> > > > > freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> > > > >      [java]
> > > > > freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> > > > >      [java]
> > > > freemarker.core.ListLiteral.getModelList(ListLiteral.java:119)
> > > > >      [java]
> > > > > freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:89)
> > > > >      [java]
> > > > > freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
> > > > >      [java] freemarker.core.Expression.isTrue(Expression.java:138)
> > > > >      [java]
> > > > > freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)
> > > > >      [java] freemarker.core.Environment.visit(Environment.java:221)
> > > > >      [java]
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> > > > >      [java] freemarker.core.Environment.visit(Environment.java:221)
> > > > >      [java]
> > > > >
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
> > > > >      [java] freemarker.core.Environment.visit(Environment.java:428)
> > > > >      [java]
> > > freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
> > > > >      [java] freemarker.core.Environment.visit(Environment.java:221)
> > > > >      [java]
> freemarker.core.MixedContent.accept(MixedContent.java:92)
> > > > >      [java] freemarker.core.Environment.visit(Environment.java:221)
> > > > >      [java]
> freemarker.core.Environment.process(Environment.java:199)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257)
> > > > >      [java]
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:225)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:270)
> > > > >      [java]
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:130)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:920)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:518)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:518)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:260)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:260)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:585)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> > > > >      [java]
> > > > >
> > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> > > > >      [java]
> > > > >
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
> > > > >      [java]
> > > > >
> > > >
> > >
> >
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:865)
> > > > >      [java]
> > > > >
> > > >
> > >
> >
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:582)
> > > > >      [java]
> > > > >
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
> > > > >      [java]
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> > > > >      [java]
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746)
> > > > >      [java]
> > > > >
> > > >
> > >
> >
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
> > > > >      [java] org.apache.jsp.index_jsp._jspService(index_jsp.java:65)
> > > > >      [java]
> > > > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> > > > >      [java]
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
> > > > >      [java]
> > > > >
> > >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
> > > > >      [java]
> > > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
> > > > >      [java]
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >      [java]
> > > > >
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:337)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.content.content.ContentUrlFilter.doFilter(ContentUrlFilter.java:106)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:336)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > >      [java]
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> > > > >      [java]
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> > > > >      [java]
> > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> > > > >      [java] java.lang.Thread.run(Thread.java:744)
> > > > >
> > > > > Regards,
> > > > > Sergio
> > > > >
> > > >
> > >
> >
>

Reply via email to