| Application inaccessible, exception in application server log |
| Categories: Audium Call Services 3.4.x and 3.5 |
| Article ID: | 4 |
| Last updated: | December 10, 2008 |
| User Opinions |
0%
100%
(1 vote)
|
|
Thank you for rating this answer.
|
SUMMARY
An application started without an error, but when it is accessed, a java.lang.NullPointerException is thrown.
SYMPTOMS
When a deployed application is accessed (either by a caller or through a web browser), a java.lang.NullPointerException is recorded in the application server's logs.
RESOLUTION
This error occurs when the encoding of the application has been set to an invalid value.
Most applications do not need to override the default encoding value. Unless you are certain that your application needs to do this, then the problem can be solved by following these steps:
1. Open the application in Audium Studio. 2. Right-click on the application name in the Navigator pane. 3. Choose Properties. 4. Click on "Audium - General Settings". 5. Clear out the text field next to "Encoding:". 6. Save and deploy the application as usual.
Note that the "Language:" text field should also not be filled in, unless an application specifically requires it. While it will not result in this exception, it may cause other serious problems.
The only applications that normally need to modify these settings are applications that will be offering multi-lingual support. Note that the "Language:" and "Encoding:" settings directly correlate to the VoiceXML 2.0 "xml:lang" attribute and XML "encoding" attribute (respectively); only values that are considered valid per the related specifications should be used.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Attachments |
|
No attachments were found.
|