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

Inspection error BibtexMissingBibliographystyle #447

Closed
Sekuraz opened this issue Mar 8, 2018 · 1 comment
Closed

Inspection error BibtexMissingBibliographystyle #447

Sekuraz opened this issue Mar 8, 2018 · 1 comment
Assignees
Labels
bug Deficiencies in TeXiFy behaviour. crash-report Reports of crashes that popped up in IDEA.
Milestone

Comments

@Sekuraz
Copy link

Sekuraz commented Mar 8, 2018

Description

I am using a latex template which heavily relies on includes so i disabled warnings about missing documentclass etc because it is not there in the main file. If you have to have access to the sources, please message me.

Stacktrace

Reported element LatexCommandsImpl(COMMANDS)[STUB]{\bibliography} is not from the file 'LaTeX source file' the inspection 'BibtexMissingBibliographystyle' (class nl.rubensten.texifyidea.inspections.bibtex.BibtexMissingBibliographystyleInspection) was invoked for. Message: 'No \bibliographystyle defined'.
Element' containing file: LaTeX source file
Inspection invoked for file: LaTeX source file
 [Plugin: nl.rubensten.texifyidea]
com.intellij.diagnostic.PluginException: Reported element LatexCommandsImpl(COMMANDS)[STUB]{\bibliography} is not from the file 'LaTeX source file' the inspection 'BibtexMissingBibliographystyle' (class nl.rubensten.texifyidea.inspections.bibtex.BibtexMissingBibliographystyleInspection) was invoked for. Message: 'No \bibliographystyle defined'.
Element' containing file: LaTeX source file
Inspection invoked for file: LaTeX source file
 [Plugin: nl.rubensten.texifyidea]
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:520)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:479)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:236)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:136)
	at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:83)
	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.b(PassExecutorService.java:437)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1127)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.c(PassExecutorService.java:430)
	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:543)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:488)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:429)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.d(PassExecutorService.java:405)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:143)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:229)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:403)
	at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:170)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)```
@Sekuraz Sekuraz changed the title Crash Report: Reported element LatexCommandsImpl(COMMANDS)[STUB]{\bibliography} is not from the file 'LaTeX source file' the inspection 'BibtexMissingBibliographystyle' (class nl.rubensten.texifyidea.inspections.bibtex.BibtexMissingBibliographystyleInspection) was invoked for. Message: 'No \bibliographystyle defined'.Element' containing file: LaTeX source fileInspection invoked for file: LaTeX source file [Plugin: nl.rubensten.texifyidea] Inspection error Mar 8, 2018
@HannahSchellekens HannahSchellekens changed the title Inspection error Inspection error BibtexMissingBibliographystyle Mar 21, 2018
@HannahSchellekens HannahSchellekens added bug Deficiencies in TeXiFy behaviour. crash-report Reports of crashes that popped up in IDEA. labels Mar 21, 2018
@HannahSchellekens HannahSchellekens added this to the b0.6 milestone Mar 21, 2018
@HannahSchellekens HannahSchellekens self-assigned this Mar 21, 2018
@HannahSchellekens
Copy link
Member

Crash was a result of commands in a different file being inspected by the inspection. Fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour. crash-report Reports of crashes that popped up in IDEA.
Projects
None yet
Development

No branches or pull requests

2 participants