cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

'WARN com.flexnet.codeaware.searchterms.CodebaseIndexer - Error search of term:' when using the Docker plugin

'WARN com.flexnet.codeaware.searchterms.CodebaseIndexer - Error search of term:' when using the Docker plugin

Summary

This article documents the cause of the 'WARN com.flexnet.codeaware.searchterms.CodebaseIndexer - Error search of term:' warning when using the FlexNet Code Insight Docker plugin

Synopsis

When running the FlexNet Code Insight Docker Plugin, we see many lines similar to the following in the agent.log:

14:01:04.055 [main] WARN com.flexnet.codeaware.searchterms.CodebaseIndexer - Error search of term:"part of OpenSSL", org.apache.lucene.index.IndexNotFoundException: no segments* file found in MMapDirectory@/export/home/palamida/.codeinsight/b9247da8bc89c0cba605e12086209e14/.codeaware/working_dir/24f38081-ec6f-4fa6-8448-eb0bd7810fcd/search_terms_index lockFactory=org.apache.lucene.store.NativeFSLockFactory@5b3a7ef5: files: [_0.fdt, _0.fdx, _0.tvd, _0.tvx, _1.cfe, _1.cfs, _1.si, _2.fdt, _2.fdx, _2.tvd, _2.tvx, _3.fdt, _3.fdx, _3.tvd, _3.tvx, _4.fdt, _4.fdx, _4.tvd, _4.tvx, _5.fdt, _5.fdx, _5.tvd, _5.tvx, _6.fdt, _6.fdx, _6.tvd, _6.tvx, _7.fdt, _7.fdx, _7.tvd, _7.tvx, write.lock]

This appears to prevent the plugin from generating any inventory items

Discussion

The Docker plugin uses the users home directory on Linux. If this directory is full the plugin will fail. To correct this issue remove the .codeinsight directory from the users home directory and create a symbolic link to another location which has more free space
Labels (1)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 08, 2018 12:45 PM
Updated by: