otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


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

OTM SIG
MavenWire


Branding, Screen Sets, XSL/CSS and Translations Customizing and Branding the UI of OTM / G-Log for your site, using Custom Screen Sets, Menu Managers, XSL/CSS customizations, Translations and more.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 13th, 2007, 14:36
Member
 
Join Date: May 2007
Location: India
Posts: 59
Thanks: 1
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
sknmail@rediffmail.com is on a distinguished road
Send a message via Yahoo to sknmail@rediffmail.com
java.lang.nullpointerexception

Hi Everybody,

We have an OTM setup (migrated from v5.0 to v5.5 and newly installed with CU3 installer). On these systems these are the issue which we have encountered -

- From default Order Release menu link, if we select a record and click on "Set Appointment" action, throws java.lang.NullPointer excepton.
The Error Stacktrace mention as below -

<stack_trace>java.lang.NullPointerException
java.lang.NullPointerException at glog.webserver.managerlayout.WritePresentationToFi le.escapeGidForFile(WritePresentationToFile.java:6 23)
at glog.webserver.custscreens.CustScreenUtil.formatJs pPath(CustScreenUtil.java:294)
at glog.webserver.custscreens.CustScreenUtil.getStyle SheetEditString(CustScreenUtil.java:147)
at glog.webserver.custscreens.CustScreenManagementSer vlet.getStyleSheetEditString(CustScreenManagementS ervlet.java:231)

Here now since you see the CustScreen management functionality, we cross verified to the screenset to check if the Managerlayout are selected or not and found to be selected.

From the stacktrace can anybody give me an hint what could be the cause of this issue. I coluld have argued that in migration there is a chance of failure. However on a freshly installed OTM too has the same problem.

Regards,
Suresh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old September 14th, 2007, 13:01
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
satya_m is on a distinguished road
Re: java.lang.nullpointerexception

Hi Suresh,

I have checked this on CU2, it works fine. Not sure what the problem is in your case.

Has anyone checked this on CU3 ? Order Release -->Actions -->Utilities --> Set Appointment

Please let me know.

Thanks
Satya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old September 14th, 2007, 13:44
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 708
Blog Entries: 7
Thanks: 44
Thanked 154 Times in 89 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: java.lang.nullpointerexception

Satya and Suresh,

I've just verified this in a fresh install of OTM v5.5 CU3 and get the same NullPointerException:

Quote:
java.lang.NullPointerException

java.lang.NullPointerException
at glog.webserver.managerlayout.WritePresentationToFi le.escapeGidForFile(WritePresentationToFile.java:6 23)
at glog.webserver.custscreens.CustScreenUtil.formatJs pPath(CustScreenUtil.java:294)
at glog.webserver.custscreens.CustScreenUtil.getStyle SheetEditString(CustScreenUtil.java:147)
at glog.webserver.custscreens.CustScreenManagementSer vlet.getStyleSheetEditString(CustScreenManagementS ervlet.java:231)
at glog.webserver.util.AbstractManagementServlet.getD ocument(AbstractManagementServlet.java:509)
at glog.webserver.order.custscreen.OrderReleaseCustMa nagementServlet.getDocument(OrderReleaseCustManage mentServlet.java:24)
at glog.webserver.util.AbstractServletProducer.proces s(AbstractServletProducer.java:81)
at glog.webserver.util.BaseServlet.service(BaseServle t.java:614)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at glog.webserver.screenlayout.ClientSessionTracker.d oFilter(ClientSessionTracker.java:54)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at glog.webserver.util.SetCharacterEncodingFilter.doF ilter(SetCharacterEncodingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:17
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:14
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run()V(Unknown Source)
From the error, it appears that the code fails while trying to write out some presentation file, most likely to the $OTM_HOME/apache/htdocs/<some_path> directory on the OTM Web Server. I double-checked permissions, but they don't appear to be the issue.

I'd recommend opening an SR with Oracle on this issue. If you get a resolution, please post the results here.

Thanks,
Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old September 14th, 2007, 13:51
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
satya_m is on a distinguished road
Re: java.lang.nullpointerexception

Thanks a lot Chris. Your quick reply saved us from a lot of troubleshooting. .

Thanks once again.

Regards,
Satya.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
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
java.sql.SQLException: ORA-28115: policy with check option violation moshe Data Loading 7 October 4th, 2007 11:23
java.io.FileNotFoundException on Stylesheets acuartero Installation and Upgrades 2 August 29th, 2007 21:44
[SOLVED] Simple Order Screen showing java errors peacefuleye Installation and Upgrades 3 August 2nd, 2007 12:50
[SOLVED] Obtaining Thread Dumps from the OTM Java JVM Processes chrisplough SysAdmin and Management 0 June 13th, 2007 17:03
[SOLVED] RWServletProxy Exception: java.io.IOException when Running Reports chrisplough Reports / FTI and Other Analytics 2 May 8th, 2007 13:54



All times are GMT. The time now is 11:46.
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