[NeXus-code-tickets] [NeXusCode] #210: JNI FindClass can fail running in an OSGi container

NeXus Data Format Library and Applications noreply at nexusformat.org
Thu Jan 14 23:46:32 GMT 2010


#210: JNI FindClass can fail running in an OSGi container
----------------------------+-----------------------------------------------
 Reporter:  Tobias Richter  |       Owner:  Tobias Richter
     Type:  defect          |      Status:  new           
 Priority:  major           |   Milestone:                
Component:  other bindings  |     Version:  4.2.0         
 Keywords:                  |  
----------------------------+-----------------------------------------------
 The java binding tries generate Exceptions in a callback routine. This is
 known to fail running in an OSGi container like in an eclipse RCP
 application.

 Due to some unfriendly assert statements this leads to a complete crash of
 the application/JVM. Only message in this case:
 java: native/NexusFile.c:80: JapiError: Assertion `jc' failed.

 Thanks to Ken Evans a workaround exists:
 http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/msg11072.html

 This should be implemented and the asserts removed.

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/210>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications


More information about the NeXus-code-tickets mailing list