| Summary | Orbix 3.3 C client receives Unknown Error Code: 12000 - Unknown Error Code: 12003 | 
|---|---|
| Article Number | 13682 | 
| Environment | HP-UX 11.11 Orbix 3.3.10 | 
| Question/Problem Description | Orbix 3.3 C   client receives: Unknown Error Code: 12000 - Unknown Error Code: 12003 Orbix 3.3 C client receives following error from an Orbix Java server: Unknown Error Code: 12000 unexpected java exception encountered dispatching request: java.lang.NoClassDefFoundError | 
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | java.lang.NoClassDefFoundError is a JVM error and is not thrown at the class method level, and hence it is not caught. This kind of errors match the CORBA system unknown errors. | 
| Resolution | One possible solution is to check the server side code and catch all the java errors in try/catch blocks. Some errors, like the java.lang.NoClassDefFoundError are thrown at the JVM level and are not caught using the Exception class used in the try/catch section. For such errors the Throwable class can be used instead of the Exception class. | 
| Workaround | |
| Notes | |
| Attachment | 
| Created date: | 06 September 2011 | 
|---|---|
| Last Modified: | 13 February 2013 | 
| Last Published: | 23 June 2012 | 
| First Published date: | 09 September 2011 | 
#Orbix
#KnowledgeDocs

