| Previous | Next |
| MILEFFECTSERR_EFFECTALREADYINAGRAPH | MILEFFECTSERR_ALREADYATTACHEDTOLISTENER |
MILEFFECTSERR_EFFECTHASNOCHILDREN
The scope of MILEFFECTSERR_EFFECTHASNOCHILDREN is MIL effect child collections and listeners. An operation requiring child effects was applied to an effect node with an empty child collection. Keep 0x88980617 beside the returning method because a wrapper can replace this distinction with a generic subsystem message.
Read the HRESULT in context
Composite effects and graph listeners have collection lifetimes independent of visual appearance. An empty child set can invalidate an operation that expects aggregation, while registering the same listener twice creates duplicate ownership of notifications. Both cases require inspecting collection membership and subscription state rather than pixel output.
Child enumeration, grouping, or composite effect setup.
Common wrong turns
NOINPUTSOURCEATTACHED concerns image input; child-effect membership is a separate structural relationship. Do not catch the HRESULT and continue rendering with a partially connected graph; later failures can obscure the invariant that was first violated.
Evidence to preserve
- Effect instance and owning graph or group identity
- Connector, input, child, listener, property, or transform involved
- Calculated input and output bounds
- Construction sequence and first method returning the HRESULT
A minimal test sequence
Test one child or one listener registration, then add and remove entries while logging object identity. Include an empty collection and a duplicate registration as explicit negative controls.
- Add the intended child once and verify the operation’s minimum child count.
- Rebuild the smallest graph containing only the implicated node and one known input.
- Log ownership changes and graph generation numbers.
- Validate the graph before allocating large intermediate resources.
Technical references
Looking for a different code? Search another status or error code.
