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

profile collection may fail if the method's name is too long #36

Open
gluckzhang opened this issue Nov 4, 2020 · 0 comments
Open

profile collection may fail if the method's name is too long #36

gluckzhang opened this issue Nov 4, 2020 · 0 comments

Comments

@gluckzhang
Copy link
Member

If the name of a method is very long, there might be java.io.FileNotFoundException exceptions in the instrumentation plugin:

For example:

java.io.FileNotFoundException: /tmp/pankti-object-data/org.broadleafcommerce.core.pricing.service.fulfillment.provider.FixedPriceFulfillmentPricingProvider.canCalculateCostForFulfillmentGroup_org.broadleafcommerce.core.order.domain.FulfillmentGroup,org.broadleafcommerce.core.order.domain.FulfillmentOption-count.txt (File name too long)
	at java.base/java.io.FileOutputStream.open0(Native Method)
	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
...
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