MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mlbartonsr
Post subject: JSP Problem with no description  PostPosted: Apr 14, 2010 - 06:50 PM
Veteran Member
Veteran Member


Joined: Aug 05, 2005
Posts: 34

MyEclipse 8.5., JDK 1.6.0

In my jsp page I get an error listed in the first line of text in the file no matter what the line of text is, right now it is just a hidden comment.
The following 3 lines of code are the start of my JSP. Blank line followed by 2 comments.

<%-- --%>
<%-- Search Criteria --%>

If I delete the first comment line it then flags the next comment line as haviing an error.

The error has no discription in the Problems tab.
None of my other JSP's are having this problem.

If I view the same page in ME 7.5 it does not show anything being wrong.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
support-shalini
Post subject: RE: JSP Problem with no description  PostPosted: Apr 15, 2010 - 07:03 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

mlbartonsr,
Can you give some more information?
1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
2. Are there any relevant errors when you open that JSP in the log file located at workspace dir > .metadata > .log?
Please clear the log file and save it before looking for any relevant errors.
3. Can you send us a screen shot showing the issue. You can use the PM button at the end of the post.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
mlbartonsr
Post subject: RE: JSP Problem with no description  PostPosted: Apr 15, 2010 - 05:00 PM
Veteran Member
Veteran Member


Joined: Aug 05, 2005
Posts: 34

Installation details
##############################################################################################
*** Date:
Thursday, April 15, 2010 10:56:32 AM CDT

** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 8.5
Build id: 8.5-20100319






Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Genuitec\MyEclipse_8.0\myeclipse.exe
-name
Myeclipse
--launcher.library
D:/Genuitec/Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
D:/Genuitec/Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Genuitec/MyEclipse_8.0
-configuration
configuration
-vm
D:/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
##############################################################################################

I have emailed you the info from my .log file you requested. I will include it here also.
##############################################################################################!!SESSION 2010-04-15 10:37:56.127 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2010-04-15 10:38:17.813
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-04-15 10:38:17.813
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@d6e0df,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,remove from Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)

!ENTRY org.eclipse.ui.workbench 2 0 2010-04-15 10:40:10.245
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-04-15 10:40:10.245
!MESSAGE Conflict for 'com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug':
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@e72b6c,
expression=,sourcePriority=0)
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@d3d889,
expression=,sourcePriority=0)##############################################################################################
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
support-shalini
Post subject: RE: JSP Problem with no description  PostPosted: Apr 16, 2010 - 06:03 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

mlbartonsr,
Thank you for the details and the screen shot.
Can you try cleaning your project? From the menu bar select Project > Clean.
Also, can you switch to a new workspace, create a new web project and paste this JSP and check if the issue persists?

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
mlbartonsr
Post subject: RE: JSP Problem with no description  PostPosted: Apr 20, 2010 - 07:46 PM
Veteran Member
Veteran Member


Joined: Aug 05, 2005
Posts: 34

Tried both of these and neither one worked. I thinking that some kind of error was found in the jsp but no message is associated with the error since this is the only jsp in my app that is having this problem. If/when I track it down I will let you know.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
support-shalini
Post subject: RE: JSP Problem with no description  PostPosted: Apr 21, 2010 - 06:14 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

mlbartonsr,
Can you clarify if there are any errors in the problems tab. Please open Window > Show View > Problems and check if there are any errors listed for that JSP.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
mlbartonsr
Post subject: RE: JSP Problem with no description  PostPosted: Apr 21, 2010 - 04:06 PM
Veteran Member
Veteran Member


Joined: Aug 05, 2005
Posts: 34

Yes there is one problem in the problem tab. I have sent you a screen shot. It flags the comment line as having an error.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
mlbartonsr
Post subject: RE: JSP Problem with no description  PostPosted: Apr 21, 2010 - 04:57 PM
Veteran Member
Veteran Member


Joined: Aug 05, 2005
Posts: 34

I found the issue with the JSP page. I had used MyEclipse's Source/Toggle Comment feature to comment out several lines of code. This inserts HTML comments not JSP comments. Since there was a reference to a java constant <%=SOMETHING %> in the commented code it was not being ignored by the validator. switched to using JSP comments and this resolved the problem.

Given this, is there any chance that the Source/Toggle Comments feature could be modified to have the intellegence to use JSP type comments when it is used on a JSP file and HTML type commnents when it is being used on an HTML file? It already has the intellegence to use java style comments on .java files.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
mlbartonsr
Post subject: RE: JSP Problem with no description  PostPosted: Apr 21, 2010 - 04:57 PM
Veteran Member
Veteran Member


Joined: Aug 05, 2005
Posts: 34

I found the issue with the JSP page. I had used MyEclipse's Source/Toggle Comment feature to comment out several lines of code. This inserts HTML comments not JSP comments. Since there was a reference to a java constant <%=SOMETHING %> in the commented code it was not being ignored by the validator. switched to using JSP comments and this resolved the problem.

Given this, is there any chance that the Source/Toggle Comments feature could be modified to have the intellegence to use JSP type comments when it is used on a JSP file and HTML type commnents when it is being used on an HTML file? It already has the intellegence to use java style comments on .java files.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
support-shalini
Post subject: RE: JSP Problem with no description  PostPosted: Apr 22, 2010 - 09:42 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

mlbartonsr,
Good to know that you are all set.
Quote:

is there any chance that the Source/Toggle Comments feature could be modified to have the intellegence to use JSP type comments when it is used on a JSP file and HTML type commnents when it is being used on an HTML file?

Comments inserted with this editor are JSP comments, whereas the comments inserted by "MyEclipse Visual JSP Designer" are HTML Comments.
Can you clarify if you are opening the editor with "MyEclipse JSP Editor"?
Can you please open the editor with "MyEclipse JSP Editor" and check if the issue persists?

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits