[jira] [Commented] (OFBIZ-8138) $ gradlew testIntegration produces exceptions

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

[jira] [Commented] (OFBIZ-8138) $ gradlew testIntegration produces exceptions

Nicolas Malin (Jira)

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

Scott Gray commented on OFBIZ-8138:
-----------------------------------

I believe these are expected exceptions where the tests are testing that things fail properly when incorrect data is supplied.

> $ 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)