Error in opening editor manager

Hi,

I successfully registered the file type and I could manage to open  a file with the icon after registering file
fileTypeFactory extension point. Then I implemented the syntax highlighter and registered at lang.syntaxHighlighterFactory.
But after implementing the syntax highlighter I could not open the file. Lexer is also implemented for several keywords.

But I get the following error.

[  15680]  ERROR - tor.impl.FileEditorManagerImpl - null
java.lang.NullPointerException
    at newair.org._jaggery2.<init>(_jaggery2.java:331)
    at newair.org.jaggeryFlexAdapter.<init>(jaggeryFlexAdapter.java:21)
    at newair.org.highlighting.SyntaxHighlightHandler.getHighlightingLexer(SyntaxHighlightHandler.java:37)
    at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.<init>(LexerEditorHighlighter.java:57)
    at com.intellij.openapi.editor.highlighter.EditorHighlighterFactoryImpl.createEditorHighlighter(EditorHighlighterFactoryImpl.java:38)
    at com.intellij.openapi.fileTypes.FileTypeEditorHighlighterProviders$1.getEditorHighlighter(FileTypeEditorHighlighterProviders.java:49)
    at com.intellij.openapi.editor.highlighter.EditorHighlighterFactoryImpl.createEditorHighlighter(EditorHighlighterFactoryImpl.java:71)
    at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.createEditor(TextEditorComponent.java:175)
    at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.<init>(TextEditorComponent.java:114)
    at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:63)
    at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:56)
    at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:42)
    at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.<init>(TextEditorImpl.java:46)
    at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.<init>(PsiAwareTextEditorImpl.java:38)
    at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:50)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:728)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$9.run(FileEditorManagerImpl.java:665)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:110)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:93)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:81)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:663)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:620)
    at com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:133)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$13.run(FileEditorManagerImpl.java:944)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:117)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:93)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:81)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:941)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openTextEditor(FileEditorManagerImpl.java:1003)
    at com.intellij.ide.actions.OpenFileAction.openFile(OpenFileAction.java:124)
    at com.intellij.ide.actions.OpenFileAction.doOpenFile(OpenFileAction.java:98)
    at com.intellij.ide.actions.OpenFileAction.access$000(OpenFileAction.java:48)
    at com.intellij.ide.actions.OpenFileAction$1.consume(OpenFileAction.java:73)
    at com.intellij.ide.actions.OpenFileAction$1.consume(OpenFileAction.java:70)
    at com.intellij.openapi.fileChooser.ex.FileChooserDialogImpl.choose(FileChooserDialogImpl.java:120)
    at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:155)
    at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:134)
    at com.intellij.ide.actions.OpenFileAction.actionPerformed(OpenFileAction.java:70)
    at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:169)
    at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:133)
    at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310)
    at java.awt.Component.processEvent(Component.java:6055)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4653)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2482)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:607)
    at java.awt.EventQueue$1.run(EventQueue.java:605)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:621)
    at java.awt.EventQueue$2.run(EventQueue.java:619)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:699)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:420)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[  15681]  ERROR - tor.impl.FileEditorManagerImpl - IntelliJ IDEA 11.1.2  Build #IC-117.418
[  15682]  ERROR - tor.impl.FileEditorManagerImpl - JDK: 1.6.0_32
[  15682]  ERROR - tor.impl.FileEditorManagerImpl - VM: Java HotSpot(TM) 64-Bit Server VM
[  15682]  ERROR - tor.impl.FileEditorManagerImpl - Vendor: Sun Microsystems Inc.
[  15682]  ERROR - tor.impl.FileEditorManagerImpl - OS: Linux
[  15682]  ERROR - tor.impl.FileEditorManagerImpl - Last Action: OpenFile
[  15682]  ERROR - tor.impl.FileEditorManagerImpl - Current Command:  
[  15687]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(22,53),absolute(86,49),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.NullPointerException
    at com.intellij.openapi.fileEditor.impl.EditorComposite.createEditorComponent(EditorComposite.java:196)
    at com.intellij.openapi.fileEditor.impl.EditorComposite.<init>(EditorComposite.java:145)
    at com.intellij.openapi.fileEditor.impl.EditorWithProviderComposite.<init>(EditorWithProviderComposite.java:42)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:750)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$9.run(FileEditorManagerImpl.java:665)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:110)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:93)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:81)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:663)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:620)
    at com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:133)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$13.run(FileEditorManagerImpl.java:944)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:117)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:93)
    at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:81)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:941)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openTextEditor(FileEditorManagerImpl.java:1003)
    at com.intellij.ide.actions.OpenFileAction.openFile(OpenFileAction.java:124)
    at com.intellij.ide.actions.OpenFileAction.doOpenFile(OpenFileAction.java:98)
    at com.intellij.ide.actions.OpenFileAction.access$000(OpenFileAction.java:48)
    at com.intellij.ide.actions.OpenFileAction$1.consume(OpenFileAction.java:73)
    at com.intellij.ide.actions.OpenFileAction$1.consume(OpenFileAction.java:70)
    at com.intellij.openapi.fileChooser.ex.FileChooserDialogImpl.choose(FileChooserDialogImpl.java:120)
    at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:155)
    at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:134)
    at com.intellij.ide.actions.OpenFileAction.actionPerformed(OpenFileAction.java:70)
    at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:169)
    at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:133)
    at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310)
    at java.awt.Component.processEvent(Component.java:6055)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4653)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2482)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:607)
    at java.awt.EventQueue$1.run(EventQueue.java:605)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:621)
    at java.awt.EventQueue$2.run(EventQueue.java:619)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:699)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:534)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:420)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[  15688]  ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 11.1.2  Build #IC-117.418
