Anonymous avatar Anonymous committed f8567c7

real2Range problems fixed

Comments (0)

Files changed (3)

hs_err_pid5164.log

-#
-# A fatal error has been detected by the Java Runtime Environment:
-#
-#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006da5c05b, pid=5164, tid=6964
-#
-# JRE version: 6.0_24-b07
-# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode windows-amd64 compressed oops)
-# Problematic frame:
-# V  [jvm.dll+0x26c05b]
-#
-# If you would like to submit a bug report, please visit:
-#   http://java.sun.com/webapps/bugreport/crash.jsp
-#
-
----------------  T H R E A D  ---------------
-
-Current thread (0x0000000006901000):  JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=6964, stack(0x0000000007170000,0x0000000007270000)]
-
-siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
-
-Registers:
-RAX=0xfefefefefefefefe, RBX=0x1c2a2b10009f0004, RCX=0x000000000039e660, RDX=0x0000000006901000
-RSP=0x000000000726f760, RBP=0x000000000039e660, RSI=0x000000000726f840, RDI=0x00000000005795f0
-R8=0x000000000726f840, R9=0x0000000000000001, R10=0x0000000000000000, R11=0x000000000039ed7b
-R12=0x0000000000000001, R13=0x0000000000000000, R14=0x0000000000000000, R15=0x0000000000000000
-RIP=0x000000006da5c05b, EFLAGS=0x0000000000010202
-
-Register to memory mapping:
-
-RAX=0xfefefefefefefefe
-0xfefefefefefefefe is pointing to unknown location
-
-RBX=0x1c2a2b10009f0004
-0x1c2a2b10009f0004 is pointing to unknown location
-
-RCX=0x000000000039e660
-0x000000000039e660 is pointing to unknown location
-
-RDX=0x0000000006901000
-"JDWP Transport Listener: dt_socket" daemon prio=6 tid=0x0000000006901000 nid=0x1b34 runnable [0x0000000000000000]
-   java.lang.Thread.State: RUNNABLE
-
-RSP=0x000000000726f760
-0x000000000726f760 is pointing into the stack for thread: 0x0000000006901000
-"JDWP Transport Listener: dt_socket" daemon prio=6 tid=0x0000000006901000 nid=0x1b34 runnable [0x0000000000000000]
-   java.lang.Thread.State: RUNNABLE
-
-RBP=0x000000000039e660
-0x000000000039e660 is pointing to unknown location
-
-RSI=0x000000000726f840
-0x000000000726f840 is pointing into the stack for thread: 0x0000000006901000
-"JDWP Transport Listener: dt_socket" daemon prio=6 tid=0x0000000006901000 nid=0x1b34 runnable [0x0000000000000000]
-   java.lang.Thread.State: RUNNABLE
-
-RDI=0x00000000005795f0
-0x00000000005795f0 is pointing to unknown location
-
-R8 =0x000000000726f840
-0x000000000726f840 is pointing into the stack for thread: 0x0000000006901000
-"JDWP Transport Listener: dt_socket" daemon prio=6 tid=0x0000000006901000 nid=0x1b34 runnable [0x0000000000000000]
-   java.lang.Thread.State: RUNNABLE
-
-R9 =0x0000000000000001
-0x0000000000000001 is pointing to unknown location
-
-R10=0x0000000000000000
-0x0000000000000000 is pointing to unknown location
-
-R11=0x000000000039ed7b
-0x000000000039ed7b is pointing to unknown location
-
-R12=0x0000000000000001
-0x0000000000000001 is pointing to unknown location
-
-R13=0x0000000000000000
-0x0000000000000000 is pointing to unknown location
-
-R14=0x0000000000000000
-0x0000000000000000 is pointing to unknown location
-
-R15=0x0000000000000000
-0x0000000000000000 is pointing to unknown location
-
-
-Top of Stack: (sp=0x000000000726f760)
-0x000000000726f760:   0000000000000000 000000006d4454d3
-0x000000000726f770:   000000000726f970 000000006da91c15
-0x000000000726f780:   0000000006901000 000000006dab08da
-0x000000000726f790:   0000000000000000 0000000006901000
-0x000000000726f7a0:   000000000726f840 000000006d440d69
-0x000000000726f7b0:   0000000006901000 0000000000000000
-0x000000000726f7c0:   0000000000000000 0000000000000000
-0x000000000726f7d0:   0000000000000001 000000006d43ff6e
-0x000000000726f7e0:   000000000726f840 0000000007a23c48
-0x000000000726f7f0:   0000000000000001 000000000039e660
-0x000000000726f800:   0000000000000001 000000000039e660
-0x000000000726f810:   000000000726f970 000000006d424f64
-0x000000000726f820:   000000000726f970 4833bf0701000000
-0x000000000726f830:   00000000068fb9f0 0000000000000000
-0x000000000726f840:   000000010726f900 0000000000000000
-0x000000000726f850:   0000000000000000 0000000000000000 
-
-Instructions: (pc=0x000000006da5c05b)
-0x000000006da5c04b:   fe fe 48 3b d8 74 3e 80 3d 6f 31 41 00 00 74 16
-0x000000006da5c05b:   8b 43 08 0f b6 0d 53 17 40 00 48 d3 e0 48 03 05 
-
-
-Stack: [0x0000000007170000,0x0000000007270000],  sp=0x000000000726f760,  free space=1021k
-Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
-V  [jvm.dll+0x26c05b]
-
-
----------------  P R O C E S S  ---------------
-
-Java Threads: ( => current thread )
-  0x0000000006a5a800 JavaThread "ReaderThread" [_thread_in_native, id=1432, stack(0x0000000007e00000,0x0000000007f00000)]
-  0x0000000006937800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6448, stack(0x0000000007800000,0x0000000007900000)]
-  0x0000000006931800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=5520, stack(0x0000000007700000,0x0000000007800000)]
-  0x0000000006924000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6436, stack(0x0000000007600000,0x0000000007700000)]
-  0x0000000006905800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=5880, stack(0x0000000007500000,0x0000000007600000)]
-  0x0000000006904800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=5920, stack(0x0000000007350000,0x0000000007450000)]
-=>0x0000000006901000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=6964, stack(0x0000000007170000,0x0000000007270000)]
-  0x00000000068e5800 JavaThread "Attach Listener" daemon [_thread_blocked, id=6012, stack(0x0000000006b90000,0x0000000006c90000)]
-  0x00000000068e0800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5296, stack(0x0000000006a90000,0x0000000006b90000)]
-  0x00000000003cc800 JavaThread "Finalizer" daemon [_thread_blocked, id=6732, stack(0x0000000006790000,0x0000000006890000)]
-  0x00000000003c5800 JavaThread "Reference Handler" daemon [_thread_blocked, id=6692, stack(0x0000000006690000,0x0000000006790000)]
-  0x000000000057c800 JavaThread "main" [_thread_blocked, id=6116, stack(0x0000000001ca0000,0x0000000001da0000)]
-
-Other Threads:
-  0x00000000003be000 VMThread [stack: 0x0000000006590000,0x0000000006690000] [id=5764]
-  0x0000000006940800 WatcherThread [stack: 0x0000000007900000,0x0000000007a00000] [id=6664]
-
-VM state:not at safepoint (normal execution)
-
-VM Mutex/Monitor currently owned by a thread: None
-
-Heap
- PSYoungGen      total 37632K, used 10331K [0x00000007d5f60000, 0x00000007d8960000, 0x0000000800000000)
-  eden space 32256K, 32% used [0x00000007d5f60000,0x00000007d6976e98,0x00000007d7ee0000)
-  from space 5376K, 0% used [0x00000007d8420000,0x00000007d8420000,0x00000007d8960000)
-  to   space 5376K, 0% used [0x00000007d7ee0000,0x00000007d7ee0000,0x00000007d8420000)
- PSOldGen        total 86144K, used 0K [0x0000000781e00000, 0x0000000787220000, 0x00000007d5f60000)
-  object space 86144K, 0% used [0x0000000781e00000,0x0000000781e00000,0x0000000787220000)
- PSPermGen       total 21248K, used 6695K [0x000000077cc00000, 0x000000077e0c0000, 0x0000000781e00000)
-  object space 21248K, 31% used [0x000000077cc00000,0x000000077d289e68,0x000000077e0c0000)
-
-Dynamic libraries:
-0x0000000000400000 - 0x000000000042e000 	C:\Program Files\Java\jre6\bin\javaw.exe
-0x0000000077010000 - 0x00000000771b9000 	C:\Windows\SYSTEM32\ntdll.dll
-0x0000000076b40000 - 0x0000000076c5f000 	C:\Windows\system32\kernel32.dll
-0x000007fefd560000 - 0x000007fefd5cc000 	C:\Windows\system32\KERNELBASE.dll
-0x000007fefd860000 - 0x000007fefd93b000 	C:\Windows\system32\ADVAPI32.dll
-0x000007fefe370000 - 0x000007fefe40f000 	C:\Windows\system32\msvcrt.dll
-0x000007feff1a0000 - 0x000007feff1bf000 	C:\Windows\SYSTEM32\sechost.dll
-0x000007fefd940000 - 0x000007fefda6d000 	C:\Windows\system32\RPCRT4.dll
-0x0000000076db0000 - 0x0000000076eaa000 	C:\Windows\system32\USER32.dll
-0x000007fefdaf0000 - 0x000007fefdb57000 	C:\Windows\system32\GDI32.dll
-0x000007feff290000 - 0x000007feff29e000 	C:\Windows\system32\LPK.dll
-0x000007feff1c0000 - 0x000007feff289000 	C:\Windows\system32\USP10.dll
-0x000007feff2a0000 - 0x000007feff2ce000 	C:\Windows\system32\IMM32.DLL
-0x000007fefe050000 - 0x000007fefe159000 	C:\Windows\system32\MSCTF.dll
-0x000000006d7f0000 - 0x000000006def4000 	C:\Program Files\Java\jre6\bin\server\jvm.dll
-0x000007fefae30000 - 0x000007fefae6b000 	C:\Windows\system32\WINMM.dll
-0x000000006d760000 - 0x000000006d76e000 	C:\Program Files\Java\jre6\bin\verify.dll
-0x000000006d3b0000 - 0x000000006d3d7000 	C:\Program Files\Java\jre6\bin\java.dll
-0x000000006d310000 - 0x000000006d31a000 	C:\Program Files\Java\jre6\bin\hpi.dll
-0x00000000771d0000 - 0x00000000771d7000 	C:\Windows\system32\PSAPI.DLL
-0x000000006d420000 - 0x000000006d454000 	C:\Program Files\Java\jre6\bin\jdwp.dll
-0x000000006d630000 - 0x000000006d638000 	C:\Program Files\Java\jre6\bin\npt.dll
-0x000000006d7b0000 - 0x000000006d7c2000 	C:\Program Files\Java\jre6\bin\zip.dll
-0x000000006d270000 - 0x000000006d279000 	C:\Program Files\Java\jre6\bin\dt_socket.dll
-0x000007feff2d0000 - 0x000007feff31d000 	C:\Windows\system32\WS2_32.dll
-0x000007fefe2c0000 - 0x000007fefe2c8000 	C:\Windows\system32\NSI.dll
-0x000007fefad00000 - 0x000007fefad15000 	C:\Windows\system32\NLAapi.dll
-0x000007fef92a0000 - 0x000007fef92b5000 	C:\Windows\system32\napinsp.dll
-0x000007fef9280000 - 0x000007fef9299000 	C:\Windows\system32\pnrpnsp.dll
-0x000007fefcce0000 - 0x000007fefcd35000 	C:\Windows\System32\mswsock.dll
-0x000007fefcb60000 - 0x000007fefcbbb000 	C:\Windows\system32\DNSAPI.dll
-0x000007fef9270000 - 0x000007fef927b000 	C:\Windows\System32\winrnr.dll
-0x000007fef9240000 - 0x000007fef926f000 	C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
-0x000007fefda70000 - 0x000007fefdae1000 	C:\Windows\system32\SHLWAPI.dll
-0x000007fefa3d0000 - 0x000007fefa3f7000 	C:\Windows\system32\IPHLPAPI.DLL
-0x000007fefa3b0000 - 0x000007fefa3bb000 	C:\Windows\system32\WINNSI.DLL
-0x000007fefa050000 - 0x000007fefa0a3000 	C:\Windows\System32\fwpuclnt.dll
-0x000007fef9230000 - 0x000007fef9238000 	C:\Windows\system32\rasadhlp.dll
-0x000007fefc600000 - 0x000007fefc607000 	C:\Windows\System32\wshtcpip.dll
-0x000000006d600000 - 0x000000006d617000 	C:\Program Files\Java\jre6\bin\net.dll
-0x000007fefccd0000 - 0x000007fefccd7000 	C:\Windows\System32\wship6.dll
-0x000000006d000000 - 0x000000006d1c3000 	C:\Program Files\Java\jre6\bin\awt.dll
-0x000007fef8ec0000 - 0x000007fef8f31000 	C:\Windows\system32\WINSPOOL.DRV
-0x000007fefde40000 - 0x000007fefe043000 	C:\Windows\system32\ole32.dll
-0x000007fefe410000 - 0x000007feff198000 	C:\Windows\system32\SHELL32.dll
-0x000007fefbe80000 - 0x000007fefc074000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
-
-VM Arguments:
-jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:61353 -Dfile.encoding=UTF-8 
-java_command: org.eclipse.jdt.internal.junit.runner.RemoteTestRunner -version 3 -port 61351 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -test org.xmlcml.graphics.svg.SVGPathTest:testFormat
-Launcher Type: SUN_STANDARD
-
-Environment Variables:
-JAVA_HOME=C:\Program Files\java\jdk1.6.0_24
-PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\maven\bin;C:\Program Files\TortoiseHg\;C:\Program Files\java\jdk1.6.0_24\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files\Mercurial\;C:\Program Files (x86)\nodejs\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Users\pm286\AppData\Roaming\npm\;C:\Program Files (x86)\OpenVPN\bin
-USERNAME=pm286
-OS=Windows_NT
-PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
-
-
-
----------------  S Y S T E M  ---------------
-
-OS: Windows 7 Build 7601 Service Pack 1
-
-CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
-
-Memory: 4k page, physical 8265140k(5185280k free), swap 16528428k(12859876k free)
-
-vm_info: Java HotSpot(TM) 64-Bit Server VM (19.1-b02) for windows-amd64 JRE (1.6.0_24-b07), built on Feb  2 2011 16:25:45 by "java_re" with MS VC++ 8.0 (VS2005)
-
-time: Fri Oct 19 00:37:05 2012
-elapsed time: 129 seconds
-
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
-	<modelVersion>4.0.0</modelVersion>
+    <modelVersion>4.0.0</modelVersion>
 
