Hi Richard,

 

Thank you for the reply. The null pointer error I'm seeing is:

 

14:38:16 ERROR log                  :: Failed startup of context
org.mortbay.jet

ty.webapp.WebAppContext@1d33a6b{,webapp}

de.fuberlin.wiwiss.d2rq.D2RQException: Unsupported database type code
(1111) for

 column START_DATE (E0)

        at
de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.columnType(ConnectedDB.java:3

46)

        at
de.fuberlin.wiwiss.d2rq.map.Mapping$AttributeTypeValidator.validate(M

apping.java:173)

        at de.fuberlin.wiwiss.d2rq.map.Mapping.validate(Mapping.java:96)

        at de.fuberlin.wiwiss.d2rq.GraphD2RQ.<init>(GraphD2RQ.java:85)

        at de.fuberlin.wiwiss.d2rq.GraphD2RQ.<init>(GraphD2RQ.java:74)

        at de.fuberlin.wiwiss.d2rq.ModelD2RQ.<init>(ModelD2RQ.java:61)

        at
de.fuberlin.wiwiss.d2rs.AutoReloadableDataset.initD2RQDatasetGraph(Au

toReloadableDataset.java:80)

        at
de.fuberlin.wiwiss.d2rs.AutoReloadableDataset.forceReload(AutoReloada

bleDataset.java:54)

        at de.fuberlin.wiwiss.d2rs.D2RServer.start(D2RServer.java:225)

        at
MolgenisCompatibleD2RWebappInitListener.contextInitialized(MolgenisCo

mpatibleD2RWebappInitListener.java:42)

        at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.

java:540)

        at
org.mortbay.jetty.servlet.Context.startContext(Context.java:135)

        at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav

a:1220)

        at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:

510)

        at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448

)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:

39)

        at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:

130)

        at org.mortbay.jetty.Server.doStart(Server.java:222)

        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:

39)

        at
de.fuberlin.wiwiss.d2rs.JettyLauncher.start(JettyLauncher.java:64)

        at d2r.server.startServer(server.java:86)

        at d2r.server.main(server.java:57)

14:38:16 INFO  log                  :: Started
[email protected]:2020

Exception in thread "main" java.lang.NullPointerException

        at
de.fuberlin.wiwiss.d2rs.JettyLauncher.start(JettyLauncher.java:68)

        at d2r.server.startServer(server.java:86)

        at d2r.server.main(server.java:57)

 

I have currently left the column out of the mapping but long term I'd
prefer not to do this. I have also tried the d2rq:sqlExpression using an
SQL CAST to convert it to a DATE but this still returns the error above.

 

Thanks,

 

James. 
 
--------------------------------------------------------

UCB Celltech is the UK branch of UCB Pharma S.A., a company registered in 
Belgium with registered offices at Allee de la Recherche 60, 1070 Brussels, 
Belgium, KBO/BCE nr. 0403.096.168, RPR/RPM Brussels. 
UCB Celltech's UK branch registration number is BR009137 and its UK 
representative office is at 208 Bath Road, Slough, Berkshire SL1 3WE.
--------------------------------------------------------

Legal Notice: This electronic mail and its attachments are intended solely for 
the person(s) to whom they are addressed and contain information which is 
confidential or otherwise protected from disclosure, except for the purpose for 
which they are intended. Dissemination, distribution, or reproduction by anyone 
other than the intended recipients is prohibited and may be illegal. If you are 
not an intended recipient, please immediately inform the sender and return the 
electronic mail and its attachments and destroy any copies which may be in your 
possession. UCB screens electronic mails for viruses but does not warrant that 
this electronic mail is free of any viruses. UCB accepts no liability for any 
damage caused by any virus transmitted by this electronic mail. (Ref: #*CUK0308)
--------------------------------------------------------
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to