- This topic has 24 replies, 4 voices, and was last updated 19 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
smanchikaMemberI am facing couple of problems with myEclipse..
1.When i try closing the project(using close project) ,only struts-config.xml doesn’t get closed and when i checked the error log(C:\eclipse\workspace\.metadata\.log) it thrown the following error
!ENTRY org.eclipse.core.runtime 4 2 Oct 18, 2004 12:36:28.109
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.struts.StrutsSelectionManager.selectionChanged(Unknown Source)
at org.eclipse.ui.internal.AbstractSelectionService$3.run(AbstractSelectionService.java:153)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:151)
at org.eclipse.ui.internal.AbstractSelectionService.partActivated(AbstractSelectionService.java:242)
at org.eclipse.ui.internal.WWinPartService$1.partActivated(WWinPartService.java:28)
at org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:45)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)*************************************************************
2.I am not able to start Tomcat Server from myEclipse.
When i checked the log file(C:\eclipse\workspace\.metadata\.log)
the following error(only part of error is copied) occurred!ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Oct 18, 2004 12:37:36.925
!MESSAGE Problem during external library taglib search.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.isWebXMLFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.getExistingTaglibs(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.processFile(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.�(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.refresh(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.createNewRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.getTaglibRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getTaglibURIStream(Unknown Source)******************************************************
I am using
Tomcat 4.1.30
struts 1.1
Eclipse 3.0if any further details are need.Pls let me know.I’ll post them too.
Thanking you in advance
Riyad KallaMemberWhat is the build ID of Eclipse? Also what is the version of MyEclipse you are using?
smanchikaMemberthe Build id: 200408201200-3.8.1
MyEclipse version:3.8.1
Scott AndersonParticipantCould you upgrade to 3.8.2? There were quite a few bug fixes and enhancements related to both struts and taglibs that will likely resolve the issue.
The release notes for 3.8.2 are here: http://www.myeclipseide.com/ContentExpress-display-ceid-46.html
Instructions for using the 3.8.2 update site are available here:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-4029.html
smanchikaMemberI upgraded successfully to myeclipse 3.8.2 .
but even now when i start tomcat server it is switching to debug perspective and points to NumberFormatException.I tried starting the server by closing the project ,then server starts fine..
but when i open the project and start the server..it is switching to debug perspective..but no where in my project has red cross mark..so i am assuming that my application is error free.. i am not understading what is going wrong?
as i mentioned earlier that when i do “close project” all open files gets closed except struts-config.xml. when i click on some text in that file ,i get msg “An error has occurred see error log for more details”
and i get the following error in error log(only part of the log is copied)!ENTRY org.eclipse.core.runtime 4 2 Oct 20, 2004 09:49:52.736
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.struts.StrutsSelectionManager.selectionChanged(Unknown Source)
at org.eclipse.ui.internal.AbstractSelectionService$3.run(AbstractSelectionService.java:153)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:151)
at org.eclipse.ui.internal.AbstractSelectionService.partActivated(AbstractSelectionService.java:242)
at org.eclipse.ui.internal.WWinPartService$1.partActivated(WWinPartService.java:28)
at org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:45)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartListenerList2.firePartActivated(PartListenerList2.java:43)
at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:1372)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2695)
at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2372)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:304)
at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:127)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:284)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)why i am mentioning is
are these two situations related?
Riyad KallaMemberWhen it switches to the debug perspective, is the debugger actually stopping at a random class and you can hit “Play” to continue, or is the app server dying completely?
I think there is something going on with the app server installed if that is the case. Also I cannnot reproduce the struts-config.xml problem to save my life. I wonder if you shoudl create a new workspace to get rid of any weirdness that might be going on…
smanchikaMemberyeah when i switch to debug perspective ..it opens the integer.class and used to point at NumberFormatException(null). when i press”F5″ it goes on and stops at no class found error”GetIntegerAction.class” and after that
“InetAddressCachePolicy.class”.Let me tell you that my application was giving a warning
“IWAE0010E Run-time Exception java.lang.OutOfmemoryError ….”so i checked your response in this support forum and increased the memory by using
“c:\eclipse\eclipse.exe -vm C:\j2sdk1.4.2_05\bin\javaw.exe -vmargs
-Xmx128M -Xmx256Mnow my application doesn’t show me OutOfMemory warning but when i try starting my tomcat server from ME .. it just not responding at all..
in error log(C:\eclipse\workspace\.metadata\.log) i get the following error!ENTRY org.eclipse.jdt.debug 4 120 Oct 20, 2004 11:34:34.247
!MESSAGE Internal error logged from JDI Debug:
!STACK 0
org.eclipse.jdi.TimeoutException
at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:149)
at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:158)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:173)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:191)
at org.eclipse.jdi.internal.request.EventRequestImpl.enable(EventRequestImpl.java:222)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:1017)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:982)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:961)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.createRequests(JavaBreakpoint.java:501)
at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.addToTarget(JavaBreakpoint.java:482)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.breakpointAdded(JDIDebugTarget.java:1107)
at org.eclipse.debug.internal.core.BreakpointManager$BreakpointNotifier.run(BreakpointManager.java:758)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.debug.internal.core.BreakpointManager$BreakpointNotifier.notify(BreakpointManager.java:784)
at org.eclipse.debug.internal.core.BreakpointManager.fireUpdate(BreakpointManager.java:698)
at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoints(BreakpointManager.java:436)
at org.eclipse.debug.internal.core.BreakpointManager.loadBreakpoints(BreakpointManager.java:158)but when i start my tomcat server outside myeclipse,it runs fine.
Riyad KallaMemberSomething funky going on with the Eclipse debugger here… what JDK do you have setup to run Tomcat?
smanchikaMemberJDK ——j2sdk1.4.2_05
Riyad KallaMemberWhat is your Eclipse Build ID?
This is clearly an Eclipse debugger issue, so I can’t help much more than some hand holding right now… I’ll ask around.
smanchikaMemberEclipse Platform
——————-
Version: 3.0.0
Build id: 200406251208MyEclipse
————
Version: 3.8.2
Build id: 200409171200-3.8.2
Riyad KallaMemberThis might be because you are using Tomcat 4 and not 5 (doesn’t support JSR 45 spec)… I’m checking on it.
smanchikaMemberbut this problem occurred just few days back.. initially i could able to start/stop tomcat server from ME..
Riyad KallaMembersmanchika,
We need to check here to see if this is a workspace issue going on. Shut down Eclipse and try and restart it with a new workspace (or use File > Siwtch Workspace) and select any new directory to create new workspace in. Then configure Tomcat and try and start/stop it… did it wokr?
smanchikaMemberyeah tried creating a new workspace and started the tomcat ,but still the same error…
i am attaching message the error log (C:\eclipse\newworkspace\.metadata\.log)ENTRY org.eclipse.jdt.debug 4 120 Oct 20, 2004 13:42:42.01
!MESSAGE Internal error logged from JDI Debug:
!STACK 0
org.eclipse.jdi.TimeoutException
at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:149)
at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:158)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:173)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:229)
at org.eclipse.jdi.internal.VirtualMachineImpl.allThreads(VirtualMachineImpl.java:381)
at org.eclipse.jdi.internal.VirtualMachineImpl.resetThreadEventFlags(VirtualMachineImpl.java:786)
at org.eclipse.jdi.internal.VirtualMachineImpl.resume(VirtualMachineImpl.java:710)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.resume(JDIDebugTarget.java:1064)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.resume(JDIDebugTarget.java:1035)
at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.handleVMStart(JDIDebugTarget.java:345)
at org.eclipse.jdt.internal.debug.core.EventDispatcher.dispatch(EventDispatcher.java:149)
at org.eclipse.jdt.internal.debug.core.EventDispatcher.run(EventDispatcher.java:221)
at java.lang.Thread.run(Unknown Source)the struts-config.xml problem still exists in new workspace too.
-
AuthorPosts