Problem paste new text in editor

General discussion on Zend Studio

Re: Problem paste new text in editor

Postby douya on Mon May 21, 2012 10:18 am

Hi,

Is there any exception in the log?Thanks!
douya
 
Posts: 13
Joined: Sun Oct 17, 2010 11:24 am

Re: Problem paste new text in editor

Postby webpatser on Mon May 21, 2012 4:51 pm

douya wrote:Hi,

Is there any exception in the log?Thanks!


Where would that log be?
webpatser
 
Posts: 14
Joined: Tue May 15, 2012 12:12 am

Re: Problem paste new text in editor

Postby douya on Tue May 22, 2012 4:07 am

webpatser wrote:
douya wrote:Hi,

Is there any exception in the log?Thanks!


Where would that log be?


Hi,

I think it is in the root folder of the studio.Named with log.* or *.log or some file/folder contains "log" in its name.

Thanks!
douya
 
Posts: 13
Joined: Sun Oct 17, 2010 11:24 am

Re: Problem paste new text in editor

Postby webpatser on Tue May 22, 2012 8:17 am

OK, it dumps this:

Code: Select all
!ENTRY org.eclipse.ui 4 0 2012-05-22 09:16:31.478
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.php.internal.core.format.PhpFormatter.<init>(IIZ)V
   at org.eclipse.php.internal.ui.autoEdit.PHPAutoIndentStrategy.smartPaste(PHPAutoIndentStrategy.java:146)
   at org.eclipse.php.internal.ui.autoEdit.PHPAutoIndentStrategy.customizeDocumentCommand(PHPAutoIndentStrategy.java:55)
   at org.eclipse.php.internal.ui.autoEdit.MainAutoEditStrategy.customizeDocumentCommand(MainAutoEditStrategy.java:67)
   at org.eclipse.jface.text.TextViewer.customizeDocumentCommand(TextViewer.java:3745)
   at org.eclipse.jface.text.TextViewer.handleVerifyEvent(TextViewer.java:3782)
   at org.eclipse.jface.text.source.projection.ProjectionViewer.handleVerifyEvent(ProjectionViewer.java:1278)
   at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.handleVerifyEvent(StructuredTextViewer.java:715)
   at org.eclipse.jface.text.TextViewer$TextVerifyListener.verifyText(TextViewer.java:435)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:265)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
   at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7148)
   at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:7994)
   at org.eclipse.swt.custom.StyledText.paste(StyledText.java:7236)
   at org.eclipse.jface.text.TextViewer.paste(TextViewer.java:4052)
   at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3990)
   at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:1016)
   at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1535)
   at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:442)
   at org.eclipse.php.internal.ui.editor.PHPStructuredTextViewer.doOperation(PHPStructuredTextViewer.java:311)
   at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:128)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:126)
   at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
   at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
   at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
   at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
   at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
   at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1069)
   at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4127)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
   at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1494)
   at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1490)
   at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:493)
   at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:5563)
   at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
   at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
   at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:587)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:5473)
   at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
   at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
   at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095)
   at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
   at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
   at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
   at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
   at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
   at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
   at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
webpatser
 
Posts: 14
Joined: Tue May 15, 2012 12:12 am

Re: Problem paste new text in editor

Postby r-o-b-e-r-t on Wed May 23, 2012 8:42 am

Hi all,

i've spend some times on holiday.

I see many other have the problem to.

Is there a solution available?

Best,

Robert
r-o-b-e-r-t
 
Posts: 5
Joined: Wed Mar 14, 2012 12:22 pm

Re: Problem paste new text in editor

Postby natalia_b_zend on Wed May 23, 2012 10:31 am

Hi,

This happens after updating from 9.0.2 -> 9.0.3, right? I just want to confirm.
What extra features (from Welcome page) have you installed before performing this update?
Could you please attach complete workspace/.metadata/.log file and the configuration details: Help -> About Zend Studio -> Installation details -> Configuration tab -> please copy whole content of configuration.

