NullPointerException

2 views
Skip to first unread message

Roman

unread,
Jun 21, 2010, 2:42:21 PM6/21/10
to jira-extended-webservice
In short, I get NPE on invoking any methods like login. Unfortunately
without a stack trace, so I have no clue what's going on.

Here are the summary of the steps I did. The objective was to add the
extended-webservice to my old JIRA 3.12 setup.

0. I downloaded the latest jar and dropped it into jira folder.
1. Restarted jira, but it couldn't load the plugin due to missing
SearchService class.
2. I digged around the source and commented out all the references to
that class since it wasn't really used as far as I could tell.
3. Installed JDK, maven, etc. Built a new jar.
4. Dropped it again in jira folder and this time jira picked it up and
I could get the wsdl listing.
5.Generated a C# class using VS 2010's wsdl utility and imported to my
project.
6. Tried to call the login method but got an NPE exception.
7. Got stuck.

Any ideas on how to get JIRA to log exceptions, or where else should I
look? My C# project is using the original SOAP plugin and it works, so
the problem has to relate to the new one.

Thanks a lot,
Roman

Ath

unread,
Jun 22, 2010, 4:47:31 PM6/22/10
to jira-extended-webservice

AFAIK, it is not going to work on 3.12, but 4.0+ only. Don't have the
resources nor time nor the interest to back-port or even test.

Why not upgrade? 4.x has a lot of nice goodies :-)

Roman

unread,
Jun 22, 2010, 4:52:05 PM6/22/10
to jira-extende...@googlegroups.com
4 grand is good enough reason. All I'm asking is there a way to get some stack trace out of JIRA?

Best regards,
Roman Royter


--
You received this message because you are subscribed to the Google Groups "jira-extended-webservice" group.
To post to this group, send email to jira-extende...@googlegroups.com.
To unsubscribe from this group, send email to jira-extended-webs...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jira-extended-webservice?hl=en.


Ath

unread,
Jun 23, 2010, 3:48:49 AM6/23/10
to jira-extended-webservice
You should normally get a proper stacktrace/errormessage from the
exception in your C# project, at least, that's what I'm getting here
from my connector (written in C#, VS2008) as soon as I'm sending/doing
something wrong ;) Usually it's pretty descriptive, telling me what it
had expected me to provide.
I'd advise you to set up a 4.1.1/4.2 testing environment (mine is on
Ubuntu in a VMware Workstation environment, using a development key
from our Enterprise license)

On Jun 22, 10:52 pm, Roman <noobsaib...@gmail.com> wrote:
> 4 grand is good enough reason. All I'm asking is there a way to get some
> stack trace out of JIRA?
>
> Best regards,
> Roman Royter
>
> > jira-extended-webs...@googlegroups.com<jira-extended-webservice%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages