Hi all.
If you visit the following screen: https://demo.hotwaxmedia.com/catalog/control/EditProductSuppliers?productId=WG-1111 and you click on the update link of one of the rows in the list, for example: https://demo.hotwaxmedia.com/catalog/control/EditProductSuppliers?productId=WG-1111&partyId=BigSupplier¤cyUomId=USD&minimumOrderQuantity=500&availableFromDate=2005-01-01%2000:00:00.000 You get a bad error, and in the log I've found the following useful information: java.lang.NullPointerException java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2452) java.util.Calendar.updateTime(Calendar.java:2260) java.util.Calendar.getTimeInMillis(Calendar.java:1044) java.util.Calendar.getTime(Calendar.java:1017) java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1178) java.text.DateFormat.parse(DateFormat.java:333) org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:597) org.ofbiz.entity.model.ModelEntity.convertFieldValue(ModelEntity.java: 1319) org .ofbiz .entity.model.ModelEntity.convertFieldMapInPlace(ModelEntity.java:1262) org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java: 96) org.ofbiz.widget.screen.ModelScreenAction $EntityOne.runAction(ModelScreenAction.java:506) org .ofbiz .widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java: 122) org.ofbiz.widget.screen.ModelScreenWidget $Section.renderWidgetString(ModelScreenWidget.java:218) org .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: 400) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) So it seems an issue with the format of the date... do you have any ideas of what could be the cause of this error? If not, I'm going to look into it. Thanks, Jacopo |
Jacopo,
This is probably due to my recent work on the default locale. I will look into it. -Adrian Jacopo Cappellato wrote: > Hi all. > > If you visit the following screen: > > https://demo.hotwaxmedia.com/catalog/control/EditProductSuppliers?productId=WG-1111 > > > and you click on the update link of one of the rows in the list, for > example: > > https://demo.hotwaxmedia.com/catalog/control/EditProductSuppliers?productId=WG-1111&partyId=BigSupplier¤cyUomId=USD&minimumOrderQuantity=500&availableFromDate=2005-01-01%2000:00:00.000 > > > You get a bad error, and in the log I've found the following useful > information: > > java.lang.NullPointerException > java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2452) > java.util.Calendar.updateTime(Calendar.java:2260) > java.util.Calendar.getTimeInMillis(Calendar.java:1044) > java.util.Calendar.getTime(Calendar.java:1017) > java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1178) > java.text.DateFormat.parse(DateFormat.java:333) > org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:597) > org.ofbiz.entity.model.ModelEntity.convertFieldValue(ModelEntity.java:1319) > org.ofbiz.entity.model.ModelEntity.convertFieldMapInPlace(ModelEntity.java:1262) > > org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:96) > org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScreenAction.java:506) > > org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) > > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:218) > > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) > > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) > > > So it seems an issue with the format of the date... do you have any > ideas of what could be the cause of this error? > > If not, I'm going to look into it. Thanks, > > Jacopo > |
Fixed, rev 662825.
Adrian Crum wrote: > Jacopo, > > This is probably due to my recent work on the default locale. I will > look into it. > > -Adrian > > Jacopo Cappellato wrote: >> Hi all. >> >> If you visit the following screen: >> >> https://demo.hotwaxmedia.com/catalog/control/EditProductSuppliers?productId=WG-1111 >> >> >> and you click on the update link of one of the rows in the list, for >> example: >> >> https://demo.hotwaxmedia.com/catalog/control/EditProductSuppliers?productId=WG-1111&partyId=BigSupplier¤cyUomId=USD&minimumOrderQuantity=500&availableFromDate=2005-01-01%2000:00:00.000 >> >> >> You get a bad error, and in the log I've found the following useful >> information: >> >> java.lang.NullPointerException >> java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2452) >> java.util.Calendar.updateTime(Calendar.java:2260) >> java.util.Calendar.getTimeInMillis(Calendar.java:1044) >> java.util.Calendar.getTime(Calendar.java:1017) >> java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1178) >> java.text.DateFormat.parse(DateFormat.java:333) >> org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:597) >> org.ofbiz.entity.model.ModelEntity.convertFieldValue(ModelEntity.java:1319) >> >> org.ofbiz.entity.model.ModelEntity.convertFieldMapInPlace(ModelEntity.java:1262) >> >> org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:96) >> >> org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScreenAction.java:506) >> >> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) >> >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:218) >> >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) >> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) >> >> >> So it seems an issue with the format of the date... do you have any >> ideas of what could be the cause of this error? >> >> If not, I'm going to look into it. Thanks, >> >> Jacopo >> > |
Wow,
thanks Adrian. Jacopo On Jun 3, 2008, at 5:20 PM, Adrian Crum wrote: > Fixed, rev 662825. > > > Adrian Crum wrote: >> Jacopo, >> This is probably due to my recent work on the default locale. I >> will look into it. >> -Adrian >> Jacopo Cappellato wrote: >>> Hi all. >>> >>> If you visit the following screen: >>> >>> https://demo.hotwaxmedia.com/catalog/control/EditProductSuppliers?productId=WG-1111 >>> >>> and you click on the update link of one of the rows in the list, >>> for example: >>> >>> https://demo.hotwaxmedia.com/catalog/control/EditProductSuppliers?productId=WG-1111&partyId=BigSupplier¤cyUomId=USD&minimumOrderQuantity=500&availableFromDate=2005-01-01%2000:00:00.000 >>> >>> You get a bad error, and in the log I've found the following >>> useful information: >>> >>> java.lang.NullPointerException >>> java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2452) >>> java.util.Calendar.updateTime(Calendar.java:2260) >>> java.util.Calendar.getTimeInMillis(Calendar.java:1044) >>> java.util.Calendar.getTime(Calendar.java:1017) >>> java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1178) >>> java.text.DateFormat.parse(DateFormat.java:333) >>> org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java: >>> 597) >>> org >>> .ofbiz.entity.model.ModelEntity.convertFieldValue(ModelEntity.java: >>> 1319) >>> org >>> .ofbiz >>> .entity.model.ModelEntity.convertFieldMapInPlace(ModelEntity.java: >>> 1262) >>> org >>> .ofbiz >>> .entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:96) >>> org.ofbiz.widget.screen.ModelScreenAction >>> $EntityOne.runAction(ModelScreenAction.java:506) >>> org >>> .ofbiz >>> .widget >>> .screen.ModelScreenAction.runSubActions(ModelScreenAction.java:122) >>> org.ofbiz.widget.screen.ModelScreenWidget >>> $Section.renderWidgetString(ModelScreenWidget.java:218) >>> org >>> .ofbiz >>> .widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) >>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java: >>> 129) >>> >>> >>> So it seems an issue with the format of the date... do you have >>> any ideas of what could be the cause of this error? >>> >>> If not, I'm going to look into it. Thanks, >>> >>> Jacopo >>> |
Free forum by Nabble | Edit this page |