-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_log_profile_fop28_jdk8_linux.txt
299 lines (298 loc) · 26.9 KB
/
build_log_profile_fop28_jdk8_linux.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
[INFO] Scanning for projects...
[INFO]
[INFO] Using the MultiThreadedBuilder implementation with a thread count of 2
[INFO]
[INFO] -------< org.fugerit.java.poc:fop-custom-resource-resolver-poc >--------
[INFO] Building fop-custom-resource-resolver-po 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fop-custom-resource-resolver-poc ---
[INFO] Deleting /omnia/workspace/git/fop-custom-resource-resolver-poc/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fop-custom-resource-resolver-poc ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fop-custom-resource-resolver-poc ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /omnia/workspace/git/fop-custom-resource-resolver-poc/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fop-custom-resource-resolver-poc ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fop-custom-resource-resolver-poc ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /omnia/workspace/git/fop-custom-resource-resolver-poc/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ fop-custom-resource-resolver-poc ---
[INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running test.TestDocGeneration
2022-11-20 19:19:39.581 [main] INFO org.apache.fop.apps.FopConfParser - Default page-height set to: 11in
2022-11-20 19:19:39.582 [main] INFO org.apache.fop.apps.FopConfParser - Default page-width set to: 8.26in
2022-11-20 19:19:39.963 [main] ERROR org.apache.fop.fonts.LazyFont - Failed to read font file classpath://font/TitilliumWeb-Regular.ttf unknown protocol: classpath
java.net.MalformedURLException: unknown protocol: classpath
at java.net.URL.<init>(URL.java:617) ~[?:1.8.0_333]
at java.net.URL.<init>(URL.java:507) ~[?:1.8.0_333]
at java.net.URL.<init>(URL.java:456) ~[?:1.8.0_333]
at java.net.URI.toURL(URI.java:1089) ~[?:1.8.0_333]
at org.apache.fop.apps.io.ResourceResolverFactory$NormalResourceResolver.getResource(ResourceResolverFactory.java:224) ~[fop-2.8.jar:2.8]
at org.apache.fop.apps.io.ResourceResolverFactory$TempAwareResourceResolver.getResource(ResourceResolverFactory.java:152) ~[fop-2.8.jar:2.8]
at org.apache.fop.apps.io.ResourceResolverFactory$DefaultResourceResolver.getResource(ResourceResolverFactory.java:121) ~[fop-2.8.jar:2.8]
at org.apache.fop.apps.io.InternalResourceResolver.getResource(InternalResourceResolver.java:94) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:113) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:103) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.FontLoader.getFont(FontLoader.java:126) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.FontLoader.loadFont(FontLoader.java:110) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.LazyFont.load(LazyFont.java:121) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:237) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.Font.getAscender(Font.java:120) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:82) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:118) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:108) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:69) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:252) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:675) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:179) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:159) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:385) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) ~[fop-2.8.jar:2.8]
at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:140) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:390) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:207) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:204) ~[fop-2.8.jar:2.8]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_333]
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:203) ~[fop-2.8.jar:2.8]
at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:263) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:610) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1784) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2969) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:113) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:867) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:796) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:142) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:644) ~[?:1.8.0_333]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:634) ~[?:1.8.0_333]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:730) ~[?:1.8.0_333]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:345) ~[?:1.8.0_333]
at org.fugerit.java.poc.fop.custom.resource.resolver.SampleDocumentGenerator.generateDoc(SampleDocumentGenerator.java:75) ~[classes/:?]
at test.TestDocGeneration.generate(TestDocGeneration.java:12) ~[test-classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_333]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_333]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_333]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_333]
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) ~[junit-4.13.2.jar:4.13.2]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) ~[junit-4.13.2.jar:4.13.2]
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[junit-4.13.2.jar:4.13.2]
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377) ~[surefire-junit4-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284) ~[surefire-junit4-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248) ~[surefire-junit4-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167) ~[surefire-junit4-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
ERROR: 'Failed to read font file classpath://font/TitilliumWeb-Regular.ttf unknown protocol: classpath'
2022-11-20 19:19:39.993 [main] ERROR org.fugerit.java.poc.fop.custom.resource.resolver.SampleDocumentGenerator - Error genrating document : javax.xml.transform.TransformerException: java.lang.RuntimeException: Failed to read font file classpath://font/TitilliumWeb-Regular.ttf unknown protocol: classpath
javax.xml.transform.TransformerException: java.lang.RuntimeException: Failed to read font file classpath://font/TitilliumWeb-Regular.ttf unknown protocol: classpath
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:739) ~[?:1.8.0_333]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:345) ~[?:1.8.0_333]
at org.fugerit.java.poc.fop.custom.resource.resolver.SampleDocumentGenerator.generateDoc(SampleDocumentGenerator.java:75) ~[classes/:?]
at test.TestDocGeneration.generate(TestDocGeneration.java:12) ~[test-classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_333]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_333]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_333]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_333]
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) ~[junit-4.13.2.jar:4.13.2]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) ~[junit-4.13.2.jar:4.13.2]
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[junit-4.13.2.jar:4.13.2]
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377) ~[surefire-junit4-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284) ~[surefire-junit4-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248) ~[surefire-junit4-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167) ~[surefire-junit4-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
Caused by: java.lang.RuntimeException: Failed to read font file classpath://font/TitilliumWeb-Regular.ttf unknown protocol: classpath
at org.apache.fop.fonts.LazyFont.load(LazyFont.java:134) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:237) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.Font.getAscender(Font.java:120) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:82) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:118) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:108) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:69) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:252) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:675) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:179) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:159) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:385) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) ~[fop-2.8.jar:2.8]
at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:140) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:390) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:207) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:204) ~[fop-2.8.jar:2.8]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_333]
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:203) ~[fop-2.8.jar:2.8]
at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:263) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:610) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1784) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2969) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:113) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:867) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:796) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:142) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:644) ~[?:1.8.0_333]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:634) ~[?:1.8.0_333]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:730) ~[?:1.8.0_333]
... 31 more
Caused by: java.net.MalformedURLException: unknown protocol: classpath
at java.net.URL.<init>(URL.java:617) ~[?:1.8.0_333]
at java.net.URL.<init>(URL.java:507) ~[?:1.8.0_333]
at java.net.URL.<init>(URL.java:456) ~[?:1.8.0_333]
at java.net.URI.toURL(URI.java:1089) ~[?:1.8.0_333]
at org.apache.fop.apps.io.ResourceResolverFactory$NormalResourceResolver.getResource(ResourceResolverFactory.java:224) ~[fop-2.8.jar:2.8]
at org.apache.fop.apps.io.ResourceResolverFactory$TempAwareResourceResolver.getResource(ResourceResolverFactory.java:152) ~[fop-2.8.jar:2.8]
at org.apache.fop.apps.io.ResourceResolverFactory$DefaultResourceResolver.getResource(ResourceResolverFactory.java:121) ~[fop-2.8.jar:2.8]
at org.apache.fop.apps.io.InternalResourceResolver.getResource(InternalResourceResolver.java:94) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:113) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:103) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.FontLoader.getFont(FontLoader.java:126) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.FontLoader.loadFont(FontLoader.java:110) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.LazyFont.load(LazyFont.java:121) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:237) ~[fop-2.8.jar:2.8]
at org.apache.fop.fonts.Font.getAscender(Font.java:120) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:82) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:118) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:108) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:69) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:252) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:675) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:179) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:159) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:385) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113) ~[fop-2.8.jar:2.8]
at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143) ~[fop-2.8.jar:2.8]
at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:140) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:390) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:207) ~[fop-2.8.jar:2.8]
at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:204) ~[fop-2.8.jar:2.8]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_333]
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:203) ~[fop-2.8.jar:2.8]
at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:263) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:610) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1784) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2969) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:113) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:867) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:796) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:142) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216) ~[?:1.8.0_333]
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:644) ~[?:1.8.0_333]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:634) ~[?:1.8.0_333]
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:730) ~[?:1.8.0_333]
... 31 more
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.716 s <<< FAILURE! - in test.TestDocGeneration
[ERROR] test.TestDocGeneration.generate Time elapsed: 0.692 s <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:633)
at test.TestDocGeneration.generate(TestDocGeneration.java:13)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestDocGeneration.generate:13 expected:<1> but was:<0>
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.838 s (Wall Clock)
[INFO] Finished at: 2022-11-20T19:19:40+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project fop-custom-resource-resolver-poc: There are test failures.
[ERROR]
[ERROR] Please refer to /omnia/workspace/git/fop-custom-resource-resolver-poc/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException