# 5.3.10 : http call errors

**URL:** <https://dev.lucee.org/t/5-3-10-http-call-errors/12281>\
**Category:** support\
**Created:** [March 6, 2023, 10:49am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281 "2023-03-06T10:49:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![thefalken](https://dev.lucee.org/user_avatar/dev.lucee.org/thefalken/32/57_2.png) [@thefalken](https://dev.lucee.org/u/thefalken)\
**Post date:** [March 6, 2023, 10:49am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/1 "2023-03-06T10:49:32Z")

</div>

We’re in the process of testing our Docker images (all based on lucee/lucee:5.3.10.120-nginx) and have hit a snag where

```auto
req = createObject('http');
...
req.send()

```

errors with

```auto
StackTrace string lucee.runtime.exp.NativeException: java.lang.NullPointerException
	at lucee.commons.io.res.ResourcesImpl.getResource(ResourcesImpl.java:163)
	at lucee.runtime.config.ConfigImpl.getResource(ConfigImpl.java:2300)
	at lucee.runtime.functions.system.CallStackGet.abs(CallStackGet.java:174)
	at lucee.runtime.functions.system.CallStackGet._getTagContext(CallStackGet.java:159)
	at lucee.runtime.functions.system.CallStackGet.call(CallStackGet.java:56)
	at lucee.runtime.functions.system.CallStackGet.call(CallStackGet.java:69)
	at lucee.runtime.functions.system.CallStackGet.call(CallStackGet.java:61)
	at lucee.runtime.tag.Http.logHttpRequest(Http.java:1644)
	at lucee.runtime.tag.Http._doEndTag(Http.java:1339)
	at lucee.runtime.tag.Http.doEndTag(Http.java:696)
	at org.lucee.cfml.helperbase_cfc$cf$g.udfCall1(/org/lucee/cfml/HelperBase.cfc:143)
	at org.lucee.cfml.helperbase_cfc$cf$g.udfCall(/org/lucee/cfml/HelperBase.cfc)

```

I am fairly sure this must be a setting or file missing from this particular application, as the code runs fine in less modified containers.

Anyone have any ideas what the missing part might be ?

---

<div class="post-metadata">

**Author:** ![thefalken](https://dev.lucee.org/user_avatar/dev.lucee.org/thefalken/32/57_2.png) [@thefalken](https://dev.lucee.org/u/thefalken)\
**Post date:** [March 6, 2023, 11:28am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/2 "2023-03-06T11:28:41Z")

</div>

Disabling the trace log with

```auto
sed -i 's!<logger appender="resource" appender-arguments="path:{lucee-config}/logs/trace.log" layout="classic" name="trace"/>!!' /opt/lucee/server/lucee-server/context/lucee-server.xml

```

seems to fix this.

Is this log file new since earlier 5.3/5.2 ?

---

<div class="post-metadata">

**Author:** ![cfmitrah](https://dev.lucee.org/user_avatar/dev.lucee.org/cfmitrah/32/140_2.png) [@cfmitrah](https://dev.lucee.org/u/cfmitrah)\
**Post date:** [March 9, 2023, 10:18am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/3 "2023-03-09T10:18:42Z")

</div>

@thefalken I checked this issue with the lucee version 5.3.10.x and didn’t able to replicate the issue. I think this NullPointerException on CallStackGet().abs() was seems to be fixed in lucee 6

> <https://github.com/lucee/Lucee/commit/a4bfc0b4e387a211b6a058666577f64d5abb8867>

---

<div class="post-metadata">

**Author:** ![cfmitrah](https://dev.lucee.org/user_avatar/dev.lucee.org/cfmitrah/32/140_2.png) [@cfmitrah](https://dev.lucee.org/u/cfmitrah)\
**Post date:** [March 10, 2023, 7:11am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/4 "2023-03-10T07:11:04Z")

</div>

@thefalken I’ve created a **[ticket](https://luceeserver.atlassian.net/browse/LDEV-4416)** for this issue and added a PR for lucee 5.3.

---

<div class="post-metadata">

**Author:** ![thefalken](https://dev.lucee.org/user_avatar/dev.lucee.org/thefalken/32/57_2.png) [@thefalken](https://dev.lucee.org/u/thefalken)\
**Post date:** [March 10, 2023, 7:43am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/5 "2023-03-10T07:43:09Z")

</div>

Thanks !

We actually make a lot of internal HTTP calls to an air gapped API in a few of our products, and would be worried about any performance impact, or what information was in those logs, when writing details of each to a log, so will probably keep it off anyway.

It’s probably a different point if trace level logs should be logged anywhere, by default… feels like it would be _a lot_ ?

---

<div class="post-metadata">

**Author:** ![Terry\_Whitney](https://dev.lucee.org/user_avatar/dev.lucee.org/terry_whitney/32/3322_2.png) [@Terry\_Whitney](https://dev.lucee.org/u/Terry_Whitney)\
**Post date:** [March 10, 2023, 11:48am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/6 "2023-03-10T11:48:59Z")

</div>

There is also a project called CF\_curl, which is coldfusions implementation of the curl binary. Curl is very much like a headless browser.

> **[GitHub - iGLOO-be/cf-curl: cURL in coldfusion](https://github.com/iGLOO-be/cf-curl)**
>
> cURL in coldfusion. Contribute to iGLOO-be/cf-curl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![thefalken](https://dev.lucee.org/user_avatar/dev.lucee.org/thefalken/32/57_2.png) [@thefalken](https://dev.lucee.org/u/thefalken)\
**Post date:** [March 15, 2023, 9:51am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/7 "2023-03-15T09:51:20Z")

</div>

Doesn’t really fit our use case to use a limited wrapper around the standard curl binary 🙂

---

<div class="post-metadata">

**Author:** ![cfmitrah](https://dev.lucee.org/user_avatar/dev.lucee.org/cfmitrah/32/140_2.png) [@cfmitrah](https://dev.lucee.org/u/cfmitrah)\
**Post date:** [April 5, 2023, 10:44am UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/8 "2023-04-05T10:44:59Z")

</div>

@thefalken Now the **NullPointerException on CallStackGet().abs()** issue is fixed in lucee versions 5.3.10.131-SNAPSHOT & 5.4.0.43-SNAPSHOT. So please check the issue in this version and let us know

---

<div class="post-metadata">

**Author:** ![cfmitrah](https://dev.lucee.org/user_avatar/dev.lucee.org/cfmitrah/32/140_2.png) [@cfmitrah](https://dev.lucee.org/u/cfmitrah)\
**Post date:** [April 28, 2023, 1:40pm UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/9 "2023-04-28T13:40:30Z")

</div>

@thefalken Any update on this issue? and do you please check on this issue with lucee fixed version and update here? It helpful to improve the status of this issue

---

<div class="post-metadata">

**Author:** ![thefalken](https://dev.lucee.org/user_avatar/dev.lucee.org/thefalken/32/57_2.png) [@thefalken](https://dev.lucee.org/u/thefalken)\
**Post date:** [April 28, 2023, 2:17pm UTC](https://dev.lucee.org/t/5-3-10-http-call-errors/12281/10 "2023-04-28T14:17:52Z")

</div>

I need to undo the fix we put in and redeploy to our shared dev cluster; sorry it’s taking a while.

Tom

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit [http://www.symanteccloud.com](http://www.symanteccloud.com) \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
