[NeXus-code-tickets] [NeXusCode] #133: groupdir() crashes if called after a makegroup()

NeXus Data Format Library and Applications noreply at nexusformat.org
Wed Oct 8 11:43:43 BST 2008


#133: groupdir() crashes if called after a makegroup()
------------------------------+---------------------------------------------
  Reporter:  Stuart Campbell  |       Owner:  Unassigned     
      Type:  defect           |      Status:  new            
  Priority:  major            |   Milestone:  NeXus 4.2 Ready
 Component:  bindings         |     Version:  trunk          
Resolution:                   |    Keywords:                 
------------------------------+---------------------------------------------
Old description:

> If you do something like (using the Java NAPI)
>
> file.makegroup("name","NXentry")
> file.groupdir()
>
> it crashes!  but the following is happy...
>
> file.makegroup("name","NXentry")
> file.opengroup("name","NXentry")
> file.closegroup()
> file.groupdir()

New description:

 If you do something like (using the Java NAPI)
 {{{
 file.makegroup("name","NXentry")
 file.groupdir()
 }}}
 it crashes!  but the following is happy...

 {{{
 file.makegroup("name","NXentry")
 file.opengroup("name","NXentry")
 file.closegroup()
 file.groupdir()
 }}}

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/133#comment:3>
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