[  15688]  ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_32
[  15688]  ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) 64-Bit Server VM
[  15688]  ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
[  15688]  ERROR - com.intellij.ide.IdeEventQueue - OS: Linux
[  15689]  ERROR - com.intellij.ide.IdeEventQueue - Last Action: OpenFile




Error it shows at lexer when reading form variable zzReader in refill method. (I used jflex to create my lexer.)

where zzReader is set at lexer constructor.

public _jaggery2(java.io.Reader in) {
    this.zzReader = in;
      System.out.println("lexer constructor setting reader =");

  }


zzReader variable is set to null.


And also I invoked the lexer via class which extend FlexAdapter.


public class jaggeryFlexAdapter extends FlexAdapter {


    public jaggeryFlexAdapter() throws FileNotFoundException {

        super(new _jaggery2((Reader)null));


    }




}



As most examples does I passed null when invoking lexer. Is that the reason?
I don't understand why null is passed. Please clarify me.

5 comments
Comment actions Permalink

Please make sure you're using idea-flex.skeleton as the template for creating your lexer.

0
Comment actions Permalink

Yeah. Now it works. Thanks a lot..!!  :)

0
Comment actions Permalink

I implemented the lexer and syntax highlighter. But it colors all in blue.

I used

public static final TextAttributesKey VARIABLE = TextAttributesKey.createTextAttributesKey(
            "JAGGERY.VARIABLE",
            SyntaxHighlighterColors.KEYWORD.getDefaultAttributes()
    );


    public static final TextAttributesKey INTEGER = TextAttributesKey.createTextAttributesKey(
            "JAGGERY.VARIABLE",
            SyntaxHighlighterColors.NUMBER.getDefaultAttributes()


    );


I also implemented the color settings page.
There also I cannot change a color of a particular syntax. Instead every syntax changes to same color.

And also I cannot edit the file.

When I edit I get the following error

[  55575]  ERROR - l.source.text.BlockSupportImpl - View provider com.intellij.psi.SingleRootFileViewProvider@23596f39 refused to parse text with Language: TEXT; base: Language: jaggery; copy: Language: jaggery; fileType: newair.org.fileType.JaggeryFileType@61bedd7d
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
    at com.intellij.psi.impl.source.text.BlockSupportImpl.makeFullParse(BlockSupportImpl.java:193)
    at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRangeInternal(BlockSupportImpl.java:143)
    at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
    at com.intellij.psi.impl.DocumentCommitThread.doCommit(DocumentCommitThread.java:582)
    at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
    at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
    at com.intellij.psi.impl.DocumentCommitThread.commitUnderProgress(DocumentCommitThread.java:476)
    at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
    at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
    at com.intellij.psi.impl.DocumentCommitThread.pollQueue(DocumentCommitThread.java:357)
    at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
    at java.lang.Thread.run(Thread.java:662)
[  55581]  ERROR - l.source.text.BlockSupportImpl - IntelliJ IDEA 11.1.2  Build #IC-117.418
[  55581]  ERROR - l.source.text.BlockSupportImpl - JDK: 1.6.0_32
[  55581]  ERROR - l.source.text.BlockSupportImpl - VM: Java HotSpot(TM) 64-Bit Server VM
[  55582]  ERROR - l.source.text.BlockSupportImpl - Vendor: Sun Microsystems Inc.
[  55582]  ERROR - l.source.text.BlockSupportImpl - OS: Linux
[  55582]  ERROR - l.source.text.BlockSupportImpl - Last Action: OpenFile
[  55585]  ERROR - .psi.impl.DocumentCommitThread - @NotNull method com/intellij/psi/impl/source/text/BlockSupportImpl.makeFullParse must not return null
java.lang.IllegalStateException: @NotNull method com/intellij/psi/impl/source/text/BlockSupportImpl.makeFullParse must not return null
    at com.intellij.psi.impl.source.text.BlockSupportImpl.makeFullParse(BlockSupportImpl.java:176)
    at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRangeInternal(BlockSupportImpl.java:143)
    at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:82)
    at com.intellij.psi.impl.DocumentCommitThread.doCommit(DocumentCommitThread.java:582)
    at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
    at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
    at com.intellij.psi.impl.DocumentCommitThread.commitUnderProgress(DocumentCommitThread.java:476)
    at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
    at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
    at com.intellij.psi.impl.DocumentCommitThread.pollQueue(DocumentCommitThread.java:357)
    at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
    at java.lang.Thread.run(Thread.java:662)
