otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Execution Employing the Tendering process in OTM / G-Log - including the setup of carrier domains, workflow parameters, regional tendering and contact groups.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 22nd, 2008, 16:35
Junior Member
 
Join Date: Mar 2008
Posts: 28
Thanks: 3
Thanked 1 Time in 1 Post
Groans: 1
Groaned at 0 Times in 0 Posts
Rep Power: 0
njoyotm is on a distinguished road
Creating invoice from backend

Hi ,

When I create an invoice by writting an insert statement to the invoice table, an invoice gets created successfully and the same could be viewed from the front end of otm.

But When I edit it and click the finished button, I get the following error.

java.lang.NullPointerException
java.lang.NullPointerException
at glog.server.workflow.status.invoice.FindIssuableBi lls.canPerform(FindIssuableBills.java:12
at glog.server.status.StatusPerformer.canPerform(Stat usPerformer.java:81)
at glog.server.status.Status.canPerform(Status.java:7 3)
at glog.ejb.invoice.db.InvoiceBeanDB.canPerform(Invoi ceBeanDB.java:1540)
at glog.ejb.invoice.InvoiceServerSideEJBWrapper.canPe rform(InvoiceServerSideEJBWrapper.java:4953)
at sun.reflect.GeneratedMethodAccessor124.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJ oinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)
at Invoice_EntityBeanWrapper502.canPerform(Invoice_En tityBeanWrapper502.java:2667)
at glog.server.query.invoice.AbstractInvoiceHandler.p ostModify(AbstractInvoiceHandler.java:194)
at glog.webserver.update.GenericContainerXMLUpdate.Page Ranking ocess(GenericContainerXMLUpdate.java:171)
at glog.server.xmlupdate.XMLUpdateSessionBean.updateA ndTrack(XMLUpdateSessionBean.java:244)
at glog.server.xmlupdate.XMLUpdateSessionServerSideEJ BWrapper.updateAndTrack(XMLUpdateSessionServerSide EJBWrapper.java:29
at sun.reflect.GeneratedMethodAccessor101.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJ oinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequi redInterceptor.invoke(TxRequiredInterceptor.java:5 0)
at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.Securit yRoleInterceptor.invoke(SecurityRoleInterceptor.ja va:47)
at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invo ke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject. OC4J_invokeMethod(StatelessSessionEJBObject.java:8 7)
at XMLUpdateSessionHome_RemoteProxy_6658h1d.updateAnd Track(Unknown Source)
at sun.reflect.GeneratedMethodAccessor137.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMetho dCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor $MyWorker.run(ReleasableResourcePooledExecutor.jav a:303)
at java.lang.Thread.run(Thread.java:534)


Can any one advise on this?

Regards,
njoyotm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old July 23rd, 2008, 15:11
Junior Member
 
Join Date: Mar 2008
Posts: 28
Thanks: 3
Thanked 1 Time in 1 Post
Groans: 1
Groaned at 0 Times in 0 Posts
Rep Power: 0
njoyotm is on a distinguished road
Re: Creating invoice from backend

Hi,
In the process of trying I found the way to insert data into invoice from backend without any issues.

We need to insert data into the following tables

1)Invoice
2)Invoice_Status
3)Invoice_summary

When the data is entered only in Invoice table and when you open the invoice in front end then the error appears.You'll not be able to restrict the error even if u make an entry in Invoice_Status and Invoice_Summary unless you restart the server.
If you insert data into Invoice,Invoice_Status,Invoice_summary in one go and then edit the invoice screen and finish it ,the invoice gets finished without any error.

Thus this is more of a cache related issue in the application layer.
Thats the reason it works after restart.

Regards,
njoyotm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to njoyotm For This Useful Post:
muthaharotm (September 4th, 2008)
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Shipments automatically by grouping order releases of single order base neoandr Order Processing 5 February 26th, 2008 09:57
Error creating user via CSVUtil karram2008 SysAdmin and Management 3 February 5th, 2008 04:52
Creating the Empty schema gokul Database Administration 1 December 28th, 2007 05:56
Error creating user new_otm Data Loading 3 August 7th, 2007 17:11
[SOLVED] Problem creating Japanese/Thai HTML Reports in OTM ianlo Reports / FTI and Other Analytics 0 April 26th, 2007 07:11



All times are GMT. The time now is 02:38.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37