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

File handle leak accessing performanceTuning.properties #255

Closed
reckart opened this issue Oct 14, 2022 · 0 comments
Closed

File handle leak accessing performanceTuning.properties #255

reckart opened this issue Oct 14, 2022 · 0 comments
Assignees
Labels
🦟 Bug Something isn't working
Milestone

Comments

@reckart
Copy link
Member

reckart commented Oct 14, 2022

Describe the bug
There appears to be a file handle leak when accessing performanceTuning.properties.

To Reproduce
Use the file leak detector when running some test.

Expected behavior
All opened resources should be closed.

Screenshots

#16 .../uima-uimaj/uimaj-core/target/classes/org/apache/uima/impl/performanceTuning.properties by thread:main on Fri Oct 14 08:59:07 CEST 2022
	at java.io.FileInputStream.<init>(FileInputStream.java:139)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
	at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:239)
	at java.lang.Class.getResourceAsStream(Class.java:2223)
	at org.apache.uima.impl.UIMAFramework_impl._initialize(UIMAFramework_impl.java:189)
	at org.apache.uima.UIMAFramework.<clinit>(UIMAFramework.java:1320)
	at org.apache.uima.fit.factory.TypeSystemDescriptionFactory.loadTypeSystemDescriptionsFromScannedLocations(TypeSystemDescriptionFactory.java:146)
	at org.apache.uima.fit.factory.TypeSystemDescriptionFactory.createTypeSystemDescription(TypeSystemDescriptionFactory.java:129)
	at org.apache.uima.fit.factory.CasFactory.createCas(CasFactory.java:101)
	at org.apache.uima.fit.factory.JCasFactory.createJCas(JCasFactory.java:88)
        ....

Please complete the following information:

  • Version: 3.2.0
@reckart reckart added this to the 3.3.1 milestone Oct 14, 2022
@reckart reckart self-assigned this Oct 14, 2022
@reckart reckart added the 🦟 Bug Something isn't working label Oct 14, 2022
reckart added a commit that referenced this issue Oct 14, 2022
reckart added a commit that referenced this issue Oct 14, 2022
…sing-performanceTuning.properties

Issue #255: File handle leak accessing performanceTuning.properties
reckart added a commit that referenced this issue Oct 14, 2022
…sing-performanceTuning.properties

Issue #255: File handle leak accessing performanceTuning.properties (main)
@reckart reckart closed this as completed Oct 17, 2022
reckart added a commit that referenced this issue Nov 24, 2022
…ntation-from-website-into-maintainer-guide

* main:
  Issue #255: File handle leak accessing performanceTuning.properties
  Issue #252: Potential failure to look up FsGenerator3 in OSGI-like contexts
reckart added a commit that referenced this issue Jan 11, 2023
…ipse-plugins-during-release-builds

* main: (94 commits)
  No issue: Remove Jira line from PR template - we do not use Jira anymore.
  #270 - Update dependencies
  #270 - Update dependencies
  #267 - UIMA Log4jLogger_impl not compatible with log4j 2.18.0+
  No issue. Adjust jira legacy module version.
  [maven-release-plugin] prepare for next development iteration
  [maven-release-plugin] prepare release uimaj-3.3.1
  Issue #258: Apache UIMA Java SDK 3.3.1 release
  Issue #258: Apache UIMA Java SDK 3.3.1 release
  Issue #258: Apache UIMA Java SDK 3.3.1 release
  Issue #260: Issues-fixed report for GitHub and Jira
  Issue #258: Apache UIMA Java SDK 3.3.1 release
  Issue #258: Apache UIMA Java SDK 3.3.1 release
  Issue #258: Apache UIMA Java SDK 3.3.1 release
  Issue #255: File handle leak accessing performanceTuning.properties
  Issue #252: Potential failure to look up FsGenerator3 in OSGI-like contexts
  Issue #225: Improve deployment in OSGi environments
  Issue #226: Provide SPI interfaces to locate descriptors and JCas classes
  Issue #226: Provide SPI interfaces to locate descriptors and JCas classes
  Issue #247 - RelativePathResolver should consider TCCL
  ...

% Conflicts:
%	uimaj-parent/pom.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦟 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant