Author Topic: B6: load-from-project results in Slick-C Error  (Read 2632 times)

marksun

  • Community Member
  • Posts: 28
  • Hero Points: 5
B6: load-from-project results in Slick-C Error
« on: May 31, 2013, 06:54:34 PM »
If I have no buffers/windows open and I try to open a file using load-from-project I get Invalid object handle file=tbfilelist.ex offset=4491
Stack:
 Invalid object handle
tbfilelist.ex 4491 tbfilelist:open_selected_files()   p_window_id: 154 (invalid)
tbfilelist.ex 4223 _tbfilelist_form.ctl_file_list.on_change(16, 491)   p_window_id: 154 (invalid)
treeview.ex 1083   _ul2_tree.enter()   p_window_id: 154 (invalid)

If I already have a file open, then opening using load-from-project works fine.
Since I've just been installing the betas in new directories and using them, it's possible that this doesn't happen on a clean install.

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: B6: load-from-project results in Slick-C Error
« Reply #1 on: May 31, 2013, 08:11:42 PM »
Thanks for the report. I'm able to reproduce this stack. Took me a little while as it only happens if there are no files currently open and the Files tool window is floating. To work around this for now simply right-click on the Files tool window, make it dockable, and dock it. This will prevent the stack until we can get a real fix in.

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: B6: load-from-project results in Slick-C Error
« Reply #2 on: June 03, 2013, 02:18:34 PM »
This has been fixed, and you'll see it behave in the next release. (We also found another small bug in there hunting around to repro this one, so a good two-fer)