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

Regression in IMPAnalyzer causing an exception to be thrown #358

Open
jonno85uk opened this issue Sep 28, 2023 · 0 comments
Open

Regression in IMPAnalyzer causing an exception to be thrown #358

jonno85uk opened this issue Sep 28, 2023 · 0 comments

Comments

@jonno85uk
Copy link

For a customer's file we are seeing a change in behaviour going from v4.6.0 to v.4.8.*

With v4.6.0 the IMPAnalyzer completed and returned errors it found. From at least v.4.8.0 the IMPAnalyzer now returns this:

C:\Users\jonathan.noble\Documents\source>java -cp thirdparty/photon/*; com.netflix.imflibrary.app.IMPAnalyzer ""
27 Sep 2023 15:12:42,337 [INFO ] [IMPAnalyzer]: ==========================================================================
27 Sep 2023 15:12:42,337 [INFO ] [IMPAnalyzer]: Analyzing IMF package
27 Sep 2023 15:12:42,337 [INFO ] [IMPAnalyzer]: ==========================================================================
Exception in thread "main" java.lang.IllegalArgumentException: rangeStart = 95063260382 is not <= 95063260381 rangeEnd
at com.netflix.imflibrary.utils.ResourceByteRangeProvider$Utilities.validateRangeRequest(ResourceByteRangeProvider.java:78)
at com.netflix.imflibrary.utils.FileByteRangeProvider.getByteRangeAsBytes(FileByteRangeProvider.java:126)
at com.netflix.imflibrary.app.IMPAnalyzer.getHeaderPartitionPayloadRecord(IMPAnalyzer.java:132)
at com.netflix.imflibrary.app.IMPAnalyzer.analyzePackage(IMPAnalyzer.java:273)
at com.netflix.imflibrary.app.IMPAnalyzer.main(IMPAnalyzer.java:608)

I have tried to reproduce with v4.9.4 but was unable to start the program as 'gradlew.bat getDependencies' did not add the various libs it usually does.

Is it possible to change this exception to another entry in IMPAnalyzer's report on completion?

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

No branches or pull requests

1 participant