Scalix API mailbox service

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

Scalix API mailbox service

Postby hindog » Thu Aug 09, 2007 1:41 pm

I am trying to play with the API services for Scalix. I did the following:

Code: Select all

http://mail.example.com/api/user@domain.com/mailbox


and I also tried:

Code: Select all

http://mail.example.com/api/user%40domain.com/mailbox


Both URLs are returning:

Code: Select all

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:472)
   com.scalix.api.PlatformDispatcherServlet.service(PlatformDispatcherServlet.java:73)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:133)
   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

root cause

java.lang.NullPointerException
   com.scalix.api.rest.MailboxServlet.doGet(MailboxServlet.java:76)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:174)
   org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:774)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:460)
   com.scalix.api.PlatformDispatcherServlet.service(PlatformDispatcherServlet.java:73)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:133)
   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

note


Am I missing something here?

Aaron

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Postby chris » Sat Aug 11, 2007 4:57 am

Is the API working at all? Can you call http://fqdn/userinfo?

Chris

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

Postby hindog » Sat Aug 11, 2007 5:53 am

yes, userinfo works

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Postby chris » Sat Aug 11, 2007 6:01 am

Are there any other errors in the tomcat logs? Which log did the above error come from?


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron