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

Repeated errors if >1 matlab open using project #1

Open
narcolepsy opened this issue Nov 3, 2023 · 0 comments
Open

Repeated errors if >1 matlab open using project #1

narcolepsy opened this issue Nov 3, 2023 · 0 comments

Comments

@narcolepsy
Copy link

I get the following error which I am trying to narrow down to either

  • autocleanup of /tmp
  • multiple instances of MATLAB + project both trying to write to same log file
Caused by: java.io.IOException: Stale file handle
	at java.io.FileOutputStream.writeBytes(Native Method)
	at java.io.FileOutputStream.write(FileOutputStream.java:326)
	at org.apache.logging.log4j.core.appender.OutputStreamManager.writeToDestination(OutputStreamManager.java:250)
	... 51 more

I have checked out the code but can't get ./gradlew clean test to run correctly:

  location: class P4AdapterFactory
/home/default/build/p4sl/src/main/java/com/perforce/p4simulink/P4Repository.java:9: error: package com.mathworks.cmlink.api does not exist
import com.mathworks.cmlink.api.ApplicationInteractor;
                               ^
/home/default/build/p4sl/src/main/java/com/perforce/p4simulink/P4Repository.java:10: error: package com.mathworks.cmlink.api does not exist
import com.mathworks.cmlink.api.ConfigurationManagementException;
                               ^
/home/default/build/p4sl/src/main/java/com/perforce/p4simulink/P4Repository.java:11: error: package com.mathworks.cmlink.api does not exist
import com.mathworks.cmlink.api.RepositorySupportedFeature;
                               ^
/home/default/build/p4sl/src/main/java/com/perforce/p4simulink/P4Repository.java:12: error: package com.mathworks.cmlink.api.version.r16b does not exist
import com.mathworks.cmlink.api.version.r16b.CMRepository;
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