Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> Designer not displaying Windows
 

Pages: 1
Bugs & Issues
Designer not displaying Windows
Page:1/1 

  Print all messages in this thread  
Poster Message
Emmanuel
User



Location:
Ottawa, Canada
Joined on:
13-Jan-2006 23:14:31
Posted:
164 posts
# Posted on: 14-Jul-2016 13:14:30.  
LLBLGen Pro 5.0.4 (17 June 2016) on Windows 10
Generating for SQL Server using LLBLGen Pro Runtime Framework for .NET 4.5.2, C# using SD.Presets.Adapter.General

I tried to change the 'Typed view output type default' to 'PocoWithLinqQuery' and then generate my project but I get a dialogue saying there is a validation error.

My issue is that, when I try to access the 'Errors & Warnings' window by clicking the 'Window | Open Windows' menu item, nothing happens. There's a little triangle next to 'Open Windows' that suggests there is a cascading menu that will open but clicking or hovering does nothing. I've tried restarting LLBLGen and that doesn't work. I've tried restarting LLBLGen and opening the window without doing anything first and that doesn't work either. I've also tried restarting Windows 10.



  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37635 posts
# Posted on: 14-Jul-2016 16:03:55.  
Emmanuel wrote:
LLBLGen Pro 5.0.4 (17 June 2016) on Windows 10
Generating for SQL Server using LLBLGen Pro Runtime Framework for .NET 4.5.2, C# using SD.Presets.Adapter.General

I tried to change the 'Typed view output type default' to 'PocoWithLinqQuery' and then generate my project but I get a dialogue saying there is a validation error.

My issue is that, when I try to access the 'Errors & Warnings' window by clicking the 'Window | Open Windows' menu item, nothing happens. There's a little triangle next to 'Open Windows' that suggests there is a cascading menu that will open but clicking or hovering does nothing. I've tried restarting LLBLGen and that doesn't work. I've tried restarting LLBLGen and opening the window without doing anything first and that doesn't work either. I've also tried restarting Windows 10.

The tab is usually docked at the bottom, do you see it there or other windows docked there?

In any case, you can reset the panes, by removing the file: panelstate50.xml from the folder:
C:\Users\<your user id>\AppData\Roaming\LLBLGen Pro

It's strange though, as the pane isn't floatable, so it's odd it's gone, I can't think of a way to get rid of it in the designer. Do you recall what you did or what changed to get this state so we can try to reproduce it?


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Emmanuel
User



Location:
Ottawa, Canada
Joined on:
13-Jan-2006 23:14:31
Posted:
164 posts
# Posted on: 14-Jul-2016 16:08:30.  
There were no tabs docked on the bottom but there was a pin icon which, when clicked, caused all the windows tabs to appear at the bottom.

Maybe the Windows | Open Windows didn't cascade because the UI though the windows were already opened when then were, in fact, hiding somehow at the dock on the bottom?

Anyways, I'm up and running. Thanks.

Edit: And, no, I'm sorry but I don't remember doing anything in particular. I haven't had a validation error in a long time.
  Top
jovball
User



Location:
USA
Joined on:
23-Jan-2005 19:53:47
Posted:
393 posts
# Posted on: 08-Nov-2016 22:11:54.  
FYI, I had the same problem with all of the windows at the bottom disappearing. I deleted the file in AppData and they came back.

If I can figure out how I "lost" them, I'll post something here.


Joel Reinford
LLBLGenPro Version: 5.5.3
Templates: Adapter
Framework: .Net 4.6
Database: SQL Server 2012/2014, DB2 v10
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37635 posts
# Posted on: 09-Nov-2016 08:15:27.  
Strange! Indeed please let us know how to reproduce this so we can fix it. You did undock them or something (e.g. Place them on another monitor), did you use the designer in visual studio?
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
jovball
User



Location:
USA
Joined on:
23-Jan-2005 19:53:47
Posted:
393 posts
# Posted on: 09-Nov-2016 18:59:18.  
I'm using the standalone designer and I didn't (knowingly) undock them. I'll pay more attention to those windows from here to see if I can figure out what I did.

Joel Reinford
LLBLGenPro Version: 5.5.3
Templates: Adapter
Framework: .Net 4.6
Database: SQL Server 2012/2014, DB2 v10
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37635 posts
# Posted on: 10-Nov-2016 09:43:43.  
jovball wrote:
I'm using the standalone designer and I didn't (knowingly) undock them. I'll pay more attention to those windows from here to see if I can figure out what I did.

Ok, and if you run into this next time, please attach the panelstate file so we can check whether it's bad coordinates the panels are docked or whether they're minimized or something like that. We'll also see if we can add some code to circumvent problems that might arise in the future. The file is loaded by the panel manager which is a devexpress control so it's a bit out of our hands, but we could still check whether the panels are visible and if not, make them visible.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Scrooge
User



Location:

Joined on:
09-Oct-2017 12:38:08
Posted:
5 posts
# Posted on: 09-Oct-2017 12:55:34. Goto attachments  
Otis wrote:
jovball wrote:
I'm using the standalone designer and I didn't (knowingly) undock them. I'll pay more attention to those windows from here to see if I can figure out what I did.

Ok, and if you run into this next time, please attach the panelstate file so we can check whether it's bad coordinates the panels are docked or whether they're minimized or something like that. We'll also see if we can add some code to circumvent problems that might arise in the future. The file is loaded by the panel manager which is a devexpress control so it's a bit out of our hands, but we could still check whether the panels are visible and if not, make them visible.


Hi Otis,

I've just run into this issue while trialling 5.2, the window disappeared after LLBLGen started throwing exceptions regarding a null reference to a RichTextBox object. The exception dialogue flashed up four or five times before I closed the application & reopened, sans the "Errors and Warnings" window.

