[Hippo-cms7-user] issue with saveing new nodes

Ard Schrijvers a.schrijvers at onehippo.com
Thu Dec 16 14:05:45 CET 2010


Hello Roald,

are you calling save from a website (HST) point, right? Do you have
some code snippet as well? And tell us the version numbers.

Regards Ard

On Thu, Dec 16, 2010 at 1:54 PM, Roald Bankras <roald at bankras.net> wrote:
>
> Hi
>
> I receive an Nullpointerexception while calling Node.save();
> Any idea of the problem? I'm really staring blank at my screen.
>
> java.lang.NullPointerException
>        at
> org.apache.jackrabbit.core.value.InternalValue.toString(InternalValue.java:531)
>        at
> org.apache.jackrabbit.core.nodetype.StringConstraint.check(ValueConstraint.java:224)
>        at
> org.apache.jackrabbit.core.nodetype.EffectiveNodeType.checkSetPropertyValueConstraints(EffectiveNodeType.java:615)
>        at
> org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:491)
>        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1058)
>        at
> org.hippoecm.repository.decorating.ItemDecorator.save(ItemDecorator.java:144)
>        at org.hippoecm.repository.impl.NodeDecorator.save(NodeDecorator.java:84)
>        at
> org.hippoecm.repository.decorating.checked.ItemDecorator.save(ItemDecorator.java:173)
>        at org.apache.jackrabbit.rmi.server.ServerItem.save(ServerItem.java:78)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
>        at sun.rmi.transport.Transport$1.run(Transport.java:159)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
>        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
>        at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
>        at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
>        at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
>        at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
>        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>        at
> java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
>        at
> java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
>        at $Proxy12.save(Unknown Source)
>
>
> regards
> Roald
> --
> View this message in context: http://hippo.2275632.n2.nabble.com/issue-with-saveing-new-nodes-tp5841707p5841707.html
> Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>



-- 
Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • San Francisco 755 Baywood Drive, Second Floor •  Petaluma, CA.
94954 •  +1 877 414 4776 (toll free)
Canada    •   Montréal  5369 Boulevard St-Laurent #430 •  Montréal QC
H2T 1S5  •  +1 (514) 316 8966
www.onehippo.com  •  www.onehippo.org  •  info at onehippo.com
________________________________________________________________
This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations. Any distribution, use or
copying of this e-mail or the information it contains by other than an
intended recipient is unauthorized. If you received this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.



More information about the Hippo-cms7-user mailing list