shikaixuan1987 / swagswap

Automatically exported from code.google.com/p/swagswap
0 stars 0 forks source link

I'm already logged in, but still getting #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to my swag
2. Upload a file
3. Click save ->> Crash

What is the expected output? What do you see instead?
I want my image on there, now it just crashes saying I need a google account 
while I'm still 
logged on (otherwise would not be able to post this :) )

What version of the product are you using? On what operating system?
Safari on mac

Please provide any additional information below.

Error

Please report this issue (requires a google account)

** Root cause is: null java.lang.NullPointerException at 
com.swagswap.domain.SwagSwapUser.getSwagItemRating(SwagSwapUser.java:70) at 
com.swagswap.web.jsf.bean.UserBean.getUserRatingForItem(UserBean.java:84) at 
com.swagswap.web.jsf.bean.ActionBean.populateSwagItem(ActionBean.java:115) 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(Method.java:40) at 
com.sun.el.parser.AstValue.invoke(AstValue.java:187) at 
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at 
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:98
) at 
com.sun.faces.facelets.tag.jsf.core.DeclarativeSystemEventListener.processEvent(
EventHandler.jav
a:112) at 
javax.faces.component.UIComponent$ComponentSystemEventListenerAdapter.processEve
nt(UICo
mponent.java:2342) at 
javax.faces.event.SystemEvent.processListener(SystemEvent.java:102) at 
com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:
1993) at 
com.sun.faces.application.ApplicationImpl.invokeComponentListenersFor(Applicatio
nImpl.java:19
41) at 
com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:285)
 at 
com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:243)
 at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:114
) at 
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:311) at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1093) at 
com.swagswap.web.jsf.servlet.SwagServletFilter.doFilter(SwagServletFilter.java:6
2) at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084) at 
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter
.java:35) at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084) at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Transactio
nCleanupFilter.ja
va:43) at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084) at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandle
rMap.java
:238) at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at 
org.mortbay.jetty.Server.handle(Server.java:313) at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:830) at 
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestPa
rser.java:76
) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(Jet
tyServletEngine
Adapter.java:139) at 
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:239) 
at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(R
untimeP
b.java:5135) at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(R
untimeP
b.java:5133) at 
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplica
tionHandler.j
ava:24) at 
com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:363) at 
com.google.net.rpc.impl.Server$2.run(Server.java:814) at 

Original issue reported on code.google.com by GinaDeBe...@gmail.com on 17 Nov 2009 at 2:47

GoogleCodeExporter commented 9 years ago

Original comment by SamBrod...@gmail.com on 17 Nov 2009 at 3:15

GoogleCodeExporter commented 9 years ago

Original comment by SamBrod...@gmail.com on 17 Nov 2009 at 3:57