Remote PM strange NotSerializableException exception

Overall my application works over HTTP remote PM but in some cases I am
getting following exception. Any ideas?
remote.TransportException: peacetech.gao.usorg.jdo.Role
at com.solarmetric.remote.CommandIO.send(CommandIO.java:207)
at kodo.remote.ClientStoreManager.send(ClientStoreManager.java:758)
at
kodo.remote.ClientResultObjectProvider.send(ClientResultObjectProvider.java:
248)
at
kodo.remote.ClientResultObjectProvider.cacheResults(ClientResultObjectProvid
er.java:167)
at
kodo.remote.ClientResultObjectProvider.open(ClientResultObjectProvider.java:
76)
at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
at
kodo.jdbc.runtime.JDBCFetchConfigurationImpl.newResultList(JDBCFetchConfigur
ationImpl.java:147)
at
kodo.runtime.CopyOnWriteFetchConfiguration.newResultList(CopyOnWriteFetchCon
figuration.java:179)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:856)
... 54 more
Caused by: java.io.NotSerializableException: peacetech.gao.usorg.jdo.Role
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at kodo.remote.QueryResultCommand.write(QueryResultCommand.java:112)
at com.solarmetric.remote.CommandIO.send(CommandIO.java:198)
... 62 more
NestedThrowablesStackTrace:
java.io.NotSerializableException: peacetech.gao.usorg.jdo.Role
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at kodo.remote.QueryResultCommand.write(QueryResultCommand.java:112)
at com.solarmetric.remote.CommandIO.send(CommandIO.java:198)
at kodo.remote.ClientStoreManager.send(ClientStoreManager.java:758)
at
kodo.remote.ClientResultObjectProvider.send(ClientResultObjectProvider.java:
248)
at
kodo.remote.ClientResultObjectProvider.cacheResults(ClientResultObjectProvid
er.java:167)
at
kodo.remote.ClientResultObjectProvider.open(ClientResultObjectProvider.java:
76)
at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
at
kodo.jdbc.runtime.JDBCFetchConfigurationImpl.newResultList(JDBCFetchConfigur
ationImpl.java:147)
at
kodo.runtime.CopyOnWriteFetchConfiguration.newResultList(CopyOnWriteFetchCon
figuration.java:179)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:856)
at
peacetech.gao.usorg.jdo.helpers.Positions.findPositions(Positions.java:150)
at
peacetech.gao.usorg.gui.position.PositionSearchResultPanel.getPositions(Posi
tionSearchResultPanel.java:209)
at
peacetech.gao.usorg.gui.position.PositionSearchResultPanel.setOrgUnits(Posit
ionSearchResultPanel.java:183)
at
peacetech.gao.usorg.gui.position.PositionSearchPanel$RoleAction.doRetrieve(P
ositionSearchPanel.java:287)
at
peacetech.gao.usorg.gui.position.PositionSearchPanel$RoleAction.actionPerfor
med(PositionSearchPanel.java:271)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at
peacetech.gao.usorg.gui.ou.OrgUnitTreeActions$PositionSearchAction.actionPer
formed(OrgUnitTreeActions.java:617)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unkno
wn Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
rethrown as com.solarmetric.remote.TransportException:
peacetech.gao.usorg.jdo.Role
at com.solarmetric.remote.CommandIO.send(CommandIO.java:207)
at kodo.remote.ClientStoreManager.send(ClientStoreManager.java:758)
at
kodo.remote.ClientResultObjectProvider.send(ClientResultObjectProvider.java:
248)
at
kodo.remote.ClientResultObjectProvider.cacheResults(ClientResultObjectProvid
er.java:167)
at
kodo.remote.ClientResultObjectProvider.open(ClientResultObjectProvider.java:
76)
at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
at
kodo.jdbc.runtime.JDBCFetchConfigurationImpl.newResultList(JDBCFetchConfigur
ationImpl.java:147)
at
kodo.runtime.CopyOnWriteFetchConfiguration.newResultList(CopyOnWriteFetchCon
figuration.java:179)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:856)
at
peacetech.gao.usorg.jdo.helpers.Positions.findPositions(Positions.java:150)
at
peacetech.gao.usorg.gui.position.PositionSearchResultPanel.getPositions(Posi
tionSearchResultPanel.java:209)
at
peacetech.gao.usorg.gui.position.PositionSearchResultPanel.setOrgUnits(Posit
ionSearchResultPanel.java:183)
at
peacetech.gao.usorg.gui.position.PositionSearchPanel$RoleAction.doRetrieve(P
ositionSearchPanel.java:287)
at
peacetech.gao.usorg.gui.position.PositionSearchPanel$RoleAction.actionPerfor
med(PositionSearchPanel.java:271)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at
peacetech.gao.usorg.gui.ou.OrgUnitTreeActions$PositionSearchAction.actionPer
formed(OrgUnitTreeActions.java:617)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unkno
wn Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.NotSerializableException: peacetech.gao.usorg.jdo.Role
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at kodo.remote.QueryResultCommand.write(QueryResultCommand.java:112)
at com.solarmetric.remote.CommandIO.send(CommandIO.java:198)
... 62 more

yes you would need to do this of course and not only with collections but
any PC parameters
"Patrick Linskey" <[email protected]> wrote in message
news:[email protected]...
Ok. I'm guessing that the problem is that we're just trying to send the
parameters back to the client as-is, but should instead do some logic to
convert into OIDs for collections of PCs, and then convert back.
-Patrick
Alex Roytman wrote:
Patrick,
I will get a query for you (it is dymanic I will need to recreate it)
but
right now I can tell you that I have unbound parameter of Set or Rolestype
(i.e. p_roleSet.contains(role) ) It works fine when not using remote PM
I am not running this query against candidat collection just
newQuery(MyClass.class, myFilter)
Alex
"Patrick Linskey" <[email protected]> wrote in message
news:[email protected]...
Alex,
The odd thing with this trace is that it looks like Kodo is trying to
serialize the Role object on the client side, and during a query. That
is, it's not the process of sending the Role objects from the server to
the client, or the process of committing changes back to the server, but
the process of doing a query that is causing problems.
Can you post the query that you're exeucting? In particular, I'm curious
to see if you're executing against a candidate collection vs. extent,
and whether or not you have any parameters of type Role (or of a type
that has a ref to Role).
-Patrick
Alex Roytman wrote:
Overall my application works over HTTP remote PM but in some cases I am
getting following exception. Any ideas?
remote.TransportException: peacetech.gao.usorg.jdo.Role
at com.solarmetric.remote.CommandIO.send(CommandIO.java:207)
at kodo.remote.ClientStoreManager.send(ClientStoreManager.java:758)
at
kodo.remote.ClientResultObjectProvider.send(ClientResultObjectProvider.java:
>>
248)
at
kodo.remote.ClientResultObjectProvider.cacheResults(ClientResultObjectProvid
>>
er.java:167)
at
kodo.remote.ClientResultObjectProvider.open(ClientResultObjectProvider.java:
>>
76)
at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
at
kodo.jdbc.runtime.JDBCFetchConfigurationImpl.newResultList(JDBCFetchConfigur
>>
ationImpl.java:147)
at
kodo.runtime.CopyOnWriteFetchConfiguration.newResultList(CopyOnWriteFetchCon
>>
figuration.java:179)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:856)
... 54 more
Caused by: java.io.NotSerializableException:peacetech.gao.usorg.jdo.Role
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at kodo.remote.QueryResultCommand.write(QueryResultCommand.java:112)
at com.solarmetric.remote.CommandIO.send(CommandIO.java:198)
... 62 more
NestedThrowablesStackTrace:
java.io.NotSerializableException: peacetech.gao.usorg.jdo.Role
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at kodo.remote.QueryResultCommand.write(QueryResultCommand.java:112)
at com.solarmetric.remote.CommandIO.send(CommandIO.java:198)
at kodo.remote.ClientStoreManager.send(ClientStoreManager.java:758)
at
kodo.remote.ClientResultObjectProvider.send(ClientResultObjectProvider.java:
>>
248)
at
kodo.remote.ClientResultObjectProvider.cacheResults(ClientResultObjectProvid
>>
er.java:167)
at
kodo.remote.ClientResultObjectProvider.open(ClientResultObjectProvider.java:
>>
76)
at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
at
kodo.jdbc.runtime.JDBCFetchConfigurationImpl.newResultList(JDBCFetchConfigur
>>
ationImpl.java:147)
at
kodo.runtime.CopyOnWriteFetchConfiguration.newResultList(CopyOnWriteFetchCon
>>
figuration.java:179)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:856)
at
peacetech.gao.usorg.jdo.helpers.Positions.findPositions(Positions.java:150)
>>
at
peacetech.gao.usorg.gui.position.PositionSearchResultPanel.getPositions(Posi
>>
tionSearchResultPanel.java:209)
at
peacetech.gao.usorg.gui.position.PositionSearchResultPanel.setOrgUnits(Posit
>>
ionSearchResultPanel.java:183)
at
peacetech.gao.usorg.gui.position.PositionSearchPanel$RoleAction.doRetrieve(P
>>
ositionSearchPanel.java:287)
at
peacetech.gao.usorg.gui.position.PositionSearchPanel$RoleAction.actionPerfor
>>
med(PositionSearchPanel.java:271)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
atjavax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(UnknownSource)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(UnknownSource)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at
peacetech.gao.usorg.gui.ou.OrgUnitTreeActions$PositionSearchAction.actionPer
>>
formed(OrgUnitTreeActions.java:617)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
atjavax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unkno
>>
wn Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(UnknownSource)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
rethrown as com.solarmetric.remote.TransportException:
peacetech.gao.usorg.jdo.Role
at com.solarmetric.remote.CommandIO.send(CommandIO.java:207)
at kodo.remote.ClientStoreManager.send(ClientStoreManager.java:758)
at
kodo.remote.ClientResultObjectProvider.send(ClientResultObjectProvider.java:
>>
248)
at
kodo.remote.ClientResultObjectProvider.cacheResults(ClientResultObjectProvid
>>
er.java:167)
at
kodo.remote.ClientResultObjectProvider.open(ClientResultObjectProvider.java:
>>
76)
at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)
at
kodo.jdbc.runtime.JDBCFetchConfigurationImpl.newResultList(JDBCFetchConfigur
>>
ationImpl.java:147)
at
kodo.runtime.CopyOnWriteFetchConfiguration.newResultList(CopyOnWriteFetchCon
>>
figuration.java:179)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:856)
at
peacetech.gao.usorg.jdo.helpers.Positions.findPositions(Positions.java:150)
>>
at
peacetech.gao.usorg.gui.position.PositionSearchResultPanel.getPositions(Posi
>>
tionSearchResultPanel.java:209)
at
peacetech.gao.usorg.gui.position.PositionSearchResultPanel.setOrgUnits(Posit
>>
ionSearchResultPanel.java:183)
at
peacetech.gao.usorg.gui.position.PositionSearchPanel$RoleAction.doRetrieve(P
>>
ositionSearchPanel.java:287)
at
peacetech.gao.usorg.gui.position.PositionSearchPanel$RoleAction.actionPerfor
>>
med(PositionSearchPanel.java:271)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
atjavax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(UnknownSource)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(UnknownSource)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at
peacetech.gao.usorg.gui.ou.OrgUnitTreeActions$PositionSearchAction.actionPer
>>
formed(OrgUnitTreeActions.java:617)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
atjavax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unkno
>>
wn Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(UnknownSource)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.NotSerializableException:peacetech.gao.usorg.jdo.Role
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.HashMap.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at kodo.remote.QueryResultCommand.write(QueryResultCommand.java:112)
at com.solarmetric.remote.CommandIO.send(CommandIO.java:198)
... 62 more

