[ https://issues.apache.org/jira/browse/OFBIZ-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15473106#comment-15473106 ] Taher Alkhateeb commented on OFBIZ-8138: ---------------------------------------- I agree with Scott since the build succeeds. However, this is one area ripe for refactoring, our logs spit out too much information and we have a verbosity issue on all levels (error, warn, info and lower levels). So I suggest to close this task (too broad) and focus on one thing at a time. Try to find a place where exceptions are leaking to the console and try to hide them, handle warnings better, etc ... > $ gradlew testIntegration produces exceptions > --------------------------------------------- > > Key: OFBIZ-8138 > URL: https://issues.apache.org/jira/browse/OFBIZ-8138 > Project: OFBiz > Issue Type: Bug > Components: ALL COMPONENTS > Affects Versions: Trunk > Environment: Development platform: lubuntu 16.04 > Java environment: > java version "1.8.0_92" > Java(TM) SE Runtime Environment (build 1.8.0_92-b14) > Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode) > database: postgreSQL > Reporter: Wai > Attachments: test-results.tar.bz2 > > > run 'gradlew testIntegration' produces many exceptions > console output... > ... > 2016-09-04 15:50:21,539 |main |TestRunContainer |I| [JUNIT] : testClassNotFound starting... > 2016-09-04 15:50:21,541 |main |TestRunContainer |I| [JUNIT] : testClassNotFound finished. > 2016-09-04 15:50:21,541 |main |TestRunContainer |I| [JUNIT] : testArray starting... > 2016-09-04 15:50:21,542 |main |Converters |W| *** No converter found, converting from [Ljava.lang.Object; to org.apache.ofbiz.base.util.GeneralException. Please report this message to the developer community so a suitable converter can be created. *** > 2016-09-04 15:50:21,542 |main |Converters |W| *** No converter found, converting from [Ljava.lang.Object; to java.util.Map. Please report this message to the developer community so a suitable converter can be created. *** > 2016-09-04 15:50:21,543 |main |Converters |W| *** No converter found, converting from [I to org.apache.ofbiz.base.util.GeneralException. Please report this message to the developer community so a suitable converter can be created. *** > 2016-09-04 15:50:21,543 |main |Converters |W| *** No converter found, converting from [I to java.util.ArrayList. Please report this message to the developer community so a suitable converter can be created. *** > 2016-09-04 15:50:21,543 |main |Converters |W| *** No converter found, converting from [I to java.util.Map. Please report this message to the developer community so a suitable converter can be created. *** > 2016-09-04 15:50:21,543 |main |TestRunContainer |I| [JUNIT] : testArray finished. > 2016-09-04 15:50:21,543 |main |TestRunContainer |I| [JUNIT] : testString starting... > 2016-09-04 15:50:21,561 |main |Converters |W| *** No converter found, converting from java.lang.String to org.apache.ofbiz.base.util.GeneralException. Please report this message to the developer community so a suitable converter can be created. *** > 2016-09-04 15:50:21,608 |main |UtilMisc |W| Do not know what to do with the localeString [o], should be length 2, 5, or greater than 6, returning null > 2016-09-04 15:50:21,608 |main |ObjectType |W| Exception thrown while converting type: > org.apache.ofbiz.base.conversion.ConversionException: Could not convert o to Locale: > at org.apache.ofbiz.base.conversion.MiscConverters$StringToLocale.convert(MiscConverters.java:238) ~[ofbiz.jar:?] > at org.apache.ofbiz.base.conversion.MiscConverters$StringToLocale.convert(MiscConverters.java:228) ~[ofbiz.jar:?] > at org.apache.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:550) [ofbiz.jar:?] > at org.apache.ofbiz.base.util.test.ObjectTypeTests.simpleTypeConvert(ObjectTypeTests.java:99) [ofbiz.jar:?] > -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |