Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-12

What about this error ?

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

FreeMan

Kubuntu 14.04 x64 svn lazarus QT
I get this error (in terminal) I put component and set some property or not, save form then close unit. Re open unit, source(.pas) is opening, then press F12 I get access violation error, and terminal write this lines.

WARNING: obsolete call to RecreateWnd for TvFooter Warning: TWinControl.DestroyHandle :TvFooter Handle not Allocated [TJITComponentList.AddJITChildComponentFromStream] ERROR reading form stream of Class "TForm1" Error: Access violation
Stack trace:
$00000000006057DA
.....
TCustomFormEditor.JITListException List.CurReadStreamClass=TForm1 TUnitInfo ERROR: streaming failed lfm="/home/unit1.lfm"
TSourceEditorSharedValues.GetMainLinkScanner failed to find the unit of /home/unit1.lfm
TPkgManager.GetMissingDependenciesForUnit WARNING: unit has no owner: /home/unit1.pas
QWidget::repaint: Recursive repaint detected

Reply by email

zeljko
to FreeMan
FreeMan wrote 19 lines
Kubuntu 14.04 x64 svn lazarus QT I get this error (in terminal) I put component and set some property or not, save form then close unit. Re open unit, source(.pas) is opening, then press F12 I get access violation error, and terminal write this lines. WARNING: obsolete call to RecreateWnd for TvFooter Warning: TWinControl.DestroyHandle :TvFooter Handle not Allocated [TJITComponentList.AddJITChildComponentFromStream] ERROR reading form stream of Class "TForm1" Error: Access violation Stack trace: $00000000006057DA ..... TCustomFormEditor.JITListException List.CurReadStreamClass=TForm1 TUnitInfo ERROR: streaming failed lfm="/home/unit1.lfm" TSourceEditorSharedValues.GetMainLinkScanner failed to find the unit of /home/unit1.lfm TPkgManager.GetMissingDependenciesForUnit WARNING: unit has no owner: /home/unit1.pas QWidget::repaint: Recursive repaint detected

What is TvFooter ?

z.

Reply by email

FreeMan
to zeljko

If I'm not wrong, error is "antique hellenic city name" create event and lazarus create event rules is different, class creating and set default property at this moment owner class continue to process. Solution is add "if assigned()" controls or add loaded event and/or move to all access to sub class routine move loaded event.

zeljko wrote 27 lines
On 12/07/2014 05:05 PM, FreeMan wrote: > Kubuntu 14.04 x64 svn lazarus QT > I get this error (in terminal) I put component and set some property or > not, save form then close unit. Re open unit, source(.pas) is opening, > then press F12 I get access violation error, and terminal write this > lines. > > WARNING: obsolete call to RecreateWnd for TvFooter > Warning: TWinControl.DestroyHandle :TvFooter Handle not Allocated > [TJITComponentList.AddJITChildComponentFromStream] ERROR reading form > stream of Class "TForm1" Error: Access violation > Stack trace: > $00000000006057DA > ..... > TCustomFormEditor.JITListException List.CurReadStreamClass=TForm1 > TUnitInfo > ERROR: streaming failed lfm="/home/unit1.lfm" > TSourceEditorSharedValues.GetMainLinkScanner failed to find the unit of > /home/unit1.lfm > TPkgManager.GetMissingDependenciesForUnit WARNING: unit has no owner: > /home/unit1.pas > QWidget::repaint: Recursive repaint detected What is TvFooter ? z.

Reply by email