-	<parent>
-		<groupId>uk.ac.cam.ch.wwmm</groupId>
-		<artifactId>wwmm-parent</artifactId>
-		<version>4</version>
-	</parent>
+    <parent>
+        <groupId>uk.ac.cam.ch.wwmm</groupId>
+        <artifactId>wwmm-parent</artifactId>
+        <version>4</version>
+    </parent>
 
-	<groupId>org.xml-cml</groupId>
-	<artifactId>svg</artifactId>
-	<version>0.1-SNAPSHOT</version>
-	<packaging>jar</packaging>
-	<name>SVG</name>
-	<description>A Java library for processing SVG</description>
+    <groupId>org.xml-cml</groupId>
+    <artifactId>svg-dev</artifactId>
+    <version>0.1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+    <name>SVG</name>
+    <description>A Java library for processing SVG</description>
 
-	<licenses>
-		<license>
-			<name>Apache License, Version 2.0</name>
-			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-			<distribution>repo</distribution>
-		</license>
-	</licenses>
-	<scm>
-		<url>https://bitbucket.org/petermr/svg/src</url>
-		<connection>scm:hg:http://bitbucket.org/petermr/svg</connection>
-		<developerConnection>scm:hg:https://bitbucket.org/petermr/svg</developerConnection>
-	</scm>
+    <licenses>
+        <license>
+            <name>Apache License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+    <scm>
+        <url>https://bitbucket.org/petermr/svg/src</url>
+        <connection>scm:hg:http://bitbucket.org/petermr/svg</connection>
+        <developerConnection>scm:hg:https://bitbucket.org/petermr/svg</developerConnection>
+    </scm>
 
