java.lang.OutOfMemoryError: This exception has no message.


Solutions on the web

Solution icon of stackoverflow
This exception has no message.

Solution icon of github
via GitHub by rjayasinghe
, 1 year ago
This exception has no message.

Solution icon of github
via GitHub by freak4pc
, 1 year ago
This exception has no message.

Solution icon of github
This exception has no message.

Solution icon of github
This exception has no message.

Solution icon of github
This exception has no message.

Solution icon of github
This exception has no message.

Solution icon of stackoverflow
This exception has no message.

Solution icon of stackoverflow
This exception has no message.

Stack trace

java.lang.OutOfMemoryError
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:598)
	at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)
	at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:735)
	at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:714)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at AnalysisRunner.startAnalysis(AnalysisRunner.java:33)
	at AnalysisRunner.main(AnalysisRunner.java:26)
Caused by: java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:3332)
	at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
	at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:541)
	at java.lang.StringBuffer.append(StringBuffer.java:350)
	at java.util.regex.Matcher.appendReplacement(Matcher.java:888)
	at java.util.regex.Matcher.replaceAll(Matcher.java:955)
	at Business.RegexService.replaceAllRegexInFile(RegexService.java:64)
	at Business.FrameWorkDetectionService.extractAllResultsForFile(FrameWorkDetectionService.java:58)
	at Business.FrameWorkDetectionService.lambda$extractFrameworkDependencies$0(FrameWorkDetectionService.java:39)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

8 times, 3 days ago
2 times, 1 week ago
Once, 1 month ago
Once, 1 month ago
Once, 4 months ago
52 more bugmates