# ErrorType UNKNOWN **Category:** [Implementers (archive)](https://discourse.openehr.org/c/implementers-archive/158) **Created:** 2006-09-20 21:19 UTC **Views:** 3 **Replies:** 2 **URL:** https://discourse.openehr.org/t/errortype-unknown/14577 --- ## Post #1 by @system Maybe Rong can help me, but maybe others also, if Rong is too busy, or does not read the email I get all the time in a specific archetype the ErrorType UNKNOW, when I print the ErrorMap\. I get it very much on top of the archetype: \{/\[at0000\]/details\[at0001\]/=UNKNOWN Is it possible to indicate what this error means\. I found the enum ErrorType, but it was not documented in the code However, most of them speak for themselve, but some don't MISSING, BAD\_INDEX, BAD\_FORMAT, BAD\_VALUE, TERM\_MISSING, UNKNOWN,     CARDINALITY\_TOO\_FEW, CARDINALITY\_TOO\_MUCH, I wonder, after CARDINALITY\_TOO\_MUCH is a comma \(,\) This confuses me, as if there should be another value? Maybe it is a bit of my Java ignorance, if so, excuse me for that\. thanks Bert --- ## Post #2 by @rong.chen Bert Verhees wrote: > Maybe Rong can help me, but maybe others also, if Rong is too busy, or > does not read the email > I get all the time in a specific archetype the ErrorType UNKNOW, when I > print the ErrorMap\. >   Hi Bert, Sure I can help :\) I believe this error type is to do with known Reference Model class\. This exception is thrown by RMObjectBuilder within construct\(\)\. Method loadTypeMap\(\) loads all openEHR reference model from the class path so if you want the builder to support other RM you need to change that\. Hope this helps\. Rong --- ## Post #3 by @system Rong Chen schreef: > Bert Verhees wrote: >   >> Maybe Rong can help me, but maybe others also, if Rong is too busy, or >> does not read the email >> I get all the time in a specific archetype the ErrorType UNKNOW, when I >> print the ErrorMap\. >>   > > Hi Bert, > > Sure I can help :\) > > I believe this error type is to do with known Reference Model class\. > This exception is thrown by RMObjectBuilder within construct\(\)\. Method > loadTypeMap\(\) loads all openEHR reference model from the class path so > if you want the builder to support other RM you need to change that\. >   Thanks Rong, I left the path of working outsinde the RM Model, and I already found the exception comes from the RMObjectBuilder\. But still, I am working on code which is not the latest the greatest\. But the latest, the geatest is a moving target, and for an application builder, that is not suitable\. So I stuck at level 0\.95, and I will upgrade in a few months\. \(maybe the 1\.0\.1 version is stable by then\) My question is about this particular version\. And there is a small piece of code which I do not understand, that is where my question is referring too\. I guess the exception is thrown where in the RMObjectBuilder the line leafc\.createObject\(\.\.\.\) is executed\. But this is an abstract method, so I have to go to the class on which the error occurs to find out what causes the error\. So I was hoping, you could give a generally true indication in what situation the UNKOWN\- error occurs\. If possible\. And please allow me a stupid question, it is because I still have to get used to the java\-environment\. What is the easiest way to turn on the logging in the kernel\-jars? Recompile it in a version with logging enabled, or can I turn it on in my local log4j\.properties? Thanks for your attention Bert --- **Canonical:** https://discourse.openehr.org/t/errortype-unknown/14577 **Original content:** https://discourse.openehr.org/t/errortype-unknown/14577