EclipSLEE 2.1.0.FINAL and Indigo SR2

332 views
Skip to first unread message

Mosiuoa Tsietsi

unread,
Sep 17, 2012, 11:35:02 AM9/17/12
to mobicent...@googlegroups.com
Hi,

I'm running Ubuntu 12.04 with OpenJDK7 and Eclipse Indigo SR2. When I try to use the EclipSLEE 2.1.0.FINAL I can create an SBB but when I try to create a service, I get the error message attached in the image. Any ideas?

Thanks!


Screenshot from 2012-09-17 17:33:40.png

Julian Andres Rojas Melendez

unread,
Sep 17, 2012, 11:42:05 AM9/17/12
to mobicent...@googlegroups.com
You must be connected to Internet and if you are under a proxy you must configure eclipse with the proxy address.



2012/9/17 Mosiuoa Tsietsi <mosi...@gmail.com>

Hi,

I'm running Ubuntu 12.04 with OpenJDK7 and Eclipse Indigo SR2. When I try to use the EclipSLEE 2.1.0.FINAL I can create an SBB but when I try to create a service, I get the error message attached in the image. Any ideas?

Thanks!





--
=====================================
Julián Andrés Rojas Meléndez
Electronic and Telecommunications Engineer
Master Student in Telematics Engineering
Telematics Engineering Group Researcher
TelComp 2.0 Development Engineer
University of Cauca
Popayán (Cauca) - Colombia
=====================================

Mosiuoa Tsietsi

unread,
Sep 17, 2012, 11:49:45 AM9/17/12
to mobicent...@googlegroups.com
Hi, Julian,

Sorry, I'm not using the update site, just dropping the eclipslee plugin jar file under /tools/ecliplsee directory inside the plugins directory of the eclipse installation.

Regards,
Mos

Julian Andres Rojas Melendez

unread,
Sep 17, 2012, 11:55:52 AM9/17/12
to mobicent...@googlegroups.com
Hi Mosiuoa,

I had exactly the same problem and it doesn't matter how did you install the plugin, when you try to create a service descriptor it access a DTD file on the Web which provide the skeleton of the XML descriptor so that is why yo must be online. At least that worked for me.

Regards,

Mosiuoa Tsietsi

unread,
Sep 17, 2012, 12:35:52 PM9/17/12
to mobicent...@googlegroups.com
Hi Julian, that doesn't seem to fix it for me. I will keep poking around, thanks.

Mos

Vilius Panevėžys

unread,
Sep 19, 2012, 1:44:45 PM9/19/12
to mobicent...@googlegroups.com
Hi Mosiuoa,
Julian was right that a request for DTD is made and I think this is why
service creation fails.

The NPE surprised me quite a bit as I was certain the same steps had
worked before. I think the service creation wizard fails due to not
being able to fetch the service.xml DTD, which is apparently because the
company currently maintaining the domain decided to make this particular
document unavailable. This might be an unfortunate technical issue as
well (DB failure? Just guessing...).

Anyway, that's what happens after clicking Finish in the service
creation wizard.

"""
GET /dtd/slee-service_1_1.dtd HTTP/1.1
User-Agent: Java/1.6.0_18
Host: java.sun.com
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

HTTP/1.0 301 Moved Permanently
Location: http://www.oracle.com/technetwork/java/index.html
Server: BigIP
Connection: close
Content-Length: 0
"""

This leaves me wondering what's the point to go out to the net seeking
for a DTD that's actually already bundled with EclipSLEE (as it
includes the complete JSLEE 1.1 FR API documentation, including
the DTDs). As the DTDs are part of the standard, this is not something
subject to change, so checking for "updates" doesn't make sense either.

I suspect the issue isn't as trivial as just using a local copy of a
DTD for generation of descriptors. For example, Eclipse should be able
to find the DTDs referenced in XMLs to do validation afterwards as well.
I don't have experience with Eclipse plug-ins to detail a solid
solution, but fetching the same resource every time doesn't seem
reasonable at all from a user's perspective.

