java.lang.NullPointerException

28 Dec '13, 04:51 PM
45,384 Views
No Forum Badges

Hola, y muy Buenos dias.

Necesito ayuda con lo siguiente:

al usar la unit de paypal incluso con el proyecto que biene de ejemplo no se puede
realizar mas de dos o tres compras por que de inmediato sale el siguiente mensaje,
en el html:

An error occurred

java.lang.NullPointerException

 

y en el codigo:


<body>
<h2>An error occurred</h2>
<h3>java.lang.NullPointerException</h3>



<!--
java.lang.NullPointerException
	at org.apache.catalina.connector.Request.setAttribute(Request.java:1469)
	at org.apache.catalina.connector.RequestFacade.setAttribute(RequestFacade.java:503)
	at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:284)
	at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:284)
	at com.webratio.struts.actions.AbstractWRAction.handleReachingFinalPage(AbstractWRAction.java:691)
	at com.webratio.struts.actions.PageAction.doExecute(PageAction.java:181)
	at com.webratio.struts.actions.PageAction.execute(PageAction.java:76)
	at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
	at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	at com.webratio.struts.servlets.WRActionServlet.process(WRActionServlet.java:135)
	at com.webratio.struts.servlets.WRActionServlet.doGet(WRActionServlet.java:109)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
	at com.webratio.struts.chain.commands.PerformForward2.handleAsForward(PerformForward2.java:101)
	at com.webratio.struts.chain.commands.PerformForward2.perform(PerformForward2.java:83)
	at org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	at com.webratio.struts.servlets.WRActionServlet.process(WRActionServlet.java:135)
	at com.webratio.struts.servlets.WRActionServlet.doGet(WRActionServlet.java:109)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.webratio.struts.filters.StaticResourceFilter.doFilter(StaticResourceFilter.java:78)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:744)

-->
</body>





He tratado de muchas maneras de ver cual es el error... pense que era algun problema
en el modelo web, el cual he cambiado una infinidad de veces y nada siempre me sale 
lo mismo.. inclusive utilizando el que biene de muestra con la unit..

Si coloco la unit con "prepare" y luego la unit con "pay" en la misma area me envia 
el error de que el token ya esta usado en una transsaccion anterior y me envia 
el codigo del error.

Si coloco la unit con "prepare" en un area y luego la unit con "pay" en otra area me sale el mensaje 
indicado mas arriba pero al precionar F5 se puede continuar.. pero, obviamente eso no esta bien.



se puede solucionar esto Para poder implementar correctamente una store con webratio?


De antemano gracias por su respuesta.

 

 
x 1
Follow
Answer Answer at this question and get points!
Forum Expert - Level 8

Hi everybody,

I'm sorry for the problem you encountered with the Pay Pal component.

We are currently working on a new version of the component which fixes several problems.

As far as the new version will be released on the WebRatio Store I will contact you.

 

Bests

 
x 2
Forum Expert - Level 5

Efectivamente lo acabo también de comprobar y no está operativo, te aconsejo que dentro de la web store de webratio, reportes el incidente para que sea resuelto, por lo desarrolladores de origen.

Slds

 

 

 
x 1
No Forum Badges

Hola, tranquilos no contesten todos a la vez...

Churos... que lastima, confirmado..  no se puede realizar ni siquera una sola compra .. al regresar de paypal..  al parecer hay un objeto que no se inicia... y se crea la exepcion.. 

 

java.lang.NullPointerException

 

Que lastima, pero parece que no se puede implementar una tienda con webratio... y con lo que me gustaba.!!

 

 
x 0
No Forum Badges

Gracias, por su respuesta.  Lo habia olvidado...  voy a reportarlo..

 
x 0
Forum Expert - Level 5

Hola,

support@webratio.com siempre responde, al ser tema de la store lo responden pronto.

Slds!

 
x 0
No Forum Badges

Hi every body,

I'm new in webratio,so i want to create new project with it,but when i run my project ,this error was display...notice that my project is very simple! just has a index unit and detailes notation and my database is empty

thanks every body.


 

 
x 0
No Forum Badges

¿Se pueden hacer pagos en moneda Mexicana?

 
x 0
No Forum Badges

Me esta generando un error relacionado al tratar de sincronizar un proyecto bpmn a un proyecto web.

 

java.lang.NullPointerException

at com.webratio.bpm.core.BPMHelper.resolveBPMReferences(BPMHelper.java:323)

at com.webratio.bpm.core.BPMHelper.resolveBPMReferences(BPMHelper.java:310)

at com.webratio.bpm.ui.transform.Context.loadBPMProjects(Context.java:207)

at com.webratio.bpm.ui.transform.BPMToWebMLSynchronizer.computeDifferences(BPMToWebMLSynchronizer.java:86)

at com.webratio.bpm.ui.transform.wizards.SynchronizePage$14.run(SynchronizePage.java:610)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121

 
x 0
Answer at this question and get points!

Related questions

