As I could not reproduce the problem on my Ubuntu with the same JDK, I
could not test/debug so I refactored the test so the new build machine
problem no longer occurs.
Builds on that machine are as well back to normal.

- Svante

2016-06-09 9:38 GMT+02:00 Svante Schubert <[email protected]>:

> FYI: Fix of build..
>
> I have taken a look into the build problem, which is obviously not related
> to the code that was changed.
> In addition the problem had not occurred earlier (aside of last time) nor
> on other platforms.
>
> The problem:
> There are multiple NullpointerException in several test methods of
> org.odftoolkit.simple.form.CheckBoxTest
>
> Jun 08, 2016 8:17:31 AM org.odftoolkit.simple.form.CheckBoxTest 
> testCheckedState
> SEVERE: null
> java.lang.NullPointerException
>       at org.odftoolkit.odfdom.pkg.StreamHelper.stream(StreamHelper.java:73)
>
> The stream is null, which indicates that a document, in this case the test 
> document is not available.
>
> All test methods are using the same test document, which is created in a 
> @BeforeClass method of Junit.
>
>
> Therefore I have added some logging at the end and exchanged @BeforeClass 
> with @Before as it is likely that the problem is JUnit/Java related.
>
> Unfortunately I can not reproduce it on my machine nor VM therefore I have to 
> push an test it on the Jenkins server..
>
>
> Let's see..
>
> Svante
>
>
>
> 2016-06-08 10:19 GMT+02:00 Apache Jenkins Server <
> [email protected]>:
>
>> See <https://builds.apache.org/job/ODFToolkit/changes>
>>
>>
>

Reply via email to