# OxFEFF breaks tests in MacOS **Category:** [Reference Implementation: Java (archive)](https://discourse.openehr.org/c/reference-implementation-java-archive/154) **Created:** 2011-04-01 20:58 UTC **Views:** 8 **Replies:** 5 **URL:** https://discourse.openehr.org/t/oxfeff-breaks-tests-in-macos/15056 --- ## Post #1 by @Fabio_Nogueira_de_Lu Hi, some of the archetypes and templates of oet-parser project starts with 0xFEFF. All of them are listed below. This causes the tests of this project to fail. I have just removed that char from those files and everything worked fine. Am I missing something or those chars should be removed? A similar fresh working copy on windows does not causes errors like in the MacOS. M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.test.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.waist_hip.v2.adl M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.prescription.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.find_largest_node_id.v1.adl M src/test/resources/archetypes/openEHR-EHR-EVALUATION.structured_summary.v1.adl M src/test/resources/archetypes/openEHR-EHR-ITEM_TREE.medication_mod.v1.adl M src/test/resources/archetypes/openEHR-EHR-ACTION.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-ITEM_TREE.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.ad_hoc_heading.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.find_largest_node_id_2.v1.adl M src/test/resources/archetypes/openEHR-EHR-EVALUATION.adjusted_node_ids.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.more_nested_sections.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.lab_test.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.heart_failure_stage.v2.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.nested_sections.v1.adl M src/test/resources/archetypes/openEHR-EHR-INSTRUCTION.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.prescription_flattened.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.simple_section_name.v1.adl M src/test/resources/templates/test_multiple_constraint.oet M src/test/resources/templates/test_annotation.oet M src/test/resources/templates/test_quantity_constraint_included_units.oet M src/test/resources/templates/test_quantity_constraint_magnitude.oet M src/test/resources/templates/test_set_evaluation_name_.oet M src/test/resources/templates/test_multiple_constraint2.oet M src/test/resources/templates/test_quantity_constraint_excluded_units.oet M src/test/resources/templates/test_multiple_constraint3.oet M src/test/resources/templates/test_set_multiple_evaluation_name.oet M src/test/resources/templates/test_hybrid_path.oet M src/test/resources/templates/test_quantity_constraint_included_units2.oet M src/test/resources/templates/test_quantity_constraint_precision.oet M src/test/resources/templates/test_quantity_constraint_included_units3.oet M src/test/resources/templates/test_text_constraints.oet M src/test/resources/templates/test_set_evaluation_name.oet --- ## Post #2 by @system Hi Fábio! Thanks for reporting this. Which test(s) was broken? I recall Sebastian made a fix in the ADL parser so it could handle this extra character. Cheers, Rong 2011/4/1 Fábio Nogueira de Lucena <[fabio@engenhariadesoftware.inf.br](mailto:fabio@engenhariadesoftware.inf.br)> --- ## Post #3 by @system Hi I believe that the BOM is legal at the start of the archetype to indicate its UTF8 encoding. The more recent versions of the parser should simply ignore it, if it doesn't on the Mac we need to have a look. can you send the error message (or a Mac alternatively ;-) )? Regards Sebastian --- ## Post #4 by @thomas.beale Yep, these are the UTF-8 byte order markers (BOM). They are perfectly normal on UTF-8 files. - thomas beale [details="(attachments)"] ![OceanInformaticsl.JPG|183x82](upload://2lcnRHcC3QqDv6AeaDZuo8M9Qlv.jpeg) [/details] --- ## Post #5 by @Fabio_Nogueira_de_Lu Hi, I will try to make things clear (my english does not help me!). Thanks in advance for your attention. After a fresh checkout of [http://www.openehr.org/svn/ref_impl_java/TRUNK](http://www.openehr.org/svn/ref_impl_java/TRUNK) followed by a mvn install the process stops at oet-parser. The output produced is attached (output.txt). Curiously the files listed below show that strange character seen in attachment (oxfeff.png) on my eclipse. When the first three characters are deleted from the beginning of these files all the tests pass. Note that when I change project encoding to UTF-8 the eclipse does not shows that strange character but the tests still fail. That's the same on command line and "mvn install -Dproject.build.sourceEncoding=UTF-8" does not help either. It happens on Mac OS X. M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.test.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.waist_hip.v2.adl M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.prescription.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.find_largest_node_id.v1.adl M src/test/resources/archetypes/openEHR-EHR-EVALUATION.structured_summary.v1.adl M src/test/resources/archetypes/openEHR-EHR-ITEM_TREE.medication_mod.v1.adl M src/test/resources/archetypes/openEHR-EHR-ACTION.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-ITEM_TREE.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.ad_hoc_heading.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.find_largest_node_id_2.v1.adl M src/test/resources/archetypes/openEHR-EHR-EVALUATION.adjusted_node_ids.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.more_nested_sections.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.lab_test.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.heart_failure_stage.v2.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.nested_sections.v1.adl M src/test/resources/archetypes/openEHR-EHR-INSTRUCTION.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.prescription_flattened.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.simple_section_name.v1.adl M src/test/resources/templates/test_multiple_constraint.oet M src/test/resources/templates/test_annotation.oet M src/test/resources/templates/test_quantity_constraint_included_units.oet M src/test/resources/templates/test_quantity_constraint_magnitude.oet M src/test/resources/templates/test_set_evaluation_name_.oet M src/test/resources/templates/test_multiple_constraint2.oet M src/test/resources/templates/test_quantity_constraint_excluded_units.oet M src/test/resources/templates/test_multiple_constraint3.oet M src/test/resources/templates/test_set_multiple_evaluation_name.oet M src/test/resources/templates/test_hybrid_path.oet M src/test/resources/templates/test_quantity_constraint_included_units2.oet M src/test/resources/templates/test_quantity_constraint_precision.oet M src/test/resources/templates/test_quantity_constraint_included_units3.oet M src/test/resources/templates/test_text_constraints.oet M src/test/resources/templates/test_set_evaluation_name.oet Cheers, Fábio [details="(attachments)"] [output.txt|attachment](upload://1PbFnhy4QQtt0H15yODR1USYUIJ.txt) (250 KB) ![0xfeff.png|329x138](upload://58LxoHrnz7mxMSj9EYgHhLM8H86.png) [/details] --- ## Post #6 by @Fabio_Nogueira_de_Lu Hi, I will try to make things clear (my english does not help me!). Thanks in advance for your attention. After a fresh checkout of [http://www.openehr.org/svn/ref_impl_java/TRUNK](http://www.openehr.org/svn/ref_impl_java/TRUNK) followed by a mvn install the process stops at oet-parser. The output is partially reproduced below. Curiously the files M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.test.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.waist_hip.v2.adl M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.prescription.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.find_largest_node_id.v1.adl M src/test/resources/archetypes/openEHR-EHR-EVALUATION.structured_summary.v1.adl M src/test/resources/archetypes/openEHR-EHR-ITEM_TREE.medication_mod.v1.adl M src/test/resources/archetypes/openEHR-EHR-ACTION.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-ITEM_TREE.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.ad_hoc_heading.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.find_largest_node_id_2.v1.adl M src/test/resources/archetypes/openEHR-EHR-EVALUATION.adjusted_node_ids.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.more_nested_sections.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.lab_test.v1.adl M src/test/resources/archetypes/openEHR-EHR-OBSERVATION.heart_failure_stage.v2.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.nested_sections.v1.adl M src/test/resources/archetypes/openEHR-EHR-INSTRUCTION.medication.v1.adl M src/test/resources/archetypes/openEHR-EHR-COMPOSITION.prescription_flattened.v1.adl M src/test/resources/archetypes/openEHR-EHR-SECTION.simple_section_name.v1.adl M src/test/resources/templates/test_multiple_constraint.oet M src/test/resources/templates/test_annotation.oet M src/test/resources/templates/test_quantity_constraint_included_units.oet M src/test/resources/templates/test_quantity_constraint_magnitude.oet M src/test/resources/templates/test_set_evaluation_name_.oet M src/test/resources/templates/test_multiple_constraint2.oet M src/test/resources/templates/test_quantity_constraint_excluded_units.oet M src/test/resources/templates/test_multiple_constraint3.oet M src/test/resources/templates/test_set_multiple_evaluation_name.oet M src/test/resources/templates/test_hybrid_path.oet M src/test/resources/templates/test_quantity_constraint_included_units2.oet M src/test/resources/templates/test_quantity_constraint_precision.oet M src/test/resources/templates/test_quantity_constraint_included_units3.oet M src/test/resources/templates/test_text_constraints.oet M src/test/resources/templates/test_set_evaluation_name.oet is causing the errors. When the first three characters are deleted from the beginning of these files all the tests pass. On command line the "mvn install -Dproject.build.sourceEncoding=UTF-8" does not help either. It happens on Mac OS X. ``` [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ adl-serializer --- [INFO] Building jar: /Users/kyriosdata/openehr/adl-serializer/target/adl-serializer-1.0.2-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ adl-serializer --- [INFO] Installing /Users/kyriosdata/openehr/adl-serializer/target/adl-serializer-1.0.2-SNAPSHOT.jar to /Users/kyriosdata/.m2/repository/openehr/adl-serializer/1.0.2-SNAPSHOT/adl-serializer-1.0.2-SNAPSHOT.jar [INFO] Installing /Users/kyriosdata/openehr/adl-serializer/pom.xml to /Users/kyriosdata/.m2/repository/openehr/adl-serializer/1.0.2-SNAPSHOT/adl-serializer-1.0.2-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building openEHR OET Template Parser and Flattener 1.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ oet-parser --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ oet-parser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/kyriosdata/openehr/oet-parser/src/main/resources [INFO] Copying 1740 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oet-parser --- [INFO] Compiling 5 source files to /Users/kyriosdata/openehr/oet-parser/target/classes [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ oet-parser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 88 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ oet-parser --- [INFO] Compiling 25 source files to /Users/kyriosdata/openehr/oet-parser/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ oet-parser --- [INFO] Surefire report directory: /Users/kyriosdata/openehr/oet-parser/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.openehr.am.template.ActionDescriptionTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec <<< FAILURE! Running org.openehr.am.template.AnnotationTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE! Running org.openehr.am.template.ArchetypeSlotTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE! Running org.openehr.am.template.CompositionTemplateTest Tests run: 5, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE! Running org.openehr.am.template.MultipleConstraintTest Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec <<< FAILURE! Running org.openehr.am.template.PathMapTest Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE! Running org.openehr.am.template.QuantityConstraintTest Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec <<< FAILURE! Running org.openehr.am.template.SectionEvaluationTest Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE! Running org.openehr.am.template.SectionInstructionTest Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE! Running org.openehr.am.template.SectionTemplateTest Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE! Running org.openehr.am.template.SetCardinalityConstraintsTest Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE! Running org.openehr.am.template.SetConstraintOnNamedNodeWithoutNameTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! Running org.openehr.am.template.SetMaxOccurrencesWithoutMinTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec <<< FAILURE! Running org.openehr.am.template.SetMixedConstraintsTest Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE! Running org.openehr.am.template.SetMultipleEvaluationNameTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! Running org.openehr.am.template.SetNestedEvaluationNameTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE! Running org.openehr.am.template.SetNodeNameTest Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE! Running org.openehr.am.template.SetNodeOccurrencesTest Tests run: 11, Failures: 11, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec <<< FAILURE! Running org.openehr.am.template.SetOccurrencesAndNameTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! Running org.openehr.am.template.TemplateParseTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! Running org.openehr.am.template.TermMapTest Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE! Running org.openehr.am.template.TextConstraintTest Tests run: 9, Failures: 9, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec <<< FAILURE! Running org.openehr.am.template.UTF8EncodingTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE! Running org.openehr.am.template.UtilityTest Tests run: 5, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec <<< FAILURE! Results : Failed tests: warning(junit.framework.TestSuite$1): Exception in constructor: testActionDescriptionSlotFilling (se.acode.openehr.parser.TokenMgrError: Lexical error at line 1, column 1. Encountered: "\u00d4" (212), after : "" at se.acode.openehr.parser.ADLParserTokenManager.getNextToken(ADLParserTokenManager.java:31185) at se.acode.openehr.parser.ADLParser.jj_consume_token(ADLParser.java:7123) at se.acode.openehr.parser.ADLParser.archetype(ADLParser.java:214) at se.acode.openehr.parser.ADLParser.parse(ADLParser.java:101) at org.openehr.am.template.TemplateTestBase.loadArchetype(TemplateTestBase.java:111) at org.openehr.am.template.TemplateTestBase.loadArchetypeMap(TemplateTestBase.java:468) at org.openehr.am.template.TemplateTestBase.(TemplateTestBase.java:45) at org.openehr.am.template.ActionDescriptionTest.(ActionDescriptionTest.java:5) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at junit.framework.TestSuite.createTest(TestSuite.java:131) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.(TestSuite.java:75) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.maven.surefire.common.junit3.JUnit3Reflector.constructTestObject(JUnit3Reflector.java:128) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:82) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:107) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) ) warning(junit.framework.TestSuite$1): Exception in constructor: testSingleSectionWithName (se.acode.openehr.parser.TokenMgrError: Lexical error at line 1, column 1. Encountered: "\u00d4" (212), after : "" at se.acode.openehr.parser.ADLParserTokenManager.getNextToken(ADLParserTokenManager.java:31185) at se.acode.openehr.parser.ADLParser.jj_consume_token(ADLParser.java:7123) at se.acode.openehr.parser.ADLParser.archetype(ADLParser.java:214) at se.acode.openehr.parser.ADLParser.parse(ADLParser.java:101) at org.openehr.am.template.TemplateTestBase.loadArchetype(TemplateTestBase.java:111) at org.openehr.am.template.TemplateTestBase.loadArchetypeMap(TemplateTestBase.java:468) at org.openehr.am.template.TemplateTestBase.(TemplateTestBase.java:45) at org.openehr.am.template.AnnotationTest.(AnnotationTest.java:5) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at junit.framework.TestSuite.createTest(TestSuite.java:131) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.(TestSuite.java:75) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.maven.surefire.common.junit3.JUnit3Reflector.constructTestObject(JUnit3Reflector.java:128) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:82) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:107) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) ) warning(junit.framework.TestSuite$1): Exception in constructor: testExapandNestedArchetypeSlots (se.acode.openehr.parser.TokenMgrError: Lexical error at line 1, column 1. Encountered: "\u00d4" (212), after : "" at se.acode.openehr.parser.ADLParserTokenManager.getNextToken(ADLParserTokenManager.java:31185) at se.acode.openehr.parser.ADLParser.jj_consume_token(ADLParser.java:7123) at se.acode.openehr.parser.ADLParser.archetype(ADLParser.java:214) at se.acode.openehr.parser.ADLParser.parse(ADLParser.java:101) at org.openehr.am.template.TemplateTestBase.loadArchetype(TemplateTestBase.java:111) at org.openehr.am.template.TemplateTestBase.loadArchetypeMap(TemplateTestBase.java:468) at org.openehr.am.template.TemplateTestBase.(TemplateTestBase.java:45) at org.openehr.am.template.ArchetypeSlotTest.(ArchetypeSlotTest.java:6) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) ``` - Show quoted text - Cheers, Fábio --- **Canonical:** https://discourse.openehr.org/t/oxfeff-breaks-tests-in-macos/15056 **Original content:** https://discourse.openehr.org/t/oxfeff-breaks-tests-in-macos/15056