Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] (on orion/master using old orion workspace on local server) TypeError: Cannot call method 'set' of undefined

We should probably move this conversation over to Bugzilla. I opened a bug there: https://bugs.eclipse.org/bugs/show_bug.cgi?id=420342

What would help are some more details about your environment: What browser and platform are you running? Have you customized the fileImpl plugin at all?

A quick look at the file suggests that `URL.query` is undefined, but I'm having a hard time understanding how that could ever happen under the implementation of URL that Orion uses.

Mark


On Thu, Oct 24, 2013 at 5:55 PM, Adrian Aichner <adrian.aichner@xxxxxxxxx> wrote:
On Thu, Oct 24, 2013 at 11:40 PM, Anthony Hunter <anthonyh@xxxxxxxxxx> wrote:
> Hi Adrian,
>
> The default metadata and server workspace format has not changed for Orion
> 4.0. We will provide migration in 5.0 for the changes you have seen, but for
> 4.0 your existing server workspace will work fine.
>
> Which _javascript_ file is this error occurring? Can you raise a Bugzilla and
> we can debug?

Hi Anthony, this happens for all my files in various directories, e.g.
.js and README.md files.

Here is what I get when I click on README.md in
https://my.local.server:8443/edit/edit.html#/file/adrian/autoSaveText/CWS/

> console.log(error)
TypeError {stack: "TypeError: Cannot call method 'set' of undefined↵
…ps://my.local.server:8443/orion/plugin.js:234:29)", message: "Cannot
call method 'set' of undefined"}

message: "Cannot call method 'set' of undefined"
stack: "TypeError: Cannot call method 'set' of undefined↵ at
Object.FileServiceImpl.read
(https://my.local.server:8443/plugins/filePlugin/fileImpl.js:429:15)
at _callMethod (https://my.local.server:8443/orion/plugin.js:182:46)
at _handleMessage
(https://my.local.server:8443/orion/plugin.js:234:29)"
__proto__: Error

undefined
> console.trace()

console.trace()

_callMethodplugin.js:211
_handleMessageplugin.js:234

undefined

Is this useful?

Let me know of any other information that would be needed to track this down.

Adrian

>
> Cheers...
> Anthony
>
>
>
>
> From:        Adrian Aichner <adrian.aichner@xxxxxxxxx>
> To:        orion-dev@xxxxxxxxxxx
> Date:        2013/10/24 04:35 PM
> Subject:        [orion-dev] (on orion/master using old orion workspace on
> local server) TypeError: Cannot call method 'set' of undefined
> Sent by:        orion-dev-bounces@xxxxxxxxxxx
> ________________________________
>
>
>
> Hi All!
> I was also struggling with
> HTTP ERROR: 404
> Problem accessing /index.html. Reason:
>     ProxyServlet: /index.html
> Powered by Jetty:/
> Starting with new eclipse SDK workspaces and importing the local clones for
> orion.client and orion.server, setting target platform, Run configuration
> web-ide.conf did not work.
> It seems the step I was missing in the GIT perspective was to "Synchronize
> workspace".
> After I did that for both git clones I was able to reach my local orion
> server running on port 8443 (modified web-ide.conf).
> The problem I am left with now is following notification when I try to open
> any source file in the Editor in my eclipse-orion-workspace:
> TypeError: Cannot call method 'set' of undefined
>
>
> I saw same commit messages in previous months about metadata and server
> workspace format changes.
> Are there any tools to migrate metadata and server workspace format changes?
> I haven't found anything in the orion meeting minutes.
> Would be thankful for any pointers!
> Adrian_______________________________________________
> orion-dev mailing list
> orion-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/orion-dev
>
>
> _______________________________________________
> orion-dev mailing list
> orion-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/orion-dev
>
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top