[  55586]  ERROR - .psi.impl.DocumentCommitThread - IntelliJ IDEA 11.1.2  Build #IC-117.418
[  55586]  ERROR - .psi.impl.DocumentCommitThread - JDK: 1.6.0_32
[  55586]  ERROR - .psi.impl.DocumentCommitThread - VM: Java HotSpot(TM) 64-Bit Server VM
[  55586]  ERROR - .psi.impl.DocumentCommitThread - Vendor: Sun Microsystems Inc.
[  55586]  ERROR - .psi.impl.DocumentCommitThread - OS: Linux
[  55586]  ERROR - .psi.impl.DocumentCommitThread - Last Action: OpenFile
[  55587]  ERROR - l.source.text.BlockSupportImpl - View provider com.intellij.psi.SingleRootFileViewProvider@23596f39 refused to parse text with Language: TEXT;





I did not implement the parser yet. Is it neccessary to implement parser for editing?

Your help is highly appreciated ..

Thanx.!!

0
Comment actions Permalink

You have used the same ID for two different TextAttributesKey instances. The IDs must be different.

The exceptions should go away when you implement the parser.

0
Comment actions Permalink

Thank you very much for your help. Syntax highlighting is wrking perfectly. And now I am implementing the parser.
The document says to use grammer kit plugin. Is there any simple example to learn how the plugin works?

And I found out that

in my parser definition below methods are invoked.

  • createLexer
  • createFile
  • getFileNodeType
  • getWhitespaceTokens
  • getCommentTokens


methods

  • createParser
  • getStringLiteralElements
  • createElement


are never invoked.(I am saying that because print statement put at the beggining of the 3 methods does'nt print anything).

Instead I get the following error..

[  35095]  ERROR - currency.PrioritizedFutureTask - java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at com.intellij.concurrency.PrioritizedFutureTask.access$301(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:77)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
    at newair.org._jaggery2.advance(_jaggery2.java:587)
    at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:93)
    at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:57)
    at com.intellij.lang.impl.PsiBuilderImpl.cacheLexemes(PsiBuilderImpl.java:208)
    at com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:176)
    at com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:150)
    at com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:184)
    at com.intellij.lang.impl.PsiBuilderFactoryImpl.createBuilder(PsiBuilderFactoryImpl.java:52)
    at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:62)
    at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:39)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:160)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:204)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:32)
    at com.intellij.psi.impl.source.tree.SharedImplUtil.getFirstChild(SharedImplUtil.java:44)
    at com.intellij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:757)
    at com.intellij.psi.SingleRootFileViewProvider.findElementAt(SingleRootFileViewProvider.java:414)
    at com.intellij.psi.SingleRootFileViewProvider.findElementAt(SingleRootFileViewProvider.java:400)
    at com.intellij.psi.impl.source.PsiFileImpl.findElementAt(PsiFileImpl.java:558)
    at com.intellij.psi.util.PsiUtilCore.getElementAtOffset(PsiUtilCore.java:389)
    at com.intellij.psi.util.PsiUtilBase.getLanguageInEditor(PsiUtilBase.java:148)
    at com.intellij.psi.util.PsiUtilBase.getPsiFileInEditor(PsiUtilBase.java:183)
    at com.intellij.codeInsight.highlighting.BraceHighlightingHandler$1$1.compute(BraceHighlightingHandler.java:119)
    at com.intellij.codeInsight.highlighting.BraceHighlightingHandler$1$1.compute(BraceHighlightingHandler.java:116)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:892)
    at com.intellij.codeInsight.highlighting.BraceHighlightingHandler$1.run(BraceHighlightingHandler.java:116)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:134)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:131)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    ... 4 more
[  35098]  ERROR - currency.PrioritizedFutureTask - IntelliJ IDEA 11.1.2  Build #IC-117.418
[  35098]  ERROR - currency.PrioritizedFutureTask - JDK: 1.6.0_32
[  35099]  ERROR - currency.PrioritizedFutureTask - VM: Java HotSpot(TM) 64-Bit Server VM
[  35099]  ERROR - currency.PrioritizedFutureTask - Vendor: Sun Microsystems Inc.
[  35099]  ERROR - currency.PrioritizedFutureTask - OS: Linux
[  35099]  ERROR - currency.PrioritizedFutureTask - Last Action:  
[  35099]  ERROR - currency.PrioritizedFutureTask - Original exception:  




Looking forward for any idea what is going on.

Thank You..!!

0

Please sign in to leave a comment.