473,322 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Getting NULL POINTER EXCEPTION when JHTML Page is included in ATG 7.1.

1
I was testing some concepts and I came across following scenarios where include file does not seem working. Is the test code issue or some ATG setting issue?
Though DSP jsp include works but jhtml include file does not seem working.

----foyer.jhtml------------------
<html>
<head>
<title>foyer</title>
</head>

<body bgcolor="#ffffff">
<h1>foyer</h1>
<droplet src="header.jhtml">

</droplet>
</body>
</html>

-----header.jhtml-------------
<h1>header</h1>
<h1>The header of your page</h1>


===========

--- javax.servlet.ServletException
at atg.servlet.container.WebApplication.dispatchServl etException(WebApplication.java:1072)
at atg.servlet.container.WebApplication.dispatchReque st(WebApplication.java:831)
at atg.servlet.container.WebApplication.dispatchReque st(WebApplication.java:626)
at atg.servlet.pipeline.WebApplicationDispatcherPipel ineServlet.service(WebApplicationDispatcherPipelin eServlet.j
at atg.servlet.pipeline.PipelineableServletImpl.passR equest(PipelineableServletImpl.java:116)
at atg.servlet.security.ThreadUserBinderServlet.servi ce(ThreadUserBinderServlet.java:91)
at atg.servlet.pipeline.PipelineableServletImpl.passR equest(PipelineableServletImpl.java:116)
at atg.servlet.security.FormLoginPipelineServlet.serv ice(FormLoginPipelineServlet.java:159)
at atg.servlet.pipeline.PipelineableServletImpl.passR equest(PipelineableServletImpl.java:116)
....stack trace CROPPED after 10 lines.
Caused by :java.lang.NullPointerException
at _atg_3._jspbuild._foyer._jspService(_foyer.java:84 )
at atg.servlet.jsp.DynamoJspPageServlet._jspService(D ynamoJspPageServlet.java:130)
at atg.servlet.jsp.DynamoJspPageServlet._jspService(D ynamoJspPageServlet.java:94)
at atg.servlet.jsp.DynamoJspPageServlet.service(Dynam oJspPageServlet.java:180)
at atg.servlet.container.WebApplication.dispatchServl et(WebApplication.java:1350)
at atg.servlet.pagecompile.PageCompileServlet.service (PageCompileServlet.java:471)
at atg.servlet.DynamoServlet.service(DynamoServlet.ja va:123)
at atg.servlet.pipeline.PipelineableServletImpl.passR equest(PipelineableServletImpl.java:119)
at atg.droplet.DropletEventServlet.service(DropletEve ntServlet.java:465)
....stack trace CROPPED after 10 lines.



The line 84 in _foyer.java [compiled jhtml page ]:
======================
pageCompile.getMimeTyper().getMimeType("header.jht ml").equals("text/plain"))){
======================
Oct 7 '07 #1
0 1120

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: jennifer johnson | last post by:
Hello All, I appreciate anyone's assistance. I wanted to validate user customizable field values so I changed my JSP page so that the form action would post existing form - action=<%=...
6
by: vasu devan via DotNetMonster.com | last post by:
Hi, I am two config section with same config section handler like follow. <section name="Myformatters" type="MyFramework.Configuration.FileHandlers.MyConfigFileHandler, MyFramework"/> <section...
1
by: Mark | last post by:
Hi, I'm writing user controls with custom events. I have a parent custom event that exposes some abstract methods and some custom events. I have also created some new user controls that...
5
by: Tony Cheng | last post by:
for (int i=0; i<_request.Form.Count; i++ ) { string key = _request.Form.GetKey(i); if ( !key.Equals("formCode") && !key.Equals("formLanguage") && !key.Equals("__VIEWSTATE") &&...
6
by: dev24 | last post by:
Hi all, I am writing a simple method which when entered with an Int parameter performs an sql query, creates a result set, uses that resultset to get values from the object created by another...
1
by: MRamaLakshmi | last post by:
hi, I am developing an application using Java Applet which will be uploading files. Its throwing Null Pointer exception while detecting the proxy when we are trying to load the applet using Java6....
2
by: true blue | last post by:
hey ppl plz can any one help me with this code im gettin a null pointer exception when i use graphics class object (g.drawString)in action performed functio eventhough i hava declared the object...
1
by: Merdith | last post by:
String x=""; Vector From = (Vector)session.getAttribute("DATESFROM"); int isize = From.size(); Vector To = (Vector)session.getAttribute("DATESTO"); int isize2 = To.size();...
5
by: iamdennisthomas | last post by:
Hi Guys i was developing a action servlet which is actulally getting the data from a form and putting it in the db but while executing i am getting a null pointer exception /* * Generated by...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.