Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes IBM RAD-MAVEN Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IBM RAD-MAVEN Issue" Watch "IBM RAD-MAVEN Issue" New topic
Author

IBM RAD-MAVEN Issue

Faisal Fuad
Ranch Hand

Joined: Jul 05, 2011
Posts: 79

Hi guys, I don't know whether I am in right group or not. Please help me to resolve this following issue:

I am currently using IBM RAD 7.5 IDE with websphere. Everything was fine but after installing MAVEN plugin I am going through so many problems. I am totally new in this world, so please if I do ask any stupid question/s then accept my apology.

One of my major problems at this moment is as follows:

Suppose I have a java project is opened in RAD. After installing MAVEN plugin now when I am trying to open any of my jsp pages in Design mode or Split, getting two error messages. (Note that when I am opening the jap page in Source mode then not having any problem) Those messages are as follows:

- Internal Error: "A stack overflow error has occured. You are recommended to exit the workbench. Subsequent errors may happen and may terminate the workbench without worning. See the .log file for more details. Do you want to exit the workbench?"
- Multiple Problems have occurred: java.lang.StackOverflowError

The log is showing this:

!ENTRY org.eclipse.ui 4 0 2012-02-21 12:02:05.011
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.StackOverflowError
at org.eclipse.draw2d.geometry.Rectangle.intersects(Unknown Source)
at com.ibm.etools.xve.renderer.layout.box.LayoutBox.intersect(Unknown Source)
at org.eclipse.draw2d.geometry.Rectangle.getIntersection(Unknown Source)
at org.eclipse.draw2d.geometry.Rectangle.intersects(Unknown Source)
at com.ibm.etools.xve.renderer.layout.box.LayoutBox.intersect(Unknown Source)
at org.eclipse.draw2d.geometry.Rectangle.getIntersection(Unknown Source)
....

Before installing Maven, was not having this problem. Any help please?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Which Maven plugin did you install? m2e or me2eclipse?

Also, what version of Eclipse is that version of RAD based on and is that version compatible with the maven plugin your installed?

This "java project" you mention, exactly what type of project is it? In other words, when you did File | New | Project, what did you select?

Finally, the Maven plugin has nothing to do with opening JSPs. If you look at the stack trace on the stack overflow I doubt you will see anything related to the maven plugin. Does this error happen only on this particular JSP or on all JSPs?


JBoss In Action
Faisal Fuad
Ranch Hand

Joined: Jul 05, 2011
Posts: 79

Hi Peter...I did install "m2e" Maven Plugin. Got from this URL: http://m2eclipse.sonatype.org/sites/m2e-e34/

My RAD particulars are as follows:
IBM Rational® Application Developer™ for WebSphere® Software
Version: 7.5.0
...
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.4.0

I honestly don't know whether this version of RAD is compatible with my installed Maven plugin or not.

By "Java project"...I mean "Dynamic Web Project"....(File|New|Dynamic Web Project)

And you are right...I didn't see anything related to maven plugin in the stack trace log. However, yesterday afternoon I saw the following issue in that log:

================================
!SESSION 2012-02-22 16:27:01.236 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_lHdSMr
JIT - r9_20080721_1330ifx2
GC - 20080724_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.ibm.rational.rad.product.v75.ide
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.rational.rad.product.v75.ide

!ENTRY com.ibm.etools.javaee.core 4 0 2012-02-22 16:27:39.830
!MESSAGE IWAE0014E Failed to convert 3.0 to Enumeration.
!STACK 0
org.eclipse.wst.common.internal.emf.utilities.FeatureValueConversionException: IWAE0014E Failed to convert 3.0 to Enumeration.
================================

Finally, this error is not happening for any particular JSP page. This is happening for all as soon as I am trying to open any JSP page in Design or Split mode.

Honestly I didn't have this problem before installing Maven on my RAD. Before I did design some handy stuff by opening Design as well as Split mode. Maven plugin may not cause this problem but then please help me to find out what RAD config did I may change (while installing) so that having this issue.

By the way Peter, before installing Maven plugin from the above URL, I did download Maven version 3.0.4 and followed their insturctions from the following URL to setup. Please have a look...you may have some clue.

http://maven.apache.org/download.html (did follow Windows 2000/XP setup)

And after installation by typing mvn --version in command prompt, I found this:

Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)
Maven home: C:\Program Files\IBM\apache-maven-3.0.4
Java version: 1.6.0, vendor: IBM Corporation
Java home: C:\Program Files\IBM\SQLLIB\java\jdk\jre
Default locale: en_US, platform encoding: Cp****
OS name: "windows xp", version: "5.1 build 2600 service pack 3", arch: "x86", family: "windows"

Thank you very much for your time. Best wishes
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30146
    
150

RAD 7.5 is based on Eclipse 3.4. Unless you explicitly looked for an old Maven plugin, it is unlikely to be compatible.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Faisal Fuad
Ranch Hand

Joined: Jul 05, 2011
Posts: 79

Hi Jeanne, so do you think due to compatibility issue I am facing this problem? Well I tried lot many Maven plugins through different URLs already and the only one did work for me was from here: http://m2eclipse.sonatype.org/sites/m2e-e34/

Note: for plugin installation I did: Help|Software Updates...|Available Software|Add Site...<http://m2eclipse.sonatype.org/sites/m2e-e34/>

Can you please help me to find some/any URL, where I can find a working old Maven Plugin? Thanks a lot
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

You need the old m2eclipse plugin. I used that in earlier versions of Eclipse (though I don't recall the first version I used it). Unfortunately, I cannot find the m2eclipse plugin anywhere any more. Wait, I found an old wiki page I had that has the URL: http://m2eclipse.sonatype.org/sites/m2e. Use that in Help | Install New Software. You will have to uninstall m2e first. And if you are really unlucky, you will have to reinstall RAD.

Good luck!
Faisal Fuad
Ranch Hand

Joined: Jul 05, 2011
Posts: 79

Thanks Peter. However, I did try that URL: http://m2eclipse.sonatype.org/sites/m2e before I used this one: http://m2eclipse.sonatype.org/sites/m2e-e34/ ...Didn't work !!!

May be I am really unlucky here and need to reinstall RAD

Well...let me find my best option here..
 
wood burning stoves
 
subject: IBM RAD-MAVEN Issue
 
Similar Threads
RMIC command failed on project
Missing Stored procedures!!
eclipse: trouble creating new j2ee/ejb project
Unable to generate Java Bean Skeletons using JAX-WS
CXF Client connection refused error