404 on generated app page 500 error with WebRatio BPM 502 proxy error-generate and run Access wsdl in https Admin area disabled aggiornamento fallito a causa di un errore interno Ajax and FCK Editor (WebRatio 5.x) AJAX events problem to external JavaScript Ajax onchange and jQuery 2.x (with migrate plugin) incompatible Any sample deployment Ayuda Simple List Component Layout personalizado Button to go on another page Can not get generate and run option for DataService Project Cannot invoke method putAll() on null object Cannot invoke method selectSingleNode() on null object Can't generate and run database or start tomcat server! Can't run any aplication CelsiusToFahrenheit Example Code is exceeding the 65535 bytes limit error on JBOSS Compare with the current time Component computation com.webratio.rtx.RTXException: An error occurred dispatching the SOAP message com.webratio.struts.exceptions.WRSecurityException: Invalid request target host Connection refused. Could not create service Criptare dati sensibili nel database CSV Component with utf8 encoding Custom components Custom descriptors Custom Plug-in Custom Time Unit Custom Unit and AJAX / SOAP Custom Unit: Difficult example in Guide ... any suggestions? Database connection, Host and Port number Data flow from a page which is not visible anymore DB in Data Service Project Debug configuration Description: Unknown tag 'wr:LinkResource' Dynamic link labelling for Custom Unit Encoding Confirm Dialog error activating student account Error deploying WAR against to JBOSS Error updating metadata process Error when updating to WR 7.2.3 Exception REST Post request Exposing SOAP Web SERVICE on port different from 80 file analysis then update MySQL database Filtros Caracteres Especiales Find Model Problemas Format currency From BPM to WebProject - BUILD FAILED Generation errors on ajax enabled page with many components, ajax links and selective refresh "Generation Error" with Generate and Run Generation options problem Getting started with Web Services Google Map Unit Groovy script numer after an error Guardar Saltos de LINEA HelloWorld Unit sample code Help with math unit. Debug mode says error as result code Hierarchy component How can I add a credit card payment gateway or integrate paypal in my web app logic? How can I invoke a Rest Web Service having dynamic parameters? how can i open a pdf file using download dialog How complex can Custom Unit output be? How to change smtp port how to delete this error? How to get a wr:AjaxURL tag working How to run the example from Custom Unit Guide? i can't install mobile version on windows I can't install Webratio on my Desktop (Ubuntu 13.04 x64) I can't run any application with WebRatio (Table/View 'APP.POST' does not exist) Installation with java 1.8 Installazione Macosx invio mail fallito invoking a webservice using REST Is there any custom unit store or repository? Do you create/sell custom units? java virtual machine error Job not start correctly JSP/DO issues on Tomcat 5.5 (Ubuntu) Login Error mandatory control code parameter is missing Mensaje: the selection cannot be launched and there are no recent launches Missing plugin emulation support error Missing units when importing project More Custom Unit questions: example of Content and Operation Unit? Multi Selects didn't work in update page Need help with Landmark Next Activity Note property - Error synchronizing with web project No access to protected site view with Login No Apache Derby driver found No cloud accounts available No database on my cloud account Overlays for Google Map Unit. Page Home - First time the Project Web begins Parameters order in a webservice request Personalizzazione del login component Problema al generar y ejecutar proyecto Problema generando la logica de un proyecto Problema generazione codice Problema Grafo da una lista gerarchica Problema ¨HTTP Status 404" Problema Invocation Unit Problemas al invocar webservice Problemas con el Operations View Delete Problem: Compile Failed problemi installazione su Mac sistema operativo OSX El Capitan problem on first deploy with webratio Problems to connect Sql Server DB from Webratio Problems with Custom components: Can't get values from output parameters on ok flow. Problem syncing reports Problem to run an Application Problem with application runnung Problem with execution of webratio Problem with ireport Problem with the deletion of more than 50.000 records in a table Project cannot be opened with WebRatio Community Platform Properties of the XSD Resource (File) Publish a web service publish web service for storing information in PostgreSQL DB following XSD Resource "Run Now" on a job scheduled to run later Sample web application Selezione sul giorno "Events Planning" Showing items that have a relation with an entity Solve "Generation Error" with Generate and Run option Status ProcessInstance and activityInstance in spanish Stored procedure component Student reserved area, download error Sync DataService Project with Mobile Project Table 'freeapp43.profesion' doesn't exist Tomcat external session store and WebRatio webapp. Twitter Unit - Get Geo location of twitt "Unable to close sub-context ..." Unable to compute the controller URL(s) for applicationUnable to compute the controller URL(s) for application having status PROVISIONING Unable to connect to Internet Unable to execute the script java.lang.NullPointerException Unable to find Cloud free function Unable to get ExpenseReport example work in WebRation Personl 7.2.2 Unable to instantiate a new application instance Unable to update the web project Unspecified BPM Engine Database Updating attributes of an entity Usage of the Gantt Unit User Login Timestamp usuarios y grupos ¿Visor de imágenes y reproductor de video para la versión 7.2? Image viewer and video player for version 7.2? Webratio Add-ons no permite login Web Ratio Add-ons shop not working WebRatio and MySQL Webratio don't recognize JSON library WEBRATIO LINUX AT EXECUTION TIME Web Ratio Mobile plateform Macos Sierra WebRatio Mobile Platform Community edition - Restful request Web Ratio Mobile - Remote data mapping problem WebRatio Platform 7.2 Community Cloud Edition WebService DateTime value is not parsed to Date. Web service provider newline problem web service request using XSD Web service - Synchronize XSD When execute my web application I have this error: returned a null bean When stars web ratio between dofollow and nofollow backlink has affected? When using web services, what kind authentication is used? which of these three models is closer to webratio/ifml way of creating web applications XML Out Unit and Soap Request Response Unit XML Schema Definition Support XML Schema Definition Support XPCOM Error