-	<developers>
-		<developer>
-			<id>pm286</id>
-			<name>Peter Murray-Rust</name>
-		</developer>
-	</developers>
+    <developers>
+        <developer>
+            <id>pm286</id>
+            <name>Peter Murray-Rust</name>
+        </developer>
+    </developers>
 
-	<inceptionYear>2007</inceptionYear>
-	<ciManagement>
-		<system>hudson</system>
-		<url>http://hudson.ch.cam.ac.uk/job/svg</url>
-	</ciManagement>
+    <inceptionYear>2007</inceptionYear>
+    <ciManagement>
+        <system>hudson</system>
+        <url>http://hudson.ch.cam.ac.uk/job/svg</url>
+    </ciManagement>
 
-	<organization>
-		<name>Peter Murray-Rust</name>
-		<url>http://blogs.ch.cam.ac.uk/pmr</url>
-	</organization>
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>cobertura-maven-plugin</artifactId>
-				<configuration>
-					<check>
-						<haltOnFailure>false</haltOnFailure>
-						<regexes>
-							<regex>
-								<pattern>org.xmlcml.cml.*</pattern>
-								<branchRate>80</branchRate>
-								<lineRate>80</lineRate>
-							</regex>
-						</regexes>
-					</check>
-					<instrumentation>
-						<includes>
-							<include>org/xmlcml/cml/**/*.class</include>
-						</includes>
-					</instrumentation>
-				</configuration>
-				<executions>
-					<execution>
-						<id>clean</id>
-						<phase>pre-site</phase>
-						<goals>
-							<goal>clean</goal>
-						</goals>
-					</execution>
-					<execution>
-						<id>instrument</id>
-						<phase>site</phase>
-						<goals>
-							<goal>instrument</goal>
-							<goal>cobertura</goal>
-							<goal>check</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-			<plugin>
-				<groupId>com.mycila.maven-license-plugin</groupId>
-				<artifactId>maven-license-plugin</artifactId>
-				<configuration>
-					<header>src/main/resources/header.txt</header>
-				</configuration>
-			</plugin>
-		</plugins>
-	</build>
+    <organization>
+        <name>Peter Murray-Rust</name>
+        <url>http://blogs.ch.cam.ac.uk/pmr</url>
+    </organization>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <configuration>
+                    <check>
+                        <haltOnFailure>false</haltOnFailure>
+                        <regexes>
+                            <regex>
+                                <pattern>org.xmlcml.cml.*</pattern>
+                                <branchRate>80</branchRate>
+                                <lineRate>80</lineRate>
+                            </regex>
+                        </regexes>
+                    </check>
+                    <instrumentation>
+                        <includes>
+                            <include>org/xmlcml/cml/**/*.class</include>
+                        </includes>
+                    </instrumentation>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>clean</id>
+                        <phase>pre-site</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>instrument</id>
+                        <phase>site</phase>
+                        <goals>
+                            <goal>instrument</goal>
+                            <goal>cobertura</goal>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>com.mycila.maven-license-plugin</groupId>
+                <artifactId>maven-license-plugin</artifactId>
+                <configuration>
+                    <header>src/main/resources/header.txt</header>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
-	<!-- remove <repositories> for release to maven central -->
-	<repositories>
-		<repository>
-			<id>ucc-repo</id>
-			<name>UCC Maven Repository</name>
-			<url>https://maven.ch.cam.ac.uk/m2repo</url>
-		</repository>
-	</repositories>
-	
-	<dependencies>
-		<dependency>
-			<groupId>org.xml-cml</groupId>
-			<artifactId>euclid</artifactId>
-			<version>1.1-SNAPSHOT</version>
-		</dependency>
-		<dependency>
-			<groupId>org.xml-cml</groupId>
-			<artifactId>cmlxom</artifactId>
-			<version>3.2-SNAPSHOT</version>
-		</dependency>
-		<dependency>
-			<version>1.1-SNAPSHOT</version>
-			<groupId>org.xml-cml</groupId>
-			<artifactId>jumbo-testutil</artifactId>
-			<scope>test</scope>
-		</dependency>
+    <!-- remove <repositories> for release to maven central -->
+    <repositories>
+        <repository>
+            <id>ucc-repo</id>
+            <name>UCC Maven Repository</name>
+            <url>https://maven.ch.cam.ac.uk/m2repo</url>
+        </repository>
+    </repositories>
+    
+    <dependencies>
+        <dependency>
+            <groupId>org.xml-cml</groupId>
+            <artifactId>euclid</artifactId>
+            <version>1.1-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.xml-cml</groupId>
+            <artifactId>cmlxom</artifactId>
+            <version>3.2-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <version>1.1-SNAPSHOT</version>
+            <groupId>org.xml-cml</groupId>
+            <artifactId>jumbo-testutil</artifactId>
+            <scope>test</scope>
+        </dependency>
 
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
-			<version>4.8.2</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>log4j</groupId>
-			<artifactId>log4j</artifactId>
-			<version>1.2.16</version>
-		</dependency>
-		<dependency>
-			<groupId>commons-io</groupId>
-			<artifactId>commons-io</artifactId>
-			<version>2.0.1</version>
-		</dependency>
-		<dependency>
-			<groupId>xom</groupId>
-			<artifactId>xom</artifactId>
-			<version>1.2.5</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.commons</groupId>
-			<artifactId>commons-math</artifactId>
-			<version>2.2</version>
-		</dependency>
-	</dependencies>
-	<reporting>
-		<plugins>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-project-info-reports-plugin</artifactId>
-				<reportSets>
-					<reportSet>
-						<reports>
-							<report>index</report>
-							<report>summary</report>
-							<report>dependencies</report>
-							<report>project-team</report>
-							<report>license</report>
-							<report>cim</report>
-							<report>scm</report>
-						</reports>
-					</reportSet>
-				</reportSets>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-javadoc-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-surefire-report-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-jxr-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-pmd-plugin</artifactId>
-				<configuration>
-					<targetJdk>1.5</targetJdk>
-					<linkXRef>true</linkXRef>
-				</configuration>
-			</plugin>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-checkstyle-plugin</artifactId>
-				<configuration>
-					<configLocation>src/test/resources/checkstyle.xml</configLocation>
-				</configuration>
-			</plugin>
-			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>cobertura-maven-plugin</artifactId>
-			</plugin>
-			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>apt-maven-plugin</artifactId>
-			</plugin>
-		</plugins>
-	</reporting>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.8.2</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>1.2.16</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>2.0.1</version>
+        </dependency>
+        <dependency>
+            <groupId>xom</groupId>
+            <artifactId>xom</artifactId>
+            <version>1.2.5</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-math</artifactId>
+            <version>2.2</version>
+        </dependency>
+    </dependencies>
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-project-info-reports-plugin</artifactId>
+                <reportSets>
+                    <reportSet>
+                        <reports>
+                            <report>index</report>
+                            <report>summary</report>
+                            <report>dependencies</report>
+                            <report>project-team</report>
+                            <report>license</report>
+                            <report>cim</report>
+                            <report>scm</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jxr-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-pmd-plugin</artifactId>
+                <configuration>
+                    <targetJdk>1.5</targetJdk>
+                    <linkXRef>true</linkXRef>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <configLocation>src/test/resources/checkstyle.xml</configLocation>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>apt-maven-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </reporting>
 </project>

