Comments (5)
What next?
Upon trying to load vi_en.zip, got an uncopiable(!) error window suggesting i
send
this file to [email protected]:
~/.jalingo/log/jalingo-error-20071004-094038.log.
That file contains this:
JaLingo Internal Error Log
==========================
Version : 0.6.0
Exception: ...
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:530)
at java.nio.ByteBuffer.get(ByteBuffer.java:649)
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:233)
at ja.centre.util.io.linereader.LineReader.readLine(LineReader.java:122)
at
ja.lingo.engine.reader.util.ObservableLineReader.readLine(ObservableLineReader.j
ava:55)
at ja.lingo.readers.dsl.DslParser.buildIndexFromCustomFormat(DslParser.java:68)
at ja.lingo.readers.dsl.DslParser.access$0(DslParser.java:59)
at ja.lingo.readers.dsl.DslParser$1.buildIndexFromCustomFormat(DslParser.java:55)
at ja.lingo.engine.reader.util.TextualHelper.buildIndex(TextualHelper.java:64)
at ja.lingo.readers.dsl.DslParser.buildIndex(DslParser.java:53)
at ja.lingo.engine.Engine.buildIndex(Engine.java:410)
at ja.lingo.engine.Engine.addDictionary(Engine.java:167)
at
ja.lingo.application.gui.main.settings.dictionaries.add.AddPanel$2.run(AddPanel.
java:314)
at java.lang.Thread.run(Thread.java:619)
Original comment by [email protected]
on 4 Oct 2007 at 2:46
from babiloo.
Tried the alternative suggestion, reboot babiloo. Did so from the command line
and
got the following, which is followed by the contents of the error log file
generated
when vi_en.zip loading was again attempted.
madm@vice-h0:~/bin$ /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java -jar
/home/madm/bin/babiloo.jar
I:[concurrent.TaskSequence ] Running task "show splash"
I:[concurrent.TaskSequence ] Running task "initialize skeleton"
I:[model.Skeleton ] Initializing engine...
I:[util.EngineFiles ] Cleaning temp directory
"/home/madm/.jalingo/temp"
I:[engine.EngineModelManager ] Validating indexes...
I:[engine.EngineModelManager ] Invalidating: there are no dictionaries
I:[engine.EngineModelManager ] Validating indexes: 0 removed, 0 dirty.
I:[engine.EngineModelManager ] Validating indexes: done within 0.0040
seconds
I:[engine.Engine ] Compiling ...
I:[engine.Engine ] Closing not needed indexes...
I:[engine.Engine ] Reading merged index...
I:[nio.MappedByteBufferWrapper ] Opening
"/home/madm/.jalingo/cache/merged.index"...
I:[engine.Engine ] Reading merged index: done within 0.082
seconds
I:[engine.Engine ] Reading search index...
I:[nio.MappedByteBufferWrapper ] Opening
"/home/madm/.jalingo/cache/search.index"...
I:[searchindex.SearchIndex ] Count of memory nodes: 1 (within deep
of 3)
I:[searchindex.SearchIndex ] Count of lazy-loading nodes: 0
I:[engine.Engine ] Reading search index: done within 0.014
seconds
I:[engine.Engine ] Compiling: done
I:[model.Skeleton ] Initializing engine: done within 0.751
seconds
I:[model.Skeleton ] Initializing UI: model and history...
I:[model.Skeleton ] Initializing UI...
I:[model.Skeleton ] Initializing UI: actions...
I:[model.Skeleton ] Initializing UI: drop handler...
I:[model.Skeleton ] Initializing UI: main...
I:[model.Skeleton ] Initializing UI: settings...
I:[model.Skeleton ] Initializing UI: other...
I:[model.Skeleton ] Initializing UI: done within 3.58
seconds
I:[model.Skeleton ] Updating UI...
I:[model.Skeleton ] Updating UI: done within 0.0040 seconds
I:[concurrent.TaskSequence ] Running task "hide splash, show
skeleton"
I:[application.JaLingo ] Started within 14.109 seconds
I:[engine.Engine ] Adding
"/home/madm/public_html/dls/vi_en.zip"...
I:[nio.MappedByteBufferWrapper ] Opening
"/home/madm/public_html/dls/vi_en.zip"...
I:[builder.BuilderFormat ] Builder format closed
I:[nio.MappedByteBufferWrapper ] Closing
"/home/madm/public_html/dls/vi_en.zip"...
S:[add.AddPanel$2 ] Throwable caught while parsing
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:530)
at java.nio.ByteBuffer.get(ByteBuffer.java:649)
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:233)
at ja.centre.util.io.linereader.LineReader.readLine(LineReader.java:122)
at
ja.lingo.engine.reader.util.ObservableLineReader.readLine(ObservableLineReader.j
ava:55)
at ja.lingo.readers.dsl.DslParser.buildIndexFromCustomFormat(DslParser.java:68)
at ja.lingo.readers.dsl.DslParser.access$0(DslParser.java:59)
at ja.lingo.readers.dsl.DslParser$1.buildIndexFromCustomFormat(DslParser.java:55)
at ja.lingo.engine.reader.util.TextualHelper.buildIndex(TextualHelper.java:64)
at ja.lingo.readers.dsl.DslParser.buildIndex(DslParser.java:53)
at ja.lingo.engine.Engine.buildIndex(Engine.java:410)
at ja.lingo.engine.Engine.addDictionary(Engine.java:167)
at
ja.lingo.application.gui.main.settings.dictionaries.add.AddPanel$2.run(AddPanel.
java:314)
at java.lang.Thread.run(Thread.java:619)
S:[messages.ErrorDumper ] Internal error occured
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:530)
at java.nio.ByteBuffer.get(ByteBuffer.java:649)
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:233)
at ja.centre.util.io.linereader.LineReader.readLine(LineReader.java:122)
at
ja.lingo.engine.reader.util.ObservableLineReader.readLine(ObservableLineReader.j
ava:55)
at ja.lingo.readers.dsl.DslParser.buildIndexFromCustomFormat(DslParser.java:68)
at ja.lingo.readers.dsl.DslParser.access$0(DslParser.java:59)
at ja.lingo.readers.dsl.DslParser$1.buildIndexFromCustomFormat(DslParser.java:55)
at ja.lingo.engine.reader.util.TextualHelper.buildIndex(TextualHelper.java:64)
at ja.lingo.readers.dsl.DslParser.buildIndex(DslParser.java:53)
at ja.lingo.engine.Engine.buildIndex(Engine.java:410)
at ja.lingo.engine.Engine.addDictionary(Engine.java:167)
at
ja.lingo.application.gui.main.settings.dictionaries.add.AddPanel$2.run(AddPanel.
java:314)
at java.lang.Thread.run(Thread.java:619)
I:[searchindex.BaseSearchIndex ] Looking for:
"/home/madm/public_html/dls/vi_en.zip"
Exception in thread "AWT-EventQueue-0"
java.lang.reflect.UndeclaredThrowableException
at $Proxy9.insertUpdate(Unknown Source)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185)
at
javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:734)
at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:693)
at javax.swing.text.PlainDocument.insertString(PlainDocument.java:114)
at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:655)
at javax.swing.text.JTextComponent.setText(JTextComponent.java:1693)
at ja.lingo.application.util.Components$2.setText(Components.java:134)
at
ja.lingo.application.gui.main.navigator.NavigatorGui.setSearchText(NavigatorGui.
java:255)
at
ja.lingo.application.gui.main.navigator.NavigatorGui.navigate(NavigatorGui.java:
304)
at
ja.lingo.application.gui.main.navigator.NavigatorGui.navigateAndTranslate(Naviga
torGui.java:308)
at
ja.lingo.application.gui.main.navigator.NavigatorGui.access$4(NavigatorGui.java:
307)
at
ja.lingo.application.gui.main.navigator.NavigatorGui$2.navigateAndTranslate(Navi
gatorGui.java:121)
at ja.lingo.application.model.Model.navigateAndTranslate(Model.java:170)
at
ja.lingo.application.gui.actions.PasteAndTranslateAction.actionPerformed(PasteAn
dTranslateAction.java:51)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.jav
a:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273
)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173
)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: ja.centre.gui.actionbinder.InvokerException: Calling method
"onDocumentChanged"(...) of instance of class
"ja.lingo.application.gui.main.navigator.NavigatorGui"
at
ja.centre.gui.actionbinder.Invokers$ActionMethodInvoker.invoke(Invokers.java:64)
at
ja.centre.gui.actionbinder.Builder$MutableInvocationHandler.invoke(Builder.java:
99)
... 41 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
ja.centre.gui.actionbinder.Invokers$ActionMethodInvoker.invoke(Invokers.java:60)
... 42 more
Caused by: java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkIndex(Buffer.java:514)
at java.nio.DirectIntBufferS.get(DirectIntBufferS.java:209)
at ja.centre.util.io.intio.IntBufferIntReader.get(IntBufferIntReader.java:37)
at
ja.lingo.engine.mergedindex.ChannelMergedIndex.getArticleTitle(ChannelMergedInde
x.java:120)
at ja.lingo.engine.Finder.getArticleTitle(Finder.java:71)
at ja.lingo.engine.Finder.indexOfFirstLike(Finder.java:86)
at
ja.lingo.application.gui.main.navigator.NavigatorGui.onDocumentChanged(Navigator
Gui.java:168)
... 47 more
I:[model.Model ] Saving preferences...
I:[model.Model ] Closng dictionary engine...
I:[mergedindex.ChannelMergedIndex ] Closing
"/home/madm/.jalingo/cache/merged.index"...
I:[nio.MappedByteBufferWrapper ] Closing
"/home/madm/.jalingo/cache/merged.index"...
I:[nio.MappedByteBufferWrapper ] Closing
"/home/madm/.jalingo/cache/search.index"...
I:[engine.Engine ] Closing indexes...
I:[util.EngineFiles ] Cleaning temp directory
"/home/madm/.jalingo/temp"
I:[model.Model ] Disposal completed
madm@vice-h0:~/bin$
madm@vice-h0:~/bin$ ls -ltr ~/.jalingo/log/
total 12
-rw-r--r-- 1 madm madm 1068 2007-10-04 09:40 jalingo-error-20071004-094038.log
-rw-r--r-- 1 madm madm 1068 2007-10-04 10:03 jalingo-error-20071004-100355.log
-rw-r--r-- 1 madm madm 1068 2007-10-04 10:04 jalingo-error-20071004-100441.log
madm@vice-h0:~/bin$
Attempted to load vi_en.zip.
madm@vice-h0:~/bin$ cat ~/.jalingo/log/jalingo-error-20071004-100441.log
JaLingo Internal Error Log
==========================
Version : 0.6.0
Exception: ...
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:530)
at java.nio.ByteBuffer.get(ByteBuffer.java:649)
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:233)
at ja.centre.util.io.linereader.LineReader.readLine(LineReader.java:122)
at
ja.lingo.engine.reader.util.ObservableLineReader.readLine(ObservableLineReader.j
ava:55)
at ja.lingo.readers.dsl.DslParser.buildIndexFromCustomFormat(DslParser.java:68)
at ja.lingo.readers.dsl.DslParser.access$0(DslParser.java:59)
at ja.lingo.readers.dsl.DslParser$1.buildIndexFromCustomFormat(DslParser.java:55)
at ja.lingo.engine.reader.util.TextualHelper.buildIndex(TextualHelper.java:64)
at ja.lingo.readers.dsl.DslParser.buildIndex(DslParser.java:53)
at ja.lingo.engine.Engine.buildIndex(Engine.java:410)
at ja.lingo.engine.Engine.addDictionary(Engine.java:167)
at
ja.lingo.application.gui.main.settings.dictionaries.add.AddPanel$2.run(AddPanel.
java:314)
at java.lang.Thread.run(Thread.java:619)
madm@vice-h0:~/bin$ cat ~/.jalingo/log/jalingo-error-20071004-100355.log
JaLingo Internal Error Log
==========================
Version : 0.6.0
Exception: ...
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:530)
at java.nio.ByteBuffer.get(ByteBuffer.java:649)
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:233)
at ja.centre.util.io.linereader.LineReader.readLine(LineReader.java:122)
at
ja.lingo.engine.reader.util.ObservableLineReader.readLine(ObservableLineReader.j
ava:55)
at ja.lingo.readers.dsl.DslParser.buildIndexFromCustomFormat(DslParser.java:68)
at ja.lingo.readers.dsl.DslParser.access$0(DslParser.java:59)
at ja.lingo.readers.dsl.DslParser$1.buildIndexFromCustomFormat(DslParser.java:55)
at ja.lingo.engine.reader.util.TextualHelper.buildIndex(TextualHelper.java:64)
at ja.lingo.readers.dsl.DslParser.buildIndex(DslParser.java:53)
at ja.lingo.engine.Engine.buildIndex(Engine.java:410)
at ja.lingo.engine.Engine.addDictionary(Engine.java:167)
at
ja.lingo.application.gui.main.settings.dictionaries.add.AddPanel$2.run(AddPanel.
java:314)
at java.lang.Thread.run(Thread.java:619)
madm@vice-h0:~/bin$
Original comment by [email protected]
on 4 Oct 2007 at 3:09
from babiloo.
I used JDK 6.0 to compile that .jar, maybe that's the reason you got problems
running
with your JRE 5.0. I'll try to compile with 5.0 and create also some Native
Code so
people don't need to install the JAVA JRE anymore.
Original comment by [email protected]
on 4 Oct 2007 at 3:16
from babiloo.
That's not problem anymore, Ivan, at least not for me. The problem is now with
loading the vi_en.zip dictionary.
As mentioned earlier, above, i've got both java5 and java6 installed. The
initial
problem was that java5 was being used by default, as set in /etc/alternatives.
Specifically running java6 from the command-line apparently fixed that.
But, once babiloo's gui successfully loaded, i couldn't load the vi_en.zip
file. The
last "JaLingo Internal Error Log" files immediately above were output during an
attempt to load vi_en.zip via the babiloo gui.
Original comment by [email protected]
on 5 Oct 2007 at 2:53
from babiloo.
The solution was simply this: one has to EXTRACT the dct file from the zip
archive
it's downloaded in before trying add it to baliboo.
I mindlessly followed the installation instructions step-by-steap as written
and
simply downloaded the dictionaries then tried to add them without unzipping
them first.
Once unzipped, there was a bit of trouble choosing which file type to use for
the
import as the default is not dct, but selecting "All files" and double clicking
did
the trick.
What a hassle missing such a simple step can make!
Original comment by [email protected]
on 14 Oct 2007 at 4:34
from babiloo.
Related Issues (18)
- Alguna sugerencias HOT 1
- Help --> About not working in 0.2.1 HOT 1
- Feature: add/edit/(remove) dictionaries and dictionary entries in the program itself HOT 1
- annoying ghost window HOT 2
- Don't display Vietnamese exactly HOT 2
- The program doesn't launch
- Install dictionaries from the .ZIP , .TAR.GZ ,etc itself.
- Autodetect type format of the dictionaries.
- I can't search Words that beginning with "A" HOT 1
- Pronunciar vocabularios ingleses HOT 5
- Add dictionary groups (languages)
- Show the some of the first results on the fly
- A version for Pocket PC
- Vietnamese Wiktionary HOT 3
- Babiloo 0.9 doesn't launch and instead it opens a mobile phone software HOT 1
- Mac version
- Page for translation of application not found
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 babiloo.