[jira] [Commented] (OFBIZ-8336) Can't find resource for bundle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-8336) Can't find resource for bundle

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-8336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15540237#comment-15540237 ]

Rohit Koushal commented on OFBIZ-8336:
--------------------------------------

Hi [~jacques.le.roux],

I did some research on this problem and  found that under ticket OFBIZ-8036 someone uncomments during clean up commented out code in Java source.

Here is the part of patch of OFBIZ-8036 which causing the stack trace.
{code}
Index: framework/base/src/main/java/org/apache/ofbiz/base/util/UtilProperties.java
===================================================================
--- framework/base/src/main/java/org/apache/ofbiz/base/util/UtilProperties.java (revision 1761176)
+++ framework/base/src/main/java/org/apache/ofbiz/base/util/UtilProperties.java (working copy)
@@ -592,7 +592,7 @@
         try {
             value = bundle.getString(name);
         } catch (Exception e) {
-            //Debug.logInfo(e, module);
+            Debug.logInfo(e, module);
         }
         return value == null ? name : value.trim();
     }
{code}

> Can't find resource for bundle
> ------------------------------
>
>                 Key: OFBIZ-8336
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8336
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Ingo Wolfmayr
>            Assignee: Jacques Le Roux
>         Attachments: error.txt
>
>
> Downloaded current trunk and loaded demo data.
> When going for example to EditProductContent (Product --> Content) the following error message appears:
> 2016-09-27 20:02:40,822 |http-nio-8444-exec-7 |UtilProperties                |I| null
> java.util.MissingResourceException: Can't find resource for bundle org.apache.ofbiz.base.util.UtilProperties$UtilResourceBundle, key FieldDescription.sequenceNum
> Attached the complete error message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)