MMBase

If something goes wrong in database, you can get exception which obfuscates the real error.

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.7.0
  • Fix Version/s: 2.0.0
  • Component/s: RMMCI
  • Description:
    Hide
    original bugid: #6714
    Before I had the postgresql classes in my class path:

    2005-05-23 15:34:12,970 ERROR Error unmarshaling return; nested exception is:
            java.lang.ClassNotFoundException: org.postgresql.util.PSQLException (no security manager: RMI class loader disabled)
    org.mmbase.bridge.BridgeException: Error unmarshaling return; nested exception is:
            java.lang.ClassNotFoundException: org.postgresql.util.PSQLException (no security manager: RMI class loader disabled)
            at org.mmbase.bridge.remote.implementation.RemoteNode_Impl.commit(RemoteNode_Impl.java:549)
            at nl.omroep.radio1.OpenMediaImporter.synchronizeRundowns(OpenMediaImporter.java:50)
            at nl.omroep.radio1.OpenMediaImporter.synchronize(OpenMediaImporter.java:67)


    After I put it in
    CLASSPATH=/home/mmbase/mmbase-app/WEB-INF/lib/pg74.215.jdbc3.jar:\$$CLASSPATH
    :
    2005-05-23 15:37:10,475 ERROR ERROR: null value in column "begin" violates not-null constraint

    org.mmbase.bridge.BridgeException: ERROR: null value in column "begin" violates not-null constraint

            at org.mmbase.bridge.remote.implementation.RemoteNode_Impl.commit(RemoteNode_Impl.java:549)
            at nl.omroep.radio1.OpenMediaImporter.synchronizeRundowns(OpenMediaImporter.java:50)


    Which is very much more helpful.

    I think it is an issue that you need a class like pg.jar on the client.



    Show
    original bugid: #6714 Before I had the postgresql classes in my class path: 2005-05-23 15:34:12,970 ERROR Error unmarshaling return; nested exception is:         java.lang.ClassNotFoundException: org.postgresql.util.PSQLException (no security manager: RMI class loader disabled) org.mmbase.bridge.BridgeException: Error unmarshaling return; nested exception is:         java.lang.ClassNotFoundException: org.postgresql.util.PSQLException (no security manager: RMI class loader disabled)         at org.mmbase.bridge.remote.implementation.RemoteNode_Impl.commit(RemoteNode_Impl.java:549)         at nl.omroep.radio1.OpenMediaImporter.synchronizeRundowns(OpenMediaImporter.java:50)         at nl.omroep.radio1.OpenMediaImporter.synchronize(OpenMediaImporter.java:67) After I put it in CLASSPATH=/home/mmbase/mmbase-app/WEB-INF/lib/pg74.215.jdbc3.jar:\$$CLASSPATH : 2005-05-23 15:37:10,475 ERROR ERROR: null value in column "begin" violates not-null constraint org.mmbase.bridge.BridgeException: ERROR: null value in column "begin" violates not-null constraint         at org.mmbase.bridge.remote.implementation.RemoteNode_Impl.commit(RemoteNode_Impl.java:549)         at nl.omroep.radio1.OpenMediaImporter.synchronizeRundowns(OpenMediaImporter.java:50) Which is very much more helpful. I think it is an issue that you need a class like pg.jar on the client.

Activity

People

Dates

  • Created:
    2005-05-23 15:46
    Updated:
    2007-02-16 21:22