src/main/java/org/xmlcml/graphics/svg/SVGRect.java

 import java.util.ArrayList;
 import java.util.List;
 
-import nu.xom.Attribute;
 import nu.xom.Element;
 import nu.xom.Node;
 
 		SVGRect rect = null;
 		if (r2r != null) {
 			Real2[] corners = r2r.getCorners();
-			rect = new SVGRect(corners[0], corners[1]);
+			if (corners != null && corners.length == 2) {
+				rect = new SVGRect(corners[0], corners[1]);
+			}
 		}
 		return rect;
 	}
 //  <line x1="-1.9021130325903073" y1="0.6180339887498945" x2="-1.175570504584946" y2="-1.618033988749895" stroke="white" style="stroke-width:0.12;"/>
 //</g>
 	
+	@Deprecated //"use createFromReal2Range which deals with nulls"
 	public SVGRect(Real2Range bbox) {
 		this(bbox.getXRange().getMin(), bbox.getYRange().getMin(), bbox.getXRange().getRange(), bbox.getYRange().getRange());
 	}
+	
+//	public static SVGRect createSVGRect(Real2Range bbox) {
+//		SVGRect rect = null;
+//		if (bbox != null) {
+//			RealRange xRange = bbox.getXRange();
+//			RealRange yRange = bbox.getYRange();
+//			if (xRange != null && yRange != null) {
+//				rect = new SVGRect(xRange.getMin(), yRange.getMin(), xRange.getRange(), yRange.getRange());
+//			}
+//		}
+//		return rect;
+//	}
 
 	protected void drawElement(Graphics2D g2d) {
 		double x1 = this.getDouble("x");
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.