The unnecessary online lookup not only poses the artificial requirement
for network connectivity, an overhead of fetching the same resource
many times, but also makes the tool unstable, i.e. dependent on
availability of resources on the net.


--
Vilius Panevėžys
Elitnet

Mosiuoa Tsietsi

unread,
Sep 19, 2012, 3:53:04 PM9/19/12
to mobicent...@googlegroups.com
Thanks Vilius for your analysis and insight. I have opened a bug report (issue #3253) for it. There are ways around it obviously as you know, so the service descriptors can be created manually, but it's a slightly off-putting. Fortunately, the other features can be used, so it's a manageable situation.

Mos

Jean Deruelle

unread,
Sep 19, 2012, 4:16:15 PM9/19/12
to mobicent...@googlegroups.com
Hi Mos,

Please create the issue in the new SLEE code repository at http://code.google.com/p/jain-slee/issues/entry

Thanks in advance
Jean

Vilius Panevėžys

unread,
Sep 21, 2012, 4:52:14 AM9/21/12
to mobicent...@googlegroups.com

On Wed, 19 Sep 2012 22:16:15 +0200
Jean Deruelle <jean.d...@gmail.com> wrote:

> Please create the issue in the new SLEE code repository

If the project split and migration to separate repositories is
complete, maybe it's possible to disable issue registration on the old
all-in-one project to not confuse reporters and avoid the risk of
missed issues.


--
Vilius Panevėžys
Elitnet

Jean Deruelle

unread,
Sep 21, 2012, 5:18:28 AM9/21/12
to mobicent...@googlegroups.com
Good point ! Thanks that is now effective, the Issues tabs is not present anymore. 
I also updated the homepage http://code.google.com/p/mobicents/ to reflect the split of projects with the link to each.

Jean

Mosiuoa Tsietsi

unread,
Sep 21, 2012, 8:38:13 AM9/21/12
to mobicent...@googlegroups.com
Thanks Jean, Issue #5 has now been created in association with this problem.

Mos

Jean Deruelle

unread,
Sep 21, 2012, 9:08:06 AM9/21/12
to mobicent...@googlegroups.com
Thx Mos !

Jean

Alexandre Mendonça

unread,
Sep 30, 2012, 7:26:53 PM9/30/12
to mobicent...@googlegroups.com
Thanks for reporting this and for the analysis. Turns out there was an error in the Entity Resolver, so the local DTD was not being used. Now, for some reason the DTD is not available anymore from http://java.sun.com/dtd/slee-service_1_1.dtd causing the NPE to happen.

It seems other DTDs are still present @ java.sun.com... not sure what happened to the service 1.1 one. Anyway, this is fixed in EclipSLEE and will be using the local copy.

Thanks & Regards,

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/

Mosiuoa Tsietsi

unread,
Oct 1, 2012, 2:33:03 AM10/1/12
to mobicent...@googlegroups.com
That's great, I have seen the issue updates and the fix. Thanks!

Alexandre Mendonça

unread,
Oct 3, 2012, 12:32:54 PM10/3/12
to mobicent...@googlegroups.com
Hi, 

You can find the latest snapshot where this issue is fixed in the nightly build update site. Follow the instructions in the documentation:

Regards,

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/



On Tue, Oct 2, 2012 at 4:15 AM, adiaksana <adia...@gmail.com> wrote:
Hi,

I am new to mobicents/jain slee world and facing this problem. How can I get and use the fix? should i wait for 2.8 release?

Please advice

Thanks and regards,

adiaksana

unread,
Oct 4, 2012, 4:05:51 AM10/4/12
to mobicent...@googlegroups.com
Hi,

I have updated EclipSLEE using the latest version as you suggested, but the NPE problem is still there. I did update EclipSLEE via Eclipse Indigo SR2/Windows 7/JDK 6  (via Help-> Install new software, and work with text field is pointing to http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/tools/eclipslee/user-guide/en-US/html/install.html#install_alternatives

 

NPE.jpg

 

Eclipse plugin has contained EclipSLEE update

plugin.jpg

By the way, using EclipSLEE is recommended ? I have read that mobicents components are mavenized, could somebody please suggest me good documentation/tutorial to start learning development ?

Thanks and regards,

Vilius Panevėžys

unread,
Oct 4, 2012, 4:17:57 AM10/4/12
to mobicent...@googlegroups.com

On Thu, 4 Oct 2012 01:05:51 -0700 (PDT)
adiaksana <adia...@gmail.com> wrote:

> Hi,
>
> I have updated EclipSLEE using the latest version as you suggested,
> but the NPE problem is still there. I did update EclipSLEE via
> Eclipse Indigo SR2/Windows 7/JDK 6 (via Help-> Install new software,
> and work with text field is pointing to
> http://docs.jboss.org/mobicents/jain-slee/2.7.0.FINAL/tools/eclipslee/user-guide/en-US/html/install.html#install_alternatives

What version did you install exactly?

> By the way, using EclipSLEE is recommended ? I have read that
> mobicents components are mavenized, could somebody please suggest me
> good documentation/tutorial to start learning development ?

https://community.jboss.org/wiki/MobicentsJAINSLEEDevelopmentEnvironmentSetup
https://community.jboss.org/wiki/HelloSLEEWorldServiceJAINSLEETutorial


--
Vilius Panevėžys
Elitnet

adiaksana

unread,
Oct 4, 2012, 4:42:30 AM10/4/12
to mobicent...@googlegroups.com, vil...@elitnet.lt
I am using EclipSLEE plugin:  org.mobicents.eclipslee.servicecreation_2.0.0.v20121001-2239.jar, and mobicents jain slee 2.7

I followed tutorial from those links, everything is ok but when I attempt to create a service, got NPE.

Regards,

Alexandre Mendonça

unread,
Oct 4, 2012, 6:07:12 AM10/4/12
to mobicent...@googlegroups.com, vil...@elitnet.lt
Hi,

You are right, the previous build had the same problem, as it was still built using SVN repository. It has now been updated to use the sources from git repository, which contain the fix.

Please retry.

THanks & Regards,

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/



adiaksana

unread,
Oct 4, 2012, 10:21:20 AM10/4/12
to mobicent...@googlegroups.com, vil...@elitnet.lt
Hi,

It works !. Thanks for your help

Regards,

Mosiuoa Tsietsi

unread,
Oct 9, 2012, 8:35:40 AM10/9/12
to mobicent...@googlegroups.com
Works beautifully, thanks!

Ahmed Khan

unread,
Mar 16, 2014, 4:53:04 AM3/16/14
to mobicent...@googlegroups.com
I have followed the above mentioned posts for the issue resolution but i'm still stuck at that Null Pointer Exception. Please help me. 

Vilius Panevėžys

unread,
Mar 17, 2014, 5:14:27 AM3/17/14
to mobicent...@googlegroups.com
What is the version that you have installed (which can be seen in Help
-> About Eclipse Platform -> Installation Details)? Version
2.0.0.v20121003-1449 certainly works fine.

Note, that there is no release with the fix yet, so you should use the
_nightly build_ update site, not the regular one. The nightly build
site link in the manual does not work. Try
https://mobicents.ci.cloudbees.com/job/Mobicents-EclipSLEE/ or build
from source.


--
Vilius Panevėžys
Elitnet

Ahmed Khan

unread,
Mar 17, 2014, 6:23:52 AM3/17/14
to mobicent...@googlegroups.com, vil...@elitnet.lt
My Eclipse Version is:   Eclipse IDE for Java EE Developers 2.0.2.20140224-0000

Ok. Let me download the version 2.0.0.v20121003-1449 and see if the problem gets resolved.

Vilius Panevėžys

unread,
Mar 17, 2014, 6:36:48 AM3/17/14
to mobicent...@googlegroups.com
I meant EclipSLEE version. Any compatible Eclipse version should work
(3.7 or later according to the User Guide).


--
Vilius Panevėžys
Elitnet
Reply all
Reply to author
Forward
0 new messages