フィルターのクリア

Java error when typing function

4 ビュー (過去 30 日間)
David Cox
David Cox 2022 年 2 月 12 日
コメント済み: David Cox 2022 年 2 月 18 日
When i enter for instance smys( at this point a large java error message pops up. Any ideas, anyone seen it before.
Exception in thread "QueuedMatlabWorker": java.lang.NumberFormatException: For input string: "4 2"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at org.apache.lucene.index.SegmentInfos.generationFromSegmentsFileName(SegmentInfos.java:248)
at org.apache.lucene.index.SegmentInfos.getLastCommitGeneration(SegmentInfos.java:183)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:746)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:66)
at org.apache.lucene.search.spell.SpellChecker.createSearcher(SpellChecker.java:679)
at org.apache.lucene.search.spell.SpellChecker.swapSearcher(SpellChecker.java:656)
at org.apache.lucene.search.spell.SpellChecker.setSpellIndex(SpellChecker.java:178)
at org.apache.lucene.search.spell.SpellChecker.<init>(SpellChecker.java:153)
at org.apache.lucene.search.spell.SpellChecker.<init>(SpellChecker.java:128)
at com.mathworks.search.spell.IndexBasedSpellCheckProvider.<init>(IndexBasedSpellCheckProvider.java:25)
at com.mathworks.search.lucene.LuceneSearchEngine.<init>(LuceneSearchEngine.java:44)
at com.mathworks.search.lucene.LuceneSearchEngine.<init>(LuceneSearchEngine.java:35)
at com.mathworks.helpsearch.DocSearchEngineFactory.createSearchEngine(DocSearchEngineFactory.java:32)
at com.mathworks.helpsearch.DocSearchEngineFactory.createSearchEngine(DocSearchEngineFactory.java:23)
at com.mathworks.helpsearch.reference.SearchEngineReferenceStrategy.<init>(SearchEngineReferenceStrategy.java:23)
at com.mathworks.mlwidgets.help.DocCenterReferenceRetrievalStrategy.getInstance(DocCenterReferenceRetrievalStrategy.java:61)
at com.mathworks.mlwidgets.help.DocCenterReferenceRetrievalStrategy.getInstance(DocCenterReferenceRetrievalStrategy.java:44)
at com.mathworks.mlwidgets.help.DocCenterReferenceRetrievalStrategy.createDataRetriever(DocCenterReferenceRetrievalStrategy.java:79)
at com.mathworks.mlwidgets.help.functioncall.MFunctionCall.getReferenceData(MFunctionCall.java:580)
at com.mathworks.mlwidgets.help.functioncall.MFunctionCall.getSignatureString(MFunctionCall.java:528)
at com.mathworks.mlwidgets.help.functioncall.MFunctionCall.getSignatureString(MFunctionCall.java:514)
at com.mathworks.mlwidgets.help.functioncall.MFunctionCall.createSignatureString(MFunctionCall.java:251)
at com.mathworks.mde.functionhints.QueuedMatlabWorker$2.run(QueuedMatlabWorker.java:283)
at java.lang.Thread.run(Thread.java:748
  3 件のコメント
David Cox
David Cox 2022 年 2 月 17 日
I contacted support it was sugested, I enter these comands
>> restoredefaultpath
>> rehash toolboxcache
>> restoredefaultpath
if this did not work to do a clean install. I'm in the middle of a clean instal.
Thank you for your input.
David Cox
David Cox 2022 年 2 月 18 日
Just to keep you updated I did a clean install. This did not work, as an after thought I updated Java (did not think it would do anything, i was right made no differance). The problem has been elevated.
The second time I did the installed I hunted out any refeance to Matlab on my machine even removed Data files. This weekend if I'm bored I might do a machine rebuild.

サインインしてコメントする。

回答 (1 件)

David Cox
David Cox 2022 年 2 月 13 日
Yes that is miss spelled, but any function weather or not it is miss-spelled results in this error. MatLab appears to work normaly after this error is displayed. As you say it apears to be a fault in the spell checker, heaven known I need that working.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by