Comments (18)
You still have exceptions?
Original comment by [email protected]
on 26 Nov 2012 at 8:02
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Hi,
Yeah I got one on friday, using EAP 123.4.
Original comment by [email protected]
on 26 Nov 2012 at 10:07
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Can you reproduce it? I'm afraid it happens only under OSX, something during
event dispatch thread... have to investigate...
Original comment by [email protected]
on 26 Nov 2012 at 10:16
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Unfortunately, I still don't have a scenario to reproduce it yet. If I identify
one I'll update the issue.
Original comment by [email protected]
on 26 Nov 2012 at 10:38
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Hi,
With the latest EAP, I didn't experience this error in a week. Not sure if it's
gone or not though. But that might be a good sign.
Cheers
Brice
Original comment by [email protected]
on 4 Dec 2012 at 9:27
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Sounds good, thanks for the info. :-)
I close this issue for the moment. If you got the problem again feel free to
leave a comment and will reopen.
Thanks.
Original comment by [email protected]
on 4 Dec 2012 at 9:34
- Changed state: Invalid
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
OK, thx for the support :)
Original comment by [email protected]
on 4 Dec 2012 at 9:35
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Hi,
Just using the final release of IntelliJ 12. And I got almost the same stack
trace (line 65 on your component when it tries to remove something). I still
don't quite have a hold on how to repeat the issue. But this time I was
navigating tests in the run pane, anyway that didn't help to elaborate the
scenario.
Error during dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=browsewordatcaret.BWA
CEditorComponent$1@440b6263,notifier=null,catchExceptions=false,when=13548097190
29] on apple.awt.CToolkit@1816daa9: 0
java.lang.AssertionError: 0
at com.intellij.openapi.editor.impl.IntervalTreeImpl$IntervalNode.removeIntervalInternal(IntervalTreeImpl.java:146)
at com.intellij.openapi.editor.impl.IntervalTreeImpl$IntervalNode.a(IntervalTreeImpl.java:132)
at com.intellij.openapi.editor.impl.IntervalTreeImpl$IntervalNode.access$1400(IntervalTreeImpl.java:51)
at com.intellij.openapi.editor.impl.IntervalTreeImpl.removeInterval(IntervalTreeImpl.java:915)
at com.intellij.openapi.editor.impl.MarkupModelImpl.removeHighlighter(MarkupModelImpl.java:180)
at browsewordatcaret.BWACEditorComponent$1.run(BWACEditorComponent.java:65)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Original comment by [email protected]
on 6 Dec 2012 at 4:12
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Ok, thanks for reporting... have to look into...
Original comment by [email protected]
on 6 Dec 2012 at 8:24
- Changed state: New
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Hi back,
Still no idea how to reproduce, but I got another stacktrace, in the same
component but in another anonymous class, that also use the MarkupModelImpl.
I wouldn't sort out an IntelliJ bug yet.
Error during dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=browsewordatcaret.BWA
CEditorComponent$2@49949394,notifier=null,catchExceptions=false,when=13554075432
98] on apple.awt.CToolkit@430eaae5: Wrong end: 717; document length=649;
start=649
java.lang.IllegalArgumentException: Wrong end: 717; document length=649;
start=649
at com.intellij.openapi.editor.impl.RangeMarkerImpl.<init>(RangeMarkerImpl.java:44)
at com.intellij.openapi.editor.impl.RangeMarkerImpl.<init>(RangeMarkerImpl.java:37)
at com.intellij.openapi.editor.impl.RangeHighlighterImpl.<init>(RangeHighlighterImpl.java:41)
at com.intellij.openapi.editor.impl.MarkupModelImpl.addRangeHighlighterAndChangeAttributes(MarkupModelImpl.java:133)
at com.intellij.openapi.editor.impl.MarkupModelImpl.addRangeHighlighter(MarkupModelImpl.java:171)
at browsewordatcaret.BWACEditorComponent$2.run(BWACEditorComponent.java:96)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Original comment by [email protected]
on 13 Dec 2012 at 4:00
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Hmmm... strange, this one looks like the documents length changed before
rangehighlighters added (has to be done during dispatch thread)...
BrowseWordAtCaret does only add and remove RangeHighlighters during dispatch
thread ( have to). Already looking into it and can't find any reason why the
assertion happens... (I think I have to ask someone at jetbrians)
How ever, just to be sure... Do you have other third party plugins installed?
Does it happens on a fresh IDEA installation too?
Original comment by [email protected]
on 13 Dec 2012 at 4:35
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Hi, I've made some structural changes regarding to event dispatch thread (also
to solve issue 6). Can you check if your problem is gone with it?
The plugin is attached. Just uninstall current plugin and install via
PluginManager 'Install plugin from disk'.
Thanks
Original comment by [email protected]
on 13 Dec 2012 at 7:47
- Added labels: ****
- Removed labels: ****
Attachments:
from browse-word-at-caret.
Hi,
I will try it out, though these errors still happen at random.
Original comment by [email protected]
on 13 Dec 2012 at 9:14
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
any news?
Original comment by [email protected]
on 28 Jan 2013 at 8:41
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Hi, sorry for the late reply :)
I believe your changes made it work better, as I don't remember issues in the
past weeks. I almost forgot it.
Original comment by [email protected]
on 28 Jan 2013 at 9:03
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Original comment by [email protected]
on 29 Jan 2013 at 6:12
- Changed state: Started
- Added labels: Milestone-2.3.4
- Removed labels: ****
from browse-word-at-caret.
Original comment by [email protected]
on 29 Jan 2013 at 6:50
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
fixed with revision 53d287c11e5d
Original comment by [email protected]
on 29 Jan 2013 at 6:51
- Added labels: ****
- Removed labels: ****
from browse-word-at-caret.
Related Issues (20)
- Wrap around (at the end go to the first occurrence and vice versa) HOT 9
- Option for Wrap Around (default false) HOT 3
- Doesn't work with non-latin words HOT 3
- Doesn't jump to next/previous highlights HOT 4
- Enhancement: find across multiple files HOT 1
- finding next instance of a part of a word HOT 2
- Adding multiple caret at the word match HOT 2
- Unable to install - can't find it HOT 5
- Not working at all for me :( HOT 2
- Ignore case & Incremental highlight. HOT 3
- Allow the selection to begin and end with non-alphanumeric characters HOT 2
- resolve usages of deprecated api HOT 1
- Highlight on right-side panel and codeglance HOT 3
- Highlight on all tabs HOT 1
- Caret and scroll jumps, but focus is in the old position and jumps back if keyboard keys are used. HOT 1
- Highlight Word at Caret not working HOT 3
- Setting to keep highlight word at caret turned On when you open a new file HOT 2
- Can't distinguish whole word sometimes HOT 4
- The highlighted color remained for half a second and then it was removed.
- Works only for the current scope HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browse-word-at-caret.