Erwin Marsi - 2006-11-15

Hi,

I would be interested in using bitext2tmx for manually correcting alignments between sentences in parallel Dutch text. I tried the 0.9 version from sourceforge (you are not using the CVS repository?). It looks promissing, but fails as soon as I try "save as":

$ ./bitext2tmx
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at bitext2tmx.Bitext2tmxMarco.EscribirBitexto(Bitext2tmxMarco.java:1170)
        at bitext2tmx.Bitext2tmxMarco.GuardarBitexto(Bitext2tmxMarco.java:1237)
        at bitext2tmx.Bitext2tmxMarco.jButtonGuardar_actionPerformed(Bitext2tmxMarco.java:670)
        at bitext2tmx.Bitext2tmxMarco_jButtonGuardar_actionAdapter.actionPerformed(Bitext2tmxMarco.java:2622)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
        at java.awt.Component.processMouseEvent(Component.java:5554)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5319)
        at java.awt.Container.processEvent(Container.java:2010)
        at java.awt.Component.dispatchEventImpl(Component.java:4021)
        at java.awt.Container.dispatchEventImpl(Container.java:2068)
        at java.awt.Component.dispatchEvent(Component.java:3869)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
        at java.awt.Container.dispatchEventImpl(Container.java:2054)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3869)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

I'm on Mac OS X using java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)

Another issue is that I would like to prevent bitext2tmx from splitting up my sentences (one sentence per line). I thought "Tools|Options|Split by linebreak" would do that, but it seems to have no effect.

cheers,

Erwin