-
-----------------------------------------------------
jVi Version Information
Running: jVi 1.2.7.x10 (development release)
I got this nullpointer exception while executing the command "8ia" (insert eigth 'a')
java.lang.NullPointerException
at com.raelity.jvi.swing.DefaultBuffer$Mark.setMark(DefaultBuffer.java:325)
at com.raelity.jvi.Edit.stop_insert(Edit.java:1212)
at com.raelity.
2010-01-03 13:43:08 UTC in jVi - vi editor clone
-
I just emailed you that all was working ok.
But I got a new stacktrace. (sorry!)
It's another didDocRemoveAfterTrackPosition-exception.
I was using the gui-builder of netbeans and editing some custom code of an icon from a jlabel.
Here is the stacktrace:
java.lang.IllegalStateException
at com.raelity.jvi.ViManager.dumpStack(ViManager.java:1028)
at...
2010-01-02 21:59:58 UTC in jVi - vi editor clone
-
I have a Ubuntu 9.10 with sun's java 1.6.0_17. (I have also tried with jdk1.5.0_22)
If I do what you do then I don't get the stacktraces.
You are using vim commands when you can!
For 'fix imports', 'undo' en 'redo' I don't use the vim commands.
Here is what I do:
- type "implements MouseListener"
- Right mouseclick and choose "fix imports" from popup. (you do ':fixi')
- Left mouseclick on...
2010-01-02 00:00:31 UTC in jVi - vi editor clone
-
-----------------------------------------------------
jVi Version Information
Running: jVi 1.2.7.x9 (development release)
The problem is still there!
The problem reproducable all the time at the same place. So I don't think it is a timing issue.
The logging is the same as in a previous comment but i'll add it anyway.
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]...
2010-01-01 19:44:10 UTC in jVi - vi editor clone
-
I'm not sure you arrived at the right conclusion.
My conclusion was:
- The caret is at the bottom of the file
- The is an undo which removes 5 abstract methods.
Now the original place of the caret doesn't exist anymore!
But ofcourse the CaretUpdate will be fired because it changed.
- In com.raelity.jvi.swing.TextView the previous 'lastDot' is remembered.
But this 'lastDot' points to...
2010-01-01 12:27:31 UTC in jVi - vi editor clone
-
Some more information:
- The speed at which you undo-redo is not important. It always happens at the same place.
- I use a multicore processor.
- I include here the debug info of mouseEvents and I annotate it with what is happening:
My annotations start with '//' and are added AFTER the event.
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 3...
2009-12-31 11:31:19 UTC in jVi - vi editor clone
-
I tried the fix in:
-----------------------------------------------------
jVi Version Information
Running: jVi 1.2.7.x7 (development release)
jVi recent features and changes.
It seems to be better but I still get an IlligalStateException.
I did the MouseListener-test and I really executed the undo sequence very fast.
So I did undo-undo-undo-undo till you cannot undo...
2009-12-30 20:25:48 UTC in jVi - vi editor clone
-
Another stacktrace.
What did I do?:
- I'm designing a user interface with the gui-builder.
- I have a JList.
- I want to change the cellRenderer.
- I click in the properties on 'cellRenderer'
- I choose from the dropdown box.
- I edit the textField (By the way: I seems i'm editing the textField with jvi!. Is this a clue?)
- I click OK.
- I get the stackTrace...
2009-12-28 20:10:15 UTC in jVi - vi editor clone
-
I tried with the patch but the dumpstacks are still there.
Just by undo a few times and redo a few times I get this dump.
Here is what you can do to reproduce it (I hope):
- Edit some java class. (Doesn't matter which file)
- Let the class implements MouseListener (I type "implements MouseListener")
(MouseListener is just an example. I think it can be done with every interface)
- Fix...
2009-12-28 16:18:04 UTC in jVi - vi editor clone
-
I tried to reproduce it and got lots of dumpStacks.
I think I was using the Undo/Redo functionality.
Now I see you published a patch for this redo/undo.
I try that one first.
2009-12-28 16:00:30 UTC in jVi - vi editor clone