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 244204 - ArrayIndexOutOfBoundsException: offset=175, length=1, snapshot-length=106
Summary: ArrayIndexOutOfBoundsException: offset=175, length=1, snapshot-length=106
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-30 15:54 UTC by Exceptions Reporter
Modified: 2015-11-21 06:17 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186101


Attachments
stacktrace (1.05 KB, text/plain)
2014-04-30 15:54 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-04-30 15:54:20 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: OpenJDK 64-Bit Server VM, 24.51-b03, OpenJDK Runtime Environment, 1.7.0_55-mockbuild_2014_04_16_06_38-b00
OS: Linux

User Comments:
GUEST: Copied files from an ftp server into the project which is also a git repo

GUEST: <Please provide a description of the problem or the steps to reproduce>
trying to save a file

ticowushu: i not do nothing expecial for this error

GUEST: copied a short string from one yml file, and pasted in into another yml file.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: offset=175, length=1, snapshot-length=106
   at org.netbeans.modules.parsing.api.Snapshot.create(Snapshot.java:157)
   at org.netbeans.modules.languages.yaml.ruby.RubyEmbeddingProvider.translate(RubyEmbeddingProvider.java:161)
   at org.netbeans.modules.languages.yaml.ruby.RubyEmbeddingProvider.translate(RubyEmbeddingProvider.java:109)
   at org.netbeans.modules.languages.yaml.ruby.RubyEmbeddingProvider.getEmbeddings(RubyEmbeddingProvider.java:73)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:583)
   at org.netbeans.modules.parsing.impl.SourceCache.refresh(SourceCache.java:360)
Comment 1 Exceptions Reporter 2014-04-30 15:54:22 UTC
Created attachment 147030 [details]
stacktrace