OFBiz
  1. OFBiz
  2. OFBIZ-2342 Implement new widget renderer for menus based on freemarker macros.
  3. OFBIZ-2345

timesheet problem with renderer in trunk version 767770 with standard demo data and admin user

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jacopo Cappellato
            Reporter:
            Hans Bakker
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development