Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9970

NullPointer Access in CategoryContentWrapper.getProductCategoryContentAsText when locale parameter is missing

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 16.11.04
    • product
    • None

    Description

      The said method is not nullpointer-safe; it is possible, that the method crashes and produces a nullpointer-exception at this point:
      String sessionLocale = locale.toString();

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            Dennis Balkir Dennis Balkir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment