timesheet problem with renderer in trunk version 767770 with standard demo data and admin user
---------------------------------------------------------------------------------------------- Key: OFBIZ-2345 URL: https://issues.apache.org/jira/browse/OFBIZ-2345 Project: OFBiz Issue Type: Sub-task Reporter: Hans Bakker goto project -> mytime: (if i reverse the rev 767101 it works) error message in log: 2009-04-23 10:48:41,245 (http-0.0.0.0-8443-1) [ ModelScreen.java:398:ERROR] Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException. Rolling back transaction. 2009-04-23 10:48:41,246 (http-0.0.0.0-8443-1) [ TransactionUtil.java:321:WARN ] ---- exception report ---------------------------------------------------------- [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: Exception: java.lang.Exception Message: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException ---- stack trace --------------------------------------------------------------- java.lang.Exception: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:321) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:268) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401) org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) -- 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-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato reassigned OFBIZ-2345: ---------------------------------------- Assignee: Jacopo Cappellato > timesheet problem with renderer in trunk version 767770 with standard demo data and admin user > ---------------------------------------------------------------------------------------------- > > Key: OFBIZ-2345 > URL: https://issues.apache.org/jira/browse/OFBIZ-2345 > Project: OFBiz > Issue Type: Sub-task > Reporter: Hans Bakker > Assignee: Jacopo Cappellato > > goto project -> mytime: (if i reverse the rev 767101 it works) > error message in log: > 2009-04-23 10:48:41,245 (http-0.0.0.0-8443-1) [ ModelScreen.java:398:ERROR] Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException. Rolling back transaction. > 2009-04-23 10:48:41,246 (http-0.0.0.0-8443-1) [ TransactionUtil.java:321:WARN ] > ---- exception report ---------------------------------------------------------- > [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: > Exception: java.lang.Exception > Message: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException > ---- stack trace --------------------------------------------------------------- > java.lang.Exception: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException > org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:321) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:268) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401) > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) -- 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-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701830#action_12701830 ] WeizhanGuo commented on OFBIZ-2345: ----------------------------------- Jacopo, I will update my local ofbiz to the last trunk and see why this happened tonight! > timesheet problem with renderer in trunk version 767770 with standard demo data and admin user > ---------------------------------------------------------------------------------------------- > > Key: OFBIZ-2345 > URL: https://issues.apache.org/jira/browse/OFBIZ-2345 > Project: OFBiz > Issue Type: Sub-task > Reporter: Hans Bakker > Assignee: Jacopo Cappellato > > goto project -> mytime: (if i reverse the rev 767101 it works) > error message in log: > 2009-04-23 10:48:41,245 (http-0.0.0.0-8443-1) [ ModelScreen.java:398:ERROR] Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException. Rolling back transaction. > 2009-04-23 10:48:41,246 (http-0.0.0.0-8443-1) [ TransactionUtil.java:321:WARN ] > ---- exception report ---------------------------------------------------------- > [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: > Exception: java.lang.Exception > Message: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException > ---- stack trace --------------------------------------------------------------- > java.lang.Exception: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException > org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:321) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:268) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401) > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) -- 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-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato closed OFBIZ-2345. ------------------------------------ Resolution: Fixed Thanks for the report Hans, this is fixed in rev. 767860 Thanks Guo for your interest, it was actually easy to fix. > timesheet problem with renderer in trunk version 767770 with standard demo data and admin user > ---------------------------------------------------------------------------------------------- > > Key: OFBIZ-2345 > URL: https://issues.apache.org/jira/browse/OFBIZ-2345 > Project: OFBiz > Issue Type: Sub-task > Reporter: Hans Bakker > Assignee: Jacopo Cappellato > > goto project -> mytime: (if i reverse the rev 767101 it works) > error message in log: > 2009-04-23 10:48:41,245 (http-0.0.0.0-8443-1) [ ModelScreen.java:398:ERROR] Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException. Rolling back transaction. > 2009-04-23 10:48:41,246 (http-0.0.0.0-8443-1) [ TransactionUtil.java:321:WARN ] > ---- exception report ---------------------------------------------------------- > [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: > Exception: java.lang.Exception > Message: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException > ---- stack trace --------------------------------------------------------------- > java.lang.Exception: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException > org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:321) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:268) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401) > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) -- 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-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701858#action_12701858 ] Hans Bakker commented on OFBIZ-2345: ------------------------------------ thanks jacopo for the quick fixes...perhaps also good if you explain in the userlist why this is done and how people can use it for their advantage? Regards, Hans > timesheet problem with renderer in trunk version 767770 with standard demo data and admin user > ---------------------------------------------------------------------------------------------- > > Key: OFBIZ-2345 > URL: https://issues.apache.org/jira/browse/OFBIZ-2345 > Project: OFBiz > Issue Type: Sub-task > Reporter: Hans Bakker > Assignee: Jacopo Cappellato > > goto project -> mytime: (if i reverse the rev 767101 it works) > error message in log: > 2009-04-23 10:48:41,245 (http-0.0.0.0-8443-1) [ ModelScreen.java:398:ERROR] Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException. Rolling back transaction. > 2009-04-23 10:48:41,246 (http-0.0.0.0-8443-1) [ TransactionUtil.java:321:WARN ] > ---- exception report ---------------------------------------------------------- > [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: > Exception: java.lang.Exception > Message: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException > ---- stack trace --------------------------------------------------------------- > java.lang.Exception: Error rendering screen [component://projectmgr/widget/TimeSheetScreens.xml#CurrentTimesheet]: java.lang.NullPointerException > org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:321) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:268) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401) > org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) > org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) > org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) > org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) -- 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 |