The issue doesn't appear to be in the "panelstate52.xml" file as removing this file by itself did not rectify the issue, clearing the folder entirely did.

I've attached the three two suspect configuration files, hopefully they'll be of use.

Edit: attachment limitation


  Top
Scrooge
User



Location:

Joined on:
09-Oct-2017 12:38:08
Posted:
5 posts
# Posted on: 09-Oct-2017 12:56:36. Goto attachments  
And file number three, just in case.

Might be worth bumping the attachment count up by one.
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14529 posts
# Posted on: 09-Oct-2017 19:28:05.  
Quote:
the window disappeared after LLBLGen started throwing exceptions regarding a null reference to a RichTextBox object. The exception dialogue flashed up four or five times before I closed the application & reopened, sans the "Errors and Warnings" window.

Any chance you have a screen shot or the text of that exception?


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37635 posts
# Posted on: 10-Oct-2017 09:41:23.  
Scrooge wrote:
And file number three, just in case.

Might be worth bumping the attachment count up by one.

(you can zip files and attach the zip Wink) Will look into the problem with the files but it might very well be it's not reproducible. We indeed need the exception text. You can copy the exception to the clipboard in the exception dialog, please paste the text here.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Scrooge
User



Location:

Joined on:
09-Oct-2017 12:38:08
Posted:
5 posts
# Posted on: 10-Oct-2017 10:41:28.  
Walaa wrote:
Quote:
the window disappeared after LLBLGen started throwing exceptions regarding a null reference to a RichTextBox object. The exception dialogue flashed up four or five times before I closed the application & reopened, sans the "Errors and Warnings" window.

Any chance you have a screen shot or the text of that exception?


Sorry guys, I'm afraid I just spam-clicked the exception message window until it disappeared (I think there may have been five exception dialogues overlaid on one another), I wasn't expecting it to be useful in tracking down an issue.

It was a very short message informing me that a NullReferenceException had been raised when accessing a RichTextBox object.

I had the "Errors & Warnings" panel unpinned so that it would auto-hide, and did notice that the "ErrorWarningMessagesDisplay" menu buttons in the toolbar did not bring up the panel, the four tab buttons in the bottom-left of the program window that allow navigation within the panel were not showing.

I believe I was running "Feature Hint" > "Perform" options just before the error occurred, with two errors being displayed in the "Errors & Warnings" list.

Otis wrote:
Scrooge wrote:
And file number three, just in case.

Might be worth bumping the attachment count up by one.

(you can zip files and attach the zip Wink) Will look into the problem with the files but it might very well be it's not reproducible. We indeed need the exception text. You can copy the exception to the clipboard in the exception dialog, please paste the text here.


... I have no idea why I didn't think of that...

If I can get the exception to pop back up I'll make sure to copy it and drop it into a reply.


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37635 posts
# Posted on: 10-Oct-2017 10:55:06.  
The guistate52.xml file contains 1 recent file, but has as 'AmountRecentFilesStored' value: 3. Also the file contains whitespace, as if it's edited in an editor.

Please explain these 2 things, especially the last one: did you edit the file in an editor? It's written without whitespace and assumed it doesn't contain any.

That the # of 'recent files' is 3 but there is just 1 file mentioned in the xml causes a problem with the recent files and gives an exception at startup, not about a rich text box tho.

We've added code to avoid this load error in the future to v5.2 (and merge with v5.3). We'll release a hotfix later today with that update.

I see there are panels missing, we'll look into that now.

(edit) the panels data is simply missing from the xml file. So when it's loaded back, these aren't re-created. I think this happened because some exception occurred before they could be created (so they weren't there), designer was closed (so the file was overwritten, but as the panels weren't there, their state wasn't written into the file), and next time the panels weren't there.

We'll add code to recreate them if they're missing after the deserialization of the state data so this can't happen again.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Scrooge
User



Location:

Joined on:
09-Oct-2017 12:38:08
Posted:
5 posts
# Posted on: 10-Oct-2017 10:58:07.  
Yeah sorry that was me I used the XML format plug-in in Notepad++ to review the files. There were three recent projects, I cleared them down to one. Not 100% on data leakage policy in this role so figured better safe than sorry.

  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37635 posts
# Posted on: 10-Oct-2017 11:02:41.  
Scrooge wrote:
Yeah sorry that was me I used the XML format plug-in in Notepad++ to review the files. There were three recent projects, I cleared them down to one. Not 100% on data leakage policy in this role so figured better safe than sorry.

ah ok, that clears things up in that area. So the exception I saw was not the one you saw.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Scrooge
User



Location:

Joined on:
09-Oct-2017 12:38:08
Posted:
5 posts
# Posted on: 10-Oct-2017 11:04:59.  
My bad, I should have mentioned. /me throws spanners everywhere

  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37635 posts
# Posted on: 10-Oct-2017 12:11:29.  
The missing panels issue is 'solved' at the moment by removing the panelstate52.xml file. We currently can't find a workaround for the issue where the panels are missing (as in: recreate the situation as if there wasn't an xml file). We've filed an issue with devexpress to see what is to be done, as the panels are still there but their deserialization code removes them as there's no data for the panel elements in the xml.

Hopefully they have an answer today, otherwise we'll release the hotfix tomorrow.

(see: https://www.devexpress.com/Support/Center/Question/Details/T563352/panels-disappear-after-calling-dockmanager-restorelayoutfromxml)
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37635 posts
# Posted on: 11-Oct-2017 12:28:56.  
A workaround has been implemented, which restores the panels with contents if they're missing.

This is available in the hotfix build for v5.2, v5.2.4, now available on the website. Will also be merged into v5.3


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.