Blank Screen In POS application
------------------------------- Key: OFBIZ-1186 URL: https://issues.apache.org/jira/browse/OFBIZ-1186 Project: OFBiz Issue Type: Bug Components: pos Affects Versions: SVN trunk Environment: Ubuntu Linux 7.04 Feisty Fawn (Spanish-Chile) Jdk1.5 Tomcat 5.5 Reporter: Cristian Salinas When executing the POS application we only get a blank screen without any data in it and the next message: Exception in thread "main" java.lang.ExceptionInInitializerError at org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:94) at net.xoetrope.xui.XPageManager.loadPage(Unknown Source) at net.xoetrope.xui.XPageManager.loadPage(Unknown Source) at net.xoetrope.xui.XPageManager.showPage(Unknown Source) at net.xoetrope.xui.XPageManager.showPage(Unknown Source) at net.xoetrope.swing.XApplet.setHome(Unknown Source) at net.xoetrope.swing.XApplet.setContent(Unknown Source) at net.xoetrope.swing.XApplet.initialise(Unknown Source) at net.xoetrope.swing.XApplet.setup(Unknown Source) at org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145) at org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:82) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:314) at org.ofbiz.base.start.Start.start(Start.java:318) at org.ofbiz.base.start.Start.main(Start.java:404) Caused by: java.lang.IllegalArgumentException: Illegal pattern character 'o' at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:678) at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:446) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:427) at org.ofbiz.pos.component.Operator.<clinit>(Operator.java:52) ... 16 more When i changed the lenguaje of the Operative system to English (USA) The problem dissapears. I think it has something to do with the latin-date-format. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-1186: -------------------------------------- Assignee: Jacques Le Roux > Blank Screen In POS application > ------------------------------- > > Key: OFBIZ-1186 > URL: https://issues.apache.org/jira/browse/OFBIZ-1186 > Project: OFBiz > Issue Type: Bug > Components: pos > Affects Versions: SVN trunk > Environment: Ubuntu Linux 7.04 Feisty Fawn (Spanish-Chile) Jdk1.5 Tomcat 5.5 > Reporter: Cristian Salinas > Assignee: Jacques Le Roux > > When executing the POS application we only get a blank screen without any data in it and the next message: > Exception in thread "main" java.lang.ExceptionInInitializerError > at org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:94) > at net.xoetrope.xui.XPageManager.loadPage(Unknown Source) > at net.xoetrope.xui.XPageManager.loadPage(Unknown Source) > at net.xoetrope.xui.XPageManager.showPage(Unknown Source) > at net.xoetrope.xui.XPageManager.showPage(Unknown Source) > at net.xoetrope.swing.XApplet.setHome(Unknown Source) > at net.xoetrope.swing.XApplet.setContent(Unknown Source) > at net.xoetrope.swing.XApplet.initialise(Unknown Source) > at net.xoetrope.swing.XApplet.setup(Unknown Source) > at org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145) > at org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99) > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:82) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > at org.ofbiz.base.start.Start.startServer(Start.java:314) > at org.ofbiz.base.start.Start.start(Start.java:318) > at org.ofbiz.base.start.Start.main(Start.java:404) > Caused by: java.lang.IllegalArgumentException: Illegal pattern character 'o' > at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:678) > at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497) > at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:446) > at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:427) > at org.ofbiz.pos.component.Operator.<clinit>(Operator.java:52) > ... 16 more > When i changed the lenguaje of the Operative system to English (USA) The problem dissapears. I think it has something to do with the latin-date-format. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-1186. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk It came from a wrong l10n of DateFormat DateFormat=Formato de fechas I put back the default value for DateFormat and DateTimeFormat (later was missing) DateFormat=EEE MMM dd DateTimeFormat='the' yyyy MMMMM dd 'at' hh:mm:ss aaa I agree that it's strange to mix i18n labels and date format parameters, this come from legacy and could be changed if really needed... > Blank Screen In POS application > ------------------------------- > > Key: OFBIZ-1186 > URL: https://issues.apache.org/jira/browse/OFBIZ-1186 > Project: OFBiz > Issue Type: Bug > Components: pos > Affects Versions: SVN trunk > Environment: Ubuntu Linux 7.04 Feisty Fawn (Spanish-Chile) Jdk1.5 Tomcat 5.5 > Reporter: Cristian Salinas > Assignee: Jacques Le Roux > Fix For: SVN trunk > > > When executing the POS application we only get a blank screen without any data in it and the next message: > Exception in thread "main" java.lang.ExceptionInInitializerError > at org.ofbiz.pos.screen.PosScreen.pageCreated(PosScreen.java:94) > at net.xoetrope.xui.XPageManager.loadPage(Unknown Source) > at net.xoetrope.xui.XPageManager.loadPage(Unknown Source) > at net.xoetrope.xui.XPageManager.showPage(Unknown Source) > at net.xoetrope.xui.XPageManager.showPage(Unknown Source) > at net.xoetrope.swing.XApplet.setHome(Unknown Source) > at net.xoetrope.swing.XApplet.setContent(Unknown Source) > at net.xoetrope.swing.XApplet.initialise(Unknown Source) > at net.xoetrope.swing.XApplet.setup(Unknown Source) > at org.ofbiz.guiapp.xui.XuiContainer$XuiScreen.setup(XuiContainer.java:145) > at org.ofbiz.guiapp.xui.XuiContainer.start(XuiContainer.java:99) > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:82) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > at org.ofbiz.base.start.Start.startServer(Start.java:314) > at org.ofbiz.base.start.Start.start(Start.java:318) > at org.ofbiz.base.start.Start.main(Start.java:404) > Caused by: java.lang.IllegalArgumentException: Illegal pattern character 'o' > at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:678) > at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497) > at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:446) > at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:427) > at org.ofbiz.pos.component.Operator.<clinit>(Operator.java:52) > ... 16 more > When i changed the lenguaje of the Operative system to English (USA) The problem dissapears. I think it has something to do with the latin-date-format. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |