You are viewing limited content. For full access, please sign in.

Question

Question

adding For each activities to workflow with error

asked on September 6, 2014

i have laserfiche 8.3.2 and workflow 8.3.1 ( with hotfix WF831193 KB1013129_x86)

 

when i try to add any of "for each activity" only , such as "For Each Entry" or "For Each user" , i got an error as shown below, - all remaining activities are working fine

 

i tried to re-install, and uninstall and install it again from scratch, did .Net 4 repair, and i am still facing the below issue.

 

Failed to create edit control of type 'Laserfiche.Workflow.Activities.ForEach.UI.ForEachEntryEditControl' for property 'Collection'.

Exception
        System.NullReferenceException:
Object reference not set to an instance of an object.

Stack Trace
        at Laserfiche.Workflow.UI.BindingControl.OnHeightChanged(Int32 previousHeight, Int32 newHeight)
        at Laserfiche.UI.FlowPanelWithLabels.OnResize(EventArgs e)
        at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
        at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
        at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
        at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
        at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
        at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
        at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
        at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
        at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
        at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout()
        at System.Windows.Forms.ContainerControl.OnLayout(LayoutEventArgs e)
        at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
        at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
        at System.Windows.Forms.ContainerControl.LayoutScalingNeeded()
        at System.Windows.Forms.ContainerControl.set_AutoScaleMode(AutoScaleMode value)
        at Laserfiche.UI.FlowPanelWithLabels.InitializeComponent()
        at Laserfiche.UI.FlowPanelWithLabels..ctor()
        at Laserfiche.Workflow.UI.BindingControl..ctor(Type[] allowedBindingTypes)
        at Laserfiche.Workflow.UI.BindingControl..ctor()
        at Laserfiche.Workflow.UI.BindingEditControl.InitializeComponent()
        at Laserfiche.Workflow.UI.BindingEditControl..ctor(Type[] allowedBindingTypes)
        at Laserfiche.Workflow.Activities.ForEach.UI.ForEachEntryEditControl..ctor(Type[] allowedBindingTypes)

Data items: 1
AlreadyLogged: True

Capture.JPG
Capture.JPG (101.75 KB)
0 0

Answer

SELECTED ANSWER
replied on September 10, 2014

I was asking about the font size, not the resolution. Settings over 100% may cause the behavior you're seeing.

 

0 0

Replies

replied on September 8, 2014

Hi Mohammed,

 

I'm assuming you are actually putting something inside the 'for each entry' activity? Also you will need to set the 'for each entry' to look at the output entries from the search like this.

 

 

Also look in the designer itself under the instances of workflows that have run. It might give you some more information there.

 

Also something else to note. You can install WF 9 with LF 8 server. Get upgraded to the latest version ASAP.

 

Another option would be to install the designer only on a workstation or another server to see if you experience the same issue. The designer doesn't have to be on the same server as workflow. It can be installed anywhere on the network.

 

Hope this points you in the right direction.

 

Cheers! laughyes

0 0
replied on September 8, 2014

Hi,

 

First of all thanks for your reply.

 

yes, i am placing another activity under for each, the idea is not showing Entries properties under entries ( middle-right) see the error that i have, the issue was not exist before two weeks, and updates have been done on that station, i tried to install it on others machines ,and i downloaded new setup file of same version, still have this issue.

 

 

see the attached Errors snapshot and file accordingly

 

regarding upgrade, client is not welling to upgrade to 9.1.1

Capture.JPG
errors.JPG
Capture.JPG (74.14 KB)
errors.JPG (134.16 KB)
Errors.txt (7.64 KB)
0 0
replied on September 8, 2014

Hi Mohammed,

 

Really strange. I see in your text the error shows.

 

InvalidArgument=Value of '0' is not valid for 'DropDownWidth'.
Parameter name: DropDownWidth

 

Perhaps this means something to LF development.

 

It's also very strange that you install the designer onto other machines and see the same error. This would lead me to believe it's a group policy setting or user rights access problem.

 

I guess if you are saying it was working 2 weeks ago and isn't now, it's working out what has changed. User account access, windows updates, domain changes, environment changes of any kind really.

 

Sorry can't really think of anything else. Need LF to chime in really.

 

Good luck Mohammed! laughyes

0 0
replied on September 8, 2014

Chris, 

 

thanks again. 

 

i have another machine has the same settings it is working fine on another machine.

 

i think it is related to windows resolution, however i am unable to figure out the correct resolution.

 

0 0
replied on September 8, 2014

Are your Windows display settings set to 125%?

0 0
replied on September 8, 2014

Hi 

 

i tried all display setting from workflow designer with same issue.

 

what is the recommended windows resolution if that may affect

 

0 0
SELECTED ANSWER
replied on September 10, 2014

I was asking about the font size, not the resolution. Settings over 100% may cause the behavior you're seeing.

 

0 0
replied on September 13, 2014

thanks a lot Miruna, this solved the issue finally. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.