Similar Messages

  • Error in Remote-Communikation | caught TrexNet exception

    Hello BIA experts,
    we got this error 4 times and don´t know what´s the reason(from RSPC):
    12.01.2009     15:33:57     Loading data to index BWP_BI0:SMAT_PLANT (records '0000318655', job '0' )
    12.01.2009     15:44:16     Characteristic 0MAT_PLANT: 0 data records in version M deleted from table /BI0/QMAT_PLANT
    12.01.2009     15:44:16     Index for table '/BI0/SMAT_PLANT' is being processed
    12.01.2009     15:44:16     Index '/BI0/SMAT_PLANT' for BIA index deleted
    12.01.2009     15:44:16     Index 'BWP_BI0:SMAT_PLANT' for BIA index created
    12.01.2009     15:44:16     Execute rollback
    12.01.2009     15:44:16     Rollback for index 'BWP_BI0:SMAT_PLANT' executed
    12.01.2009     15:44:16     Runtime (ms): RFC server:58, BIA client:58, BIA Kernel: 0, ABAP RFC: 60
    12.01.2009     15:44:16     Error in Remote-Communikation with partner http://[blade02]:30003/indexCellTable
    12.01.2009     15:44:16     Job cancelled after system exception ERROR_MESSAGE
    In the rfc alert trace there is no relevant error at this time. This error is independent from the blades because i moved the affected index to another blade. The result was the same.
    I only can see an error in the IndexServerAlert trace:
    2009-01-12 15:34:42.475 e SERVER_TRACE TRexApiIndexDocuments.cpp(09363) : start rollback bwp_bi0:smat_plant user=[user]
    2009-01-12 15:34:42.489 e Trex_SE      FuzzyOptimizer.cpp(04135) : start rollbackOptimize for index bwp_bi0:smat_planten
    2009-01-12 15:34:42.508 e Trex_SE      FuzzyOptimizer.cpp(04229) : rollbackOptimize for index bwp_bi0:smat_planten finished rc=0
    2009-01-12 15:34:42.518 e SERVER_TRACE TRexApiIndexDocuments.cpp(09397) : finished rollback bwp_bi0:smat_plant rc=0
    2009-01-12 15:34:53.213 e Service      TrexService.cpp(01283) : caught TrexNet exception in method : Protocol//request begin identifier is invalid
    In the syslog on BI I can see this error:
    15:44:14 BWP82 BTC  007 010 BWBATCH                    TR  1 TREX_ICM-Receive_Error; return code = 402, return text = ICM_HTTP_TIMEOUT
    I don´t know why I get here an ICM error, the BIA is so configured that it just uses the RFC connection to the backend system. There is also no error in the ICM traces in SMICM.
    I only found a note(1092151) but this note doesn´t match to us because we already have SP15 in the backend system.
    Thanks in advance!
    Best Regards,
    Jens
    Edited by: Jens Gleichmann on Jan 13, 2009 8:15 AM
    Edited by: Jens Gleichmann on Jan 13, 2009 11:52 AM

    Hi Marc,
    thanks for your reply.
    Yes, I already found this note, but I can´t found a problem in the configuration of the ICM. It´s very strange if we rerun the process chain than it works. It´s not only one index which has the error, there are now 3 indizes which have the error.
    This process chain also run in the year 2008 and from my team didn´t change anything on BIA or ICM.
    In SMICM I can´t find any log about this errors. Is this actually logged by the ICM? Does it help if I set the trace level higher?
    The error can be reproduced at all 4 blades.
    Here an other error:
       Prozess 'Initiales Aktivieren und Füllen von BIA-Indizes ',
       Variante 'BIA-Index aktivieren und initial füllen für MM_I_I' hat
       Stat us 'fehlerhaft beendet ' (Instanz
       'BIBIA4CI394JSTM6Q9TLJG99P5PNHC ')
    in English:
    process 'initial activate and fill of bia-indizes'
    variant 'BIA-index activate and fill for MM_I_I' have
    status 'finished with error' (Instance
       'BIBIA4CI394JSTM6Q9TLJG99P5PNHC ')
    Best Regards,
    Jens
    Edited by: Jens Gleichmann on Jan 15, 2009 7:47 AM

  • Java.io.NotSerializableException  exception in session beans

    Hey experts,
    I have written the following code to call a session bean method from a portal application.
                   Object obj1 = context.lookup("applications/knet");
                   UserInfoHome userInfoHome =
                                       (UserInfoHome) javax.rmi.PortableRemoteObject.narrow(
                                       obj1,
                                       UserInfoHome.class);
                   UserInfo userInfo = userInfoHome.create();
                   Collection col =
                                  userInfo.getAllrooms();
                   out.println("The size is  " + col.size() + "<br>");
    The following is the implementation of the getAllrooms() method in the session bean
         public Collection getAllrooms() {
              Collection col = null;
              try {
                   InitialContext ctx = new InitialContext();
                   roomsHome = (RoomsLocalHome) ctx.lookup("java:comp/env/ejb/RoomsBean");
                   col = roomsHome.findAllRooms();
              } catch (NamingException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (FinderException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              return col;
    In the entity bean the following EJB QL has been used
    <EJB QL>
        select object(r) from Rooms r
    </<EJB QL>>
    I get the following error
    com.sap.engine.services.rmi_p4.exception.P4BaseRuntimeException: I/O operation failed : java.io.NotSerializableException: com.sap.engine.services.ejb.entity.finder.EJBLocalCollection :
            at com.sap.engine.services.rmi_p4.server.P4ObjectBrokerServerImpl.getException(P4ObjectBrokerServerImpl.java:926)
            at com.sap.engine.services.rmi_p4.reflect.LocalInvocationHandler.replicateReturnValue(LocalInvocationHandler.java:115)
            at com.sap.engine.services.rmi_p4.reflect.LocalInvocationHandler.invokeInternal(LocalInvocationHandler.java:90)
            at com.sap.engine.services.rmi_p4.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:50)
            at $Proxy180.getAllrooms(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
            at $Proxy181.getAllrooms(Unknown Source)
            at com.watercorp.BMS.test.EJBTest.doContent(EJBTest.java:120)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            ... 29 more
    Caused by: java.io.NotSerializableException: com.sap.engine.services.ejb.entity.finder.EJBLocalCollection
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
            at com.sap.engine.services.rmi_p4.reflect.LocalInvocationHandler.replicateReturnValue(LocalInvocationHandler.java:110)
            ... 42 more
    Please help

    Hi Sabbir,
    You are trying to expose a Collection of Entity local interfaces (RoomsLocal) that is the result of RoomsLocalHome.findAllRooms(), through the Session bean's remote interface method getAllrooms(). This is forbidden by the EJB specification and of course cannot work. You have to use remote interfaces of Entity beans when you want to expose them to remote clients - although this is not a good practice either since Entity beans are fine-grained components. Data transfer objects (<a href="http://en.wikipedia.org/wiki/Data_Transfer_Object">DTO</a>) with Session facades should be used for this purpose (you already have a Session facade - the UserInfo bean).
    Hope this clarifies it!
    -Vladimir
    Message was edited by:
            Vladimir Pavlov

  • Remote Update Manager missing exception apps

    Hi all,
    Can anyone explain to me why remote update manager or even the Update GUI does not include any of the exception deployed apps like Lightroom or Acrobat? I get users asking us to update these for us when they open the app as the pop up appears.
    We have automated all the standard apps' updates via remote update manager but the cannot include the other exception ones. Can anyone help me with this one? I want to automate all the updates.
    If it isn't implemented yet then I'd like it to be since we lock admin rights from our users for security reasons.
    Thanks,
    Josh.

    Hi all,
    Can anyone explain to me why remote update manager or even the Update GUI does not include any of the exception deployed apps like Lightroom or Acrobat? I get users asking us to update these for us when they open the app as the pop up appears.
    We have automated all the standard apps' updates via remote update manager but the cannot include the other exception ones. Can anyone help me with this one? I want to automate all the updates.
    If it isn't implemented yet then I'd like it to be since we lock admin rights from our users for security reasons.
    Thanks,
    Josh.

  • Strange unmarshalling exception when starting RMI server

    I've run into a strange problem when running my RMI server. It worked fine yesterday, though I made a few changes since then, none of those changes should cause this to happen, as far as I know.
    Here's the exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: pub.interfaces.ClientIface
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:595)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
    at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
    at java.rmi.Naming.rebind(Naming.java:160)
    at priv.server.TCMaster.<init>(TCMaster.java:97)
    at priv.server.TCMaster.main(TCMaster.java:71)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: pub.interfaces.ClientIface
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassNotFoundException: pub.interfaces.ClientIface
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:707)
    at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:651)
    at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:588)
    at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
    at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294)
    at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
    at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1494)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
    ... 9 more
    pub.interfaces.ClientIface is in the SAME directory as the RMI server class! What could be causing this?
    NOTE: I'm running this on Redhat Linux 9, jdk 1.5.0_04.

    Usually an unmarshalling exception is caused by the classes not matching up on the server & client end. The classes are there I think, because otherwise it would have thrown a classnotfound exception instead. Can you try actually copying and pasting the classes either from the server to the client or vice versa? I've had weird issues where sometimes the compiler compiles the same class differently in different locations, so your safest bet is to make sure the client & server classes (that you're passing as arguments & returning from the server) are identical.
    Good luck!

  • JSP causes strange ArrayIndexOutOfBounds exception

    Hello.
    I'm having a jsp, that outputs some information (this part is not important).
    I'm using Tomcat 5.0
    Sometimes it happens that that jsp throws ArrayIndexOutOfBounds: 45, and Tomcat starts to throw OutOfMemory exception.
    This would be not so strange if I had any array in the jsp. However, I do not. And furthermore, the line shown in the stacktrace log contains...a closing bracket.
    Also, I cannot reproduce this - it happens to some of my users.
    My suspection is, that someone is making an attack via the input parameters.
    I use Integer.parseInt to get the numeric values of the request parameters.
    Is there any vulnerability, or any way that Integer.parseInt throw an "ArrayIndexOutOfBounds" Exception, or I should look for something else. Thanks

    Hello.
    I'm having a jsp, that outputs some information (this part is not important).
    I'm using Tomcat 5.0
    Sometimes it happens that that jsp throws ArrayIndexOutOfBounds: 45, and Tomcat starts to throw OutOfMemory exception.
    This would be not so strange if I had any array in the jsp. However, I do not. And furthermore, the line shown in the stacktrace log contains...a closing bracket.
    Also, I cannot reproduce this - it happens to some of my users.
    My suspection is, that someone is making an attack via the input parameters.
    I use Integer.parseInt to get the numeric values of the request parameters.
    Is there any vulnerability, or any way that Integer.parseInt throw an "ArrayIndexOutOfBounds" Exception, or I should look for something else. Thanks

  • Strange corba exception

    Hello,
    Our application uses only local interfaces til yesterday.
    Then I need to return some of our entity classes through remote interfaces, but then comes the following:
    In the session bean, I return a "filled" User instance, but the client only gets an "empty" one (all fields are null).
    [#|2010-06-08T15:12:33.047+0200|WARNING|sun-appserver2.1|javax.enterprise.resource.corba.ee._CORBA_.rpc.encoding|_ThreadID=22;_ThreadName=httpSSLWorkerThread-8080-0;<<Context:ReaderWriter[value(de.studiorga.api.users.vo.User)]:de.studiorga.api.users.vo.User.currentCourse,de.studiorga.api.coursemanagement.vo.Course.admin,de.studiorga.api.users.vo.User.birthday,java.util.Date>>;_RequestID=3b22825d-181f-45d4-beda-5101d2974cb2;|"IOP00800007: (MARSHAL) Unsupported RMI/IDL custom value type stream format<<Context:ReaderWriter[value(de.studiorga.api.users.vo.User)]:de.studiorga.api.users.vo.User.currentCourse,de.studiorga.api.coursemanagement.vo.Course.admin,de.studiorga.api.users.vo.User.birthday,java.util.Date>>"
    org.omg.CORBA.MARSHAL:   vmcid: OMG  minor code: 7 completed: Maybe
         at com.sun.corba.ee.impl.logging.OMGSystemException.unsupportedFormatVersion(OMGSystemException.java:2653)
         at com.sun.corba.ee.impl.logging.OMGSystemException.unsupportedFormatVersion(OMGSystemException.java:2667)
         at com.sun.corba.ee.impl.io.IIOPInputStream.readFormatVersion(IIOPInputStream.java:279)If I set the User -> Course relationship (User.currentCourse) to null, I get following exception at the next relationship:
    [#|2010-06-08T16:50:35.809+0200|WARNING|sun-appserver2.1|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.encoding|_ThreadID=19;_ThreadName=httpSSLWorkerThread-8080-0;64;<<Context:ReaderWriter[value(de.studiorga.api.users.vo.User)]:de.studiorga.api.users.vo.User.userSettings>>;_RequestID=19515e8f-6f06-4b6b-a969-8d4d96cc6114;|
    "IOP00810230: (MARSHAL) Bad valuetag 64 found while reading repository IDs<<Context:ReaderWriter[value(de.studiorga.api.users.vo.User)]:de.studiorga.api.users.vo.User.userSettings>>"
    org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 230 completed: Maybe
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badValueTag(ORBUtilSystemException.java:9030)
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badValueTag(ORBUtilSystemException.java:9045)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRepositoryIds(CDRInputStream_1_0.java:955)Does anybody know, what this means? I've searched the internet, bot does not find anything that helps.
    All classes have serialVersionUID's set.
    The application is running on jdk6. I've tried to switch to jdk5, but without success.
    If needed, I can try to paste relevant code parts.
    Hope somebody can help
    Dirk
    Edited by: Freak.2k on Jun 8, 2010 3:03 PM

    The problem is not at the entities classes.
    If I look the service up from an external application, I get the current result.
    But if I look call it from another web application (in the same glassfish), I get the above exception.
    Could the lib distribution be the cause of the problem?
    MyApp.ear
    - lib/myapp-api.jar
    - myapp-ejb.jar
    - myapp-web.jar
    Service-web.war
    - Web-inf/lib/myapp-api.jar
    The myapp-api.jar (in ear/lib/) containts the remote interfaces and the entity classes) and the myapp-impl.jar containts the session bean implementations
    The Service-web.war has its own copy of the api.jar.
    The exception above comes, when using the services from the impl.jar in the service webapp.
    Edited by: Freak.2k on Jun 8, 2010 10:26 PM

  • NotSerializableException exception (when moving from 7.0 to 8.1 SP3)

    When migrating from WL 7.0 to WL8.1SP3, I get the following exception
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.io.NotSerializableException: com.test.ClientContext$ClientAccount]
    at weblogic.rmi.internal.CBVWrapper.copy(CBVWrapper.java:55)
    at com.test.lookup.BClient_dykqq8_EOImpl_CBV.getActiveClients(Unknown Source)
    at com.test.gui.ClientHandler.getAllClients(ClientHandler.java:86)
    I don't get this error if I add <enable-call-byreference> to True in my WL8.1 weblogic-ejb-jar.xml file.
    I never had this tag <enable-call-byreference> in my original WL8.1 weblogic-ejb-jar.xml file.

    The default for call-by-reference was true before 8.1. You'll have to explicitly set it to true in 8.1 and later.
    -- Rob

  • Problem With Remote, and strange error that crashes diagnos

    Hey guys. I'm a n00b to the forum, but I think this is my best hope. I'm having this problem getting my remote to work, and I'm getting an error that appears to common, but I haven't been able to find a solid solution. I can't do a reload, since I have savegame files that can't be backed up, and a large home-video backup on this computer. I don't have enough DVDs to back it all up onto. The one thing that I REALLY want to work is the Remote. For some reason it won't work. I know it isn't the battery, because it worked fine before I reloaded this system last (September?), and I have tried a new battery in it. I've also tried turning up the sensitivity settings. I've noticed the red light occaisionally flickers on the Creative Hub thing when I'm not even touching the remote. When I try to run the diagnostic program I get an error (The instruction at "0x77f536f7" memory "0x00000000". The memory could not be "written". Click OK to Terminate the program, or Click CANCEL to Debug the program) I've tried clicking CANCEL on this, and that does nothing but pop up the error message (The instruction at "0x084c42f" referenced memory at 0x00000008". The memory could not be "read". Click OK to terminate the program). Clicking OK on the previous window also gives you that error. Clicking OK on the error just mentioned closes down the diag program. I've tried using the Restore Defaults option, and that didn't fix the problem either. I've also run DocMemory on my computer, and according to it, my RAM is fine. As far as product updates go, I've downloaded them all and installed them all too. Everything works but the remote... and I think it may be partially b/c of the supposed RAM-based error. I haven't tried running it in safe mode yet... I'll try that and get back to you ASAP.
    --> Creative Soundblaster Audigy 2 ZS Plat. Pro.
    --> 52mb OCZ DDR400.
    --> AMD 64 3000+
    --> 20gig WD HDD
    --> 28mb PowerColour ATi Radeon 9200se
    --> Asus WiFi B
    --> XP Home
    I'm a huge computer junkie so feel free to go technical on me. Hopefully somebody can fix my problem.
    Thanks,
    -Richard-
    btw: I often see these same errors when shutting down my computer.
    [EDIT: 2/26/2004 @ 0:43PM]
    Okay, I just tried running the diag in safemode... still came up with the errors.
    -Richard-Message Edited by wardrich on 2-27-2004 03:40 AM

    Wardrich,
    There are a couple of things I would suggest. First off I would make sure that the remote control is enabled in Mediasource, it is not by default. To do this go into Mediasource and go to Tools/Settings. In here there is a remote control tab. Make sure the remote and the OSD is enabled in here. If it is then we need to look at doing a cleansweep and reinstall of the card. Here are the instructions on cleansweeping the card:
    http://forums.americas.creative.com/...&message.id=72
    Jeremy

  • Very long and strange PPR exception on JSF page in Jdev 11.1.1.1

    We are taking a PPR exception ADF RC JSF application like that when we try to add a record to the table and commit.
    WARNING: ADF: Adding the following JSF error message: Unexpected exception caught: java.lang.NullPointerException, msg=null
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:363)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1656)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1616)
    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4233)
    at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:328)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:405)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:296)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1635)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1729)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.internalGet(FacesCtrlActionBinding.java:316)
    at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:742)
    at javax.el.MapELResolver.getValue(MapELResolver.java:164)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
    at com.sun.el.parser.AstNot.getValue(AstNot.java:46)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:502)
    at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.decodeInternal(CommandLinkRenderer.java:54)
    at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:241)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1107)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:701)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:802)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXShowDetail.processDecodes(UIXShowDetail.java:101)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:36)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:106)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:109)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:36)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:106)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:109)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:75)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
    at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:540)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1150)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:291)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
    at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1750)
    More(99%)
    at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1750)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1640)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1616)
    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4233)
    at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:329)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:405)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:296)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1635)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1729)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.internalGet(FacesCtrlActionBinding.java:316)
    at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:742)
    at javax.el.MapELResolver.getValue(MapELResolver.java:164)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
    at com.sun.el.parser.AstNot.getValue(AstNot.java:47)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:502)
    at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.decodeInternal(CommandLinkRenderer.java:54)
    at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:242)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1107)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:702)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:804)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXShowDetail.processDecodes(UIXShowDetail.java:101)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:36)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:107)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:110)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    More(99%)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:36)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:107)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:110)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:76)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
    at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
    at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:541)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1151)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:291)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl

  • Getting java.io.NotSerializableException exception

    Hi All,
    I am getting the java.io.NotSerializableException when using FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("DATA_LIST",dataList); in the bean. Can any one tell me the solution.
    WARNING: Cannot serialize session attribute DATA_LIST for session B4270E3F0D63D10FF5E83D057AF4EE88
    java.io.NotSerializableException: com.ColorBO
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at java.util.ArrayList.writeObject(ArrayList.java:529)
    at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1445)
    at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:920)
    at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
    at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
    at org.apache.catalina.session.StandardManager.stop(StandardManager.java:664)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4255)
    at org.apache.catalina.manager.ManagerServlet.undeploy(ManagerServlet.java:1283)
    at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:372)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:168)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:534)
    Oct 25, 2006 11:28:38 PM org.apache.catalina.session.StandardSession writeObject
    WARNING: Cannot serialize session attribute DATA_LIST for session 46A81579BFE42E28F2AE5BBA7D091710
    java.io.NotSerializableException: com.ColorBO
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at java.util.ArrayList.writeObject(ArrayList.java:529)
    at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1445)
    at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:920)
    at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
    at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
    at org.apache.catalina.session.StandardManager.stop(StandardManager.java:664)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4255)
    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
    at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1143)
    at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1115)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1053)
    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1065)
    at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:561)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)

    The object in the list should implement serializable

  • Strange runtime exception

    I have the code below and I receive a runtime exception:
    java.lang.NullPointerException <---- in Terminal window
    and
    StringIndexOutOfBoundsException: String Index Out of Range: 3 (in java.lang.String) <--- in Class editor window, at line 10
    My code:
    public class Test_1
    public static String numitorString, numaratorString;
    public static float numitor, numarator, val2, floatResult = 8.000000E-08f;
    public static String min, min2 = "+8.000000E-08";
    public static void convert()
        numitorString = min2.substring( (min2.indexOf("E") + 2), min2.indexOf("E") + 4  ); // line10
        numaratorString = min2.substring( 1, min2.indexOf("E") );
        numarator = Float.valueOf(numaratorString).floatValue();
        numitor = Float.valueOf(numitorString).floatValue();
        numitor = (float)Math.pow(10,numitor);
        val2 = numarator/numitor;
                if(  ((floatResult-(1.0E-13F) ) < (val2)) && (val2 < (floatResult+(1.0E-13F)) ) )
                    min = min2 = "ok";            
                else
                    min = "ok";
                    min2 = "nok";
        System.out.println(min);
        System.out.println(min2);           
    }When I run the program first time, it works all right printing out "ok" 2 times.
    The problem appears when I run it the second time, then this runtime exception appear.
    Can anybody help me?
    Edited by: aditm on Oct 11, 2007 2:13 PM

    Can anybody help me?They best help anyone could give you at this point is to give you the rudiments of debugging. For example, insert this line as the first line in method convert:
    System.out.println("min2=" + min2);Do you see why your substring calculation makes no sense?

  • Strange nullpointer exception

    When i excute the following the code, a nullpointer exception is thrown, however, the code (System.out.println ("qi guai" + price);) after the line (String title = ...) which causes the exception is still excuted..... Anyone can help me figure it out, thanks in advance! ( is it possible that it's due to the parsing of the xml in the first place?? I run the code in redhat, while the zip, xml files are created in windows using editplus)
    // getting the xml file from a zip file
    ZipInputStream bulk = new ZipInputStream(some InputStream);
    ZipEntry contentEntry = bulk.getNextEntry();
    byte[] temp = new byte[(new Long(contentEntry.getSize())).intValue()];
    bulk.read(temp);
    // Parsing the xml file...
    Document contentxml = null;
    InputStream is = new ByteArrayInputStream(temp);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    try {
    DocumentBuilder builder = factory.newDocumentBuilder();
    contentxml = builder.parse (is);
    } catch (some Exception) {
    NodeList contentlist = contentxml.getDocumentElement().getElementsByTagName("content");
    // for each content
    for (int i=0; i<contentlist.getLength(); i++) {
    Element content = (Element) contentlist.item(i);
    String title = (content.getElementsByTagName("title")).item(0).getFirstChild().getNodeValue();
    String price = (content.getElementsByTagName("price")).item(0).getFirstChild().getNodeValue();
    System.out.println ("qi guai" + price);
    ps: the xml file:
    <root>
    <content>
    <title>bulktest</title>
    <price>Default</price>
    </content>
    </root>

    now solved

  • Strange casting exception

    Why would I get this casting exception when com.sun.messaging.QueueConnectionFactory implements ConnectionFactory?
    I tried casting to javax.jms.QueueConnectionFactory with same result.
    java.lang.ClassCastException: com.sun.messaging.QueueConnectionFactory cannot be cast to javax.jms.ConnectionFactory
    My code snippet is
    Hashtable<String, String> env = new Hashtable<String, String>();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory");
    env.put(Context.PROVIDER_URL, "file:///C:/Temp");
    Context ctx;
    try {
    ctx = new InitialContext(env);
    String lookupName = "MyConnectionFactory";
    cFactory = (ConnectionFactory) ctx.lookup(lookupName);
    catch(NamingException e) {
    }

    it's possibly a classloading issue. assuming the QueueConnectionFactory implementation does implement ConnectionFactory, it's possible that the instance you are retrieving references ConnectionFactory from a different classloader than the code you are running. you need to make sure that the reference you get from jndi and the code you are running have a shared classloader which contains the ConnectionFactory class.

  • Strange OutOfMemory Exception

    Sorry wrong forum
    Message was edited by:
    hdeutsch

    it's possibly a classloading issue. assuming the QueueConnectionFactory implementation does implement ConnectionFactory, it's possible that the instance you are retrieving references ConnectionFactory from a different classloader than the code you are running. you need to make sure that the reference you get from jndi and the code you are running have a shared classloader which contains the ConnectionFactory class.

Maybe you are looking for