logo separator

[mkgmap-dev] unit test fails in branch

From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed Feb 8 16:23:48 GMT 2017

Hi Ticker,

I've fixed another one with r3794, but on my (Windows) machine TestSourceTest fails:
Time started: Wed Feb 08 17:22:56 CET 2017
java.lang.NullPointerException
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:159)
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:187)
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:181)
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:181)
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:181)
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:181)
        at uk.me.parabola.mkgmap.build.MapSplitter.addAreasToList(MapSplitter.java:181)
        at uk.me.parabola.mkgmap.build.MapSplitter.split(MapSplitter.java:113)
        at uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:698)
        at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:234)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:265)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:1)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exiting - if you want to carry on regardless, use the --keep-going option
Number of ExitExceptions: 1

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Mittwoch, 8. Februar 2017 16:58:24
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] unit test fails in branch

Fixed this.

svn commit comment should have been:
"Merge in trunk and cope with mapSource without bounds"

Ticker


On Wed, 2017-02-08 at 08:46 +0000, Gerd Petermann wrote:
> Hi Ticker,
>
> please check:
> The unit test testCombiningSupps() in class GmapsuppTest fails:
> SCHWERWIEGEND (MapFailedException): (thrown in Area.split()) Area
> split shift align problems
> uk.me.parabola.imgfmt.MapFailedException: Area split shift align
> problems
>       at uk.me.parabola.imgfmt.app.Area.split(Area.java:174)
>       at uk.me.parabola.mkgmap.build.MapArea.split(MapArea.java:206)
>       at
> uk.me.parabola.mkgmap.build.MapSplitter.splitMaxSize(MapSplitter.java
> :234)
>       at
> uk.me.parabola.mkgmap.build.MapSplitter.split(MapSplitter.java:103)
>       at
> uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:6
> 98)
>       at
> uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:234)
>       at
> uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(Over
> viewBuilder.java:184)
>       at
> uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuil
> der.java:91)
>       at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:620)
>       at
> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.ja
> va:128)
>       at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:138)
>       at
> uk.me.parabola.mkgmap.main.Main.mainNoSystemExit(Main.java:105)
>       at
> func.files.GmapsuppTest.testCombiningSupps(GmapsuppTest.java:129)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>       at java.lang.reflect.Method.invoke(Unknown Source)
>       at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
> Method.java:50)
>       at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
> lable.java:12)
>       at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
> thod.java:47)
>       at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
> hod.java:17)
>       at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.
> java:26)
>       at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.ja
> va:27)
>       at
> org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>       at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
> ner.java:78)
>       at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRun
> ner.java:57)
>       at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>       at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>       at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>       at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>       at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>       at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>       at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4
> TestReference.java:86)
>       at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution
> .java:38)
>       at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remot
> eTestRunner.java:459)
>       at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remot
> eTestRunner.java:678)
>       at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTest
> Runner.java:382)
>       at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTes
> tRunner.java:192)
> Number of ExitExceptions: 1
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list