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

UnsupportedOperationException caused by parsing an XES trace with more than one event #1

Closed
csoueidi opened this issue May 3, 2023 · 0 comments

Comments

@csoueidi
Copy link
Collaborator

csoueidi commented May 3, 2023

Exception in thread "main" java.lang.UnsupportedOperationException
	at java.util.AbstractList.add(AbstractList.java:148)
	at java.util.AbstractList.add(AbstractList.java:108)
	at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
	at ca.uqac.lif.cep.hypercompliance.Log.appendTo(Log.java:54)
	at ca.uqac.lif.cep.hypercompliance.XesToLog.getLog(XesToLog.java:98)

The problem is caused by Arrays.asList(...) at XesToLog.java:98 as this creates a fixed sized list; the exception is then thrown when trying to add more elements to it.

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