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

FileObjectDetector sends NullPointException #428

Open
Riduidel opened this issue Apr 15, 2024 · 0 comments
Open

FileObjectDetector sends NullPointException #428

Riduidel opened this issue Apr 15, 2024 · 0 comments
Assignees
Labels
effort: 2 good first issue Good for newcomers. priority: 2day type: bug Something isn't working. work: obvious The situation is obvious, best practices used.

Comments

@Riduidel
Copy link
Owner

Riduidel commented Apr 15, 2024

java.lang.NullPointerException: Cannot read the array length because "found" is null
	at org.ndx.aadarchi.base.utils.commonsvfs.FileObjectDetector.whenFileDetected(FileObjectDetector.java:96)
	at org.ndx.aadarchi.base.utils.commonsvfs.FileObjectDetector$Proxy$_$$_WeldClientProxy.whenFileDetected(Unknown Source)
	at org.ndx.aadarchi.inferer.maven.MavenPomReader.processModelElement(MavenPomReader.java:83)
	at org.ndx.aadarchi.inferer.maven.MavenPomReader$Proxy$_$$_WeldClientProxy.processModelElement(Unknown Source)
	at org.ndx.aadarchi.inferer.maven.enhancers.ModelElementMavenEnhancer.startEnhance(ModelElementMavenEnhancer.java:28)
	at org.ndx.aadarchi.inferer.maven.enhancers.SoftwareSystemEnhancer.startEnhance(SoftwareSystemEnhancer.java:14)
	at org.ndx.aadarchi.inferer.maven.MavenDetailsInfererEnhancer.startVisit(MavenDetailsInfererEnhancer.java:75)
	at org.ndx.aadarchi.inferer.maven.MavenDetailsInfererEnhancer$Proxy$_$$_WeldClientProxy.startVisit(Unknown Source)
	at org.ndx.aadarchi.base.ArchitectureEnhancer.lambda$enhancerVisitModel$11(ArchitectureEnhancer.java:172)
	at org.ndx.aadarchi.base.ArchitectureEnhancer.withClassLoader(ArchitectureEnhancer.java:82)
	at org.ndx.aadarchi.base.ArchitectureEnhancer.lambda$enhancerVisitModel$12(ArchitectureEnhancer.java:172)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Quite sure it happens when FileSystem doesn't supports browsing (typically http)

@Riduidel Riduidel self-assigned this Apr 15, 2024
@Riduidel Riduidel changed the title Le FileObjectDetector envoie des NullPointException FileObjectDetector sends NullPointException Apr 15, 2024
@Riduidel Riduidel added the bug label Apr 15, 2024
@Riduidel Riduidel added good first issue Good for newcomers. work: obvious The situation is obvious, best practices used. type: bug Something isn't working. effort: 2 priority: soon priority: 2day and removed bug priority: soon labels Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: 2 good first issue Good for newcomers. priority: 2day type: bug Something isn't working. work: obvious The situation is obvious, best practices used.
Projects
None yet
Development

No branches or pull requests

1 participant