The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 10:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 10:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Attachments: java.lang.NullPointerException

Highlighted
rodrogawab.com
Super Collector

Attachments: java.lang.NullPointerException

Hi,

When attach a file in a SERVICE CALL and push "Save and close" a POPUP opens with the following message : "java.lang.NullPointerException" and i can´t save de SERVICE CALL.

Thank´s in advance.

4 REPLIES
George M. Meneg
Honored Contributor

Re: Attachments: java.lang.NullPointerException

Hello,

Is the server defined on System Panel\Attachment Settings available?

Open a command prompt and try to ftp to the server defined there. If this doesn't work you won't be able to have attachments.
menes fhtagn
rodrogawab.com
Super Collector

Re: Attachments: java.lang.NullPointerException

Hi,

The Ftp server is runnig an works ok.

"C:\ftp 128.1.xx.xx
Conectado a 128.1.xx.xx.
220 Microsoft FTP Service
Usuario (128.1.xx.xx:(none)): servicedesk
331 Password required for servicedesk.
Contraseña:
230 User servicedesk logged in.
ftp> quit
221

C:\Documents and Settings\Administrador>"

Thanks
rodrogawab.com
Super Collector

Re: Attachments: java.lang.NullPointerException

Hello,

When uncheck the option "Pasive Ftp" in Administrator console\attachment settings the error change from "java.lang.NullPointerException" to "Socket write failed" and don´t attachs the file and it takes several time before opens the popup with the error.(see file attachmented).

I´m ussing W2003, oracle 10g r2, Hpov service desk SP20, java 1.4.2.12, IIS(as ftp server).......
rodrogawab.com
Super Collector

Re: Attachments: java.lang.NullPointerException

The solution for this problem was put "/" in the destination folder in attachment setup.

Thanks.
//Add this to "OnDomLoad" event