Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: uncaughtException: maxObjectCount exceeded in listApplications #2355

Merged
merged 5 commits into from
Mar 25, 2024

Conversation

KazuCocoa
Copy link
Member

@KazuCocoa KazuCocoa commented Mar 25, 2024

Fixes appium/appium#19834 that is similar to appium/appium#18753

[XCUITestDriver@c3fa (a8298d6e)] Event 'wdaStartAttempted' logged at 1711345142607 (13:39:02 GMT+0800 (Singapore Standard Time))
uncaughtException: maxObjectCount exceeded
Error: maxObjectCount exceeded
    at Object.exports.parseBuffer (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/bplist-parser/bplistParser.js:92:11)
    at parseBinaryPlist (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/@appium/support/lib/plist.js:111:22)
    at Object.parsePlist (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/@appium/support/lib/plist.js:169:12)
    at PlistServiceDecoder._decode (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/plist-service/transformer/plist-service-decoder.js:23:26)
    at PlistServiceDecoder._transform (/Users/saikrishna/Downloads/git/appium-device-farm/node_modules/appium-xcuitest-driver/node_modules/appium-ios-device/lib/plist-service/transformer/plist-service-decoder.js:14:10)
    at PlistServiceDecoder.Transform._write (node:internal/streams/transform:205:23)
    at writeOrBuffer (node:internal/streams/writable:391:12)

#2356 is required to fix the build.

Tested this won't break existing relevant behavior for real devices.

@KazuCocoa KazuCocoa marked this pull request as ready for review March 25, 2024 07:06
Copy link
Contributor

@mykola-mokhnach mykola-mokhnach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please merge after the build is fixed

@KazuCocoa KazuCocoa merged commit 6bfc5c5 into master Mar 25, 2024
18 checks passed
@KazuCocoa KazuCocoa deleted the fix-big-plist branch March 25, 2024 19:59
github-actions bot pushed a commit that referenced this pull request Mar 25, 2024
## [7.5.4](v7.5.3...v7.5.4) (2024-03-25)

### Bug Fixes

* uncaughtException: maxObjectCount exceeded in listApplications ([#2355](#2355)) ([6bfc5c5](6bfc5c5))
Copy link
Contributor

🎉 This PR is included in version 7.5.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Server crash for iOS real device
2 participants