This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267611

Summary: NullPointerException at org.netbeans.api.lexer.TokenSequence.movePrevious
Product: editor Reporter: Vladimir Riha <vriha>
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205792
Attachments: stacktrace

Description Vladimir Riha 2016-08-17 08:48:38 UTC
Build: NetBeans IDE Dev (Build 201608160002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
vriha: editing script element (type text/html)

GUEST: Save

GUEST: when try to save a remote file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.lexer.TokenSequence.movePrevious(TokenSequence.java:536)
   at org.netbeans.modules.web.common.api.LexerUtils.getTokenSequence(LexerUtils.java:284)
   at org.netbeans.modules.web.common.api.LexerUtils.getTokenSequence(LexerUtils.java:263)
   at org.netbeans.modules.web.common.api.LexerUtils.getJoinedTokenSequence(LexerUtils.java:259)
   at org.netbeans.modules.css.editor.csl.CssCompletion.getAutoQuery(CssCompletion.java:674)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider.getAutoQueryTypes(GsfCompletionProvider.java:166)
Comment 1 Vladimir Riha 2016-08-17 08:48:40 UTC
Created attachment 161688 [details]
stacktrace