[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
.30 problem
I think there are still problems with _Proxy creation.
I have attached the source to a simple application I wrote
to store map points in ozone. I am able to store objects
fine but re-reading them back from ozone is impossible. I
get a UnexpectedError in mapPointImpl_Proxy when trying to
call getDBName() which dynamically returns the database key.
It does not happen with 025.
To duplicate build and run:
$ make database (builds everything and creates database,
modify inittest.sh to suit)
$ java org.incenter.tartarus.frmMapper 3335 ( this app uses
3335 for db and 3002 for admin)
login as tim, press enter. Then put a password in twice.
Then click twice in the map area and add a point. You
should enter somethng for clan
Then goto menu Targets->Refresh OR exit and restart with
same usename and pass. BOOM.
You get:
Exception occurred during event dispatching:
org.ozoneDB.UnexpectedError: java.lang.NullPointerException
at
org.incenter.tartarus.mapPointImpl_Proxy.getDBName(Compiled
Code)
at
org.incenter.tartarus.frmMapper.setPointsFromDB(Compiled
Code)
at
org.incenter.tartarus.frmMapper.addMapPanel(Compiled Code)
at
org.incenter.tartarus.frmMapper.mitemConnectActionPerformed(Compiled
Code)
at
org.incenter.tartarus.frmMapper.txtUsernameActionPerformed(Compiled
Code)
at
org.incenter.tartarus.frmMapper.access$12(Compiled Code)
at
org.incenter.tartarus.frmMapper$13.actionPerformed(Compiled
Code)
at
com.sun.java.swing.JTextField.fireActionPerformed(Compiled
Code)
at
com.sun.java.swing.JTextField.postActionEvent(Compiled Code)
at
com.sun.java.swing.JTextField$NotifyAction.actionPerformed(Compiled
Code)
at
com.sun.java.swing.text.JTextComponent.mapEventToAction(Compiled
Code)
at
com.sun.java.swing.text.JTextComponent.processComponentKeyEvent(Compiled
Code)
at
com.sun.java.swing.JComponent.processKeyEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled
Code)
at java.awt.Container.dispatchEventImpl(Compiled
Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at
java.awt.LightweightDispatcher.processKeyEvent(Compiled
Code)
at
java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled
Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
Any ideas? This is using the new OPP.java recently posted
here. This is why I feel I cannot upgrade to 030 yet..
Please help :)
--
Tim Brown
URL: http://www.incenter.org
tmap.zip