There are layouts that I can not entry by using the step "go to Layout". Filemaker crashes each time. It works if I use debugger and if I use FM Pro 14 instead of 15. That is really bad. Does anybody know what I can do?
Well, let's start with the usual assessment:
Product and version:
OS and version:
How to replicate:
What is the content of the target layout? (WebViewer, Script Triggers, …)
Do you use any PlugIns?
Product and version: FM Advanced 15 (and FM 14 Advanced)
OS and version: OSX El Capitan
Hardware: Mac mini ( 2011), 2,3 GHz Intel Core i5
Java: 1.8.0_91 (latest)
No WebViewer or ScriptTriggers. Portals exists in the target script. I don't use any PlugIn. Strange that it works with FM 14. The other way would make sense (new script steps that are not supported in 14).
And what is the method, by ID, calculation (Name) or Calculation (Nr) ?
Next would be to
- open Activity Monitor on Mac to see if CPU OR Memory is running out of the ordinary when crash
- some of us (not me!) can even read Apple "Crash Reports". Save and upload here might help
CPU or Memory is not running out of the ordinary.
Here is the crash report: Dropbox - crashReportFilemaker.txt
I had a similar issue: Solver removing a WebViewer in the layout
Thank you for your posts and crash report.
The crash report shows an issue with a tab control panel. The crash report also shows this is happening via a script, but I cannot determine if the script is causing the issue when switching to the layout with the tab control, or if it is just the layout itself.
Are you able to manually go to the layout? If so, post the script steps that are executed one step before the change of layout through the remainder of the script.
Also, duplicate the existing layout, and in the duplicated layout, remove the tab control. Duplicate the script, and have the duplicated script call the new duplicated layout. Execute the script. Does this work? If so, then add back a new tab control and add the necessary objects/fields.
Keep me updated with any progress.
Thank you all for your help. There is still a filemakerbug but I was able to identify the problem more precisely:
there is a difference in how the script is activated even if it crashes always at this step ("go to layout", no matter if by calculation or by name or whatever). I have a field where you can choose values from a value list. After you have selected the value the script is triggered (on Object Modify). And now the miracle: it makes a different what contol style you choose: "drop down list" ends filemaker, "pop-up menu" is no problem.
So I changed the control style.
Thank you for the additional information. However, I am unable to replicate the crash. This is what I have done:
1. I created a database with three Text fields: Name, DropDown, and Popup.
2. I created a second layout (Layout #2) with just the Name field appearing.
3. I created a script "OnModifyObject" with the script step: Go to Layout [ "Layout #2" ]
4. On the original layout ("Table"), I set the Control Style for the field DropDown to be a Drop-down list.
5. I set the Control Style for the field "Popup" to be a Pop-up menu.
(My Value list is static with the values "Yes", "No" and "Maybe")
6. I added the OnModifyObject script trigger to both Dropdown and Popup fields, both calling the script "OnModifyObject".
7. In Browse mode, I added a record, clicked inside Dropdown and selected "Yes". I immediately switch to Layout #2 as expected.
8. I returned to "Table" layout, activated the pop-up menu for Popup, selected "No", and as expected, switched to Layout #2.
Are you able to replicate the crash with a new file?
Thank you very much for your help.
I've tried to replicate but it didn't work. Here you see the original application and the crash:
Dropbox - bugFM.mov
Does this help? Please let me know what else I can do?
Thank you for the movie, but it only shows the actions you are taking.
The pop-up menu/drop-down list triggers a script. Instead of selecting the item, are you able to perform the script steps manually? That is, if the script step only switches to a layout, are you able to manually switch to that layout without executing the script?
I don't know exactly what you mean. But for me it's okay now. So I just have to use pop-up instead of drop-down. If you like to find out what the error causes I could upload the application and send the link if you send me your emailadress.
I have sent you a private message with instructions where to send the file.
I received your file. Thank you.
It appears to be a timing issue in the "perform action" script.
Before line 229 (Perform Script EditGeneratesPreview), insert the script step:
Pause/Resume Script [ Duration (seconds): .3 ]
Also, before line 223 (Perform Script EditGoToViewNoBook), insert the same script step:
I have sent your file, along with my findings, to our Development and Testing departments for further review. When I receive any feedback, I will let you know.
Once more the FMP 'Voodoo-Toolbox':
- Pause [Duration (seconds); .2 ] according to siplus recommendation
This occurrence meets a area where this product idea could be helpful:
FMI Whitepaper "Under the Hood" for every new release
The cause of this issue might be related to
Focus - Timing - Rendering-Order
Our Development and Testing departments are aware of this issue. The cause is a script switching to a layout that contains a tab panel and no Header part. Your post has been attached to the original report. When more information becomes available, I will post again.
This issue has been addressed in FileMaker Pro 15.0.2.
Retrieving data ...