otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
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
Member
 
Join Date: Mar 2008
Posts: 36
Groans: 1
Groaned at 0 Times in 0 Posts
Thanks: 3
Thanked 1 Time in 1 Post
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.pr 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
Member
 
Join Date: Mar 2008
Posts: 36
Groans: 1
Groaned at 0 Times in 0 Posts
Thanks: 3
Thanked 1 Time in 1 Post
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

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
Error creating user via CSVUtil karram2008 SysAdmin and Management 9 July 7th, 2009 16:02
Error creating user new_otm Data Loading 4 January 14th, 2009 17:32
[SOLVED] Creating Shipment in Workspace anirban1982 Order Processing 0 October 29th, 2008 11:24
Creating prod OTM environment Scott T. Installation and Upgrades 5 October 15th, 2008 03:39
Creating the Empty schema gokul Database Administration 1 December 28th, 2007 05:56



All times are GMT. The time now is 23:00.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

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 38 39 40