We suspect that org.eclipse.php.core bundle has not been updated properly and we are going to investigate why (the entry in your configuration for this plugin should look like (org.eclipse.php.core (3.0.1.v201205011322) "PDT Core Plug-in" [Active]).

If it's possible, installing fresh 9.0.3 Studio should fix your problem.

Thank you
Natalia Bartol
Zend Studio Team
User avatar
natalia_b_zend
 
Posts: 151
Joined: Wed Jan 25, 2012 5:51 pm

Re: Problem paste new text in editor

Postby natalia_b_zend on Wed May 23, 2012 10:46 am

I would also check if all available updates have been installed.

1. Please go to Help->Install new software->Available software sites.
2. You should have those two enabled:
http://downloads.zend.com/studio-eclips ... -extra/9_0
http://downloads.zend.com/studio-eclipse/updates/9_0
3. For two mentioned sites select "Reload".
4. Close window
5. Go to Help-> Check for updates
6. Install all available updates listed there.

If there are no available updates/ you have everything installed already, then please check if org.eclipse.php.core_3.0.1.v201205011322.jar is within ZendStudio/plugins directory.
The last thing to try is to start your Studio with "-clean" argument.

I look forward to your feedback.
Natalia Bartol
Zend Studio Team
User avatar
natalia_b_zend
 
Posts: 151
Joined: Wed Jan 25, 2012 5:51 pm

Re: Problem paste new text in editor

Postby webpatser on Wed May 23, 2012 6:20 pm

natalia_b_zend wrote:Hi,

This happens after updating from 9.0.2 -> 9.0.3, right? I just want to confirm.
What extra features (from Welcome page) have you installed before performing this update?
Could you please attach complete workspace/.metadata/.log file and the configuration details: Help -> About Zend Studio -> Installation details -> Configuration tab -> please copy whole content of configuration.

We suspect that org.eclipse.php.core bundle has not been updated properly and we are going to investigate why (the entry in your configuration for this plugin should look like (org.eclipse.php.core (3.0.1.v201205011322) "PDT Core Plug-in" [Active]).

If it's possible, installing fresh 9.0.3 Studio should fix your problem.

Thank you


Yes, it seems an older version.

org.eclipse.php.core (3.0.1.201203131525) "PDT Core Plug-in" [Active]
org.eclipse.php.debug.core (3.0.1.v201205011322) "PDT Core Plug-in" [Active]

I will reinstall Zend Studio now..
webpatser
 
Posts: 14
Joined: Tue May 15, 2012 12:12 am

Re: Problem paste new text in editor

Postby webpatser on Wed May 23, 2012 6:24 pm

natalia_b_zend wrote:I would also check if all available updates have been installed.

1. Please go to Help->Install new software->Available software sites.
2. You should have those two enabled:
http://downloads.zend.com/studio-eclips ... -extra/9_0
http://downloads.zend.com/studio-eclipse/updates/9_0
3. For two mentioned sites select "Reload".
4. Close window
5. Go to Help-> Check for updates
6. Install all available updates listed there.

If there are no available updates/ you have everything installed already, then please check if org.eclipse.php.core_3.0.1.v201205011322.jar is within ZendStudio/plugins directory.
The last thing to try is to start your Studio with "-clean" argument.

I look forward to your feedback.


Reinstalling did the trick.
webpatser
 
Posts: 14
Joined: Tue May 15, 2012 12:12 am

Re: Problem paste new text in editor

Postby natalia_b_zend on Thu May 24, 2012 7:42 am

webpatser,

Thanks for reply. Could you tell if you had any extra features installed before the update? We would like to investigate why update failed for this particular plug-in.
Natalia Bartol
Zend Studio Team
User avatar
natalia_b_zend
 
Posts: 151
Joined: Wed Jan 25, 2012 5:51 pm

PreviousNext

Return to Zend Studio

Who is online

Users browsing this forum: No registered users and 2 guests