# Can't open script editor

**URL:** <https://forum.servoy.com/t/cant-open-script-editor/9724>\
**Category:** Classic Servoy\
**Created:** [October 9, 2008, 9:06am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724 "2008-10-09T09:06:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 9, 2008, 9:06am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/1 "2008-10-09T09:06:37Z")

</div>

I just updated Servoy 4.0.1 to beta1, now I can’t open any methods in script editor.  
It opens a tab called “DLTK Javascript Editor” with nothing in it. If I try to close the tab, I can’t. I tried to do this also in other perspectives, but it won’t work.  
The only way to have the tabs closed is to quit Servoy.

Does anybody have the same problem?

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [October 9, 2008, 9:20am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/2 "2008-10-09T09:20:14Z")

</div>

i have no idea what that goes wrong with you, we never encountered that.

do you have anything in the servoy\_log.txt (developer dir) or .log in the workspace/.metadata dir?

Also does this happen for all script files? including a simple new solution?

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 9, 2008, 9:42am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/3 "2008-10-09T09:42:27Z")

</div>

Thank you Johan, nothing is wrong with me.  
and yes it happens with all script. I have crated a new solution, and I can’t write any scripts because as soon as I specify the script name and click OK I see this. See attachment.

 ![Picture 4.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/1/1ab662d0aafafe93c70cfc2afffc0175070410fa.png)

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [October 9, 2008, 9:51am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/4 "2008-10-09T09:51:24Z")

</div>

and all other editors are working fine?

this has to be a result of an error or exception, what do you logs say?

servoy\_log.txt (developer dir)  
.log.txt (workspace/.metadata dir)

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 9, 2008, 10:29am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/5 "2008-10-09T10:29:17Z")

</div>

Ok, just to be sure I’ve thrown everything away (including workspace), I reinstalled Servoy 4.0.1, I opened the solution and several scripts everything OK. I ran the update… and guess what… the problem is here again.

I’ve tested it also on another mac… same problem.

All other editors are working fine.

This is the servoy\_log.txt in the application\_server dir., in the other dir. there is no log. (visible or invisible)

> 2008-10-09 11:52:31,181 ERROR [http-8080-1] com.servoy.j2db.util.Debug - Throwable  
> com.servoy.j2db.persistence.RepositoryException: com.servoy.j2db.persistence.RepositoryException: Operation cancelled  
> at com.servoy.j2db.persistence.i.a(Unknown Source)  
> at com.servoy.j2db.persistence.XMLImporter.importFromJarFile(Unknown Source)  
> at com.servoy.j2db.server.servlets.ConfigServlet.if(Unknown Source)  
> at com.servoy.j2db.server.servlets.ConfigServlet.service(Unknown Source)  
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)  
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)  
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)  
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)  
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)  
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)  
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)  
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)  
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)  
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)  
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)  
> at java.lang.Thread.run(Thread.java:613)  
> Caused by: com.servoy.j2db.persistence.RepositoryException: Operation cancelled  
> at com.servoy.j2db.persistence.i.a(Unknown Source)  
> … 18 more

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [October 9, 2008, 10:47am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/6 "2008-10-09T10:47:17Z")

</div>

in the .metadata there should be .log (so also with a .)  
that is standaard eclipse and i never that there isnt one.

But i guess in that file there should be something or in your standard console view of your mac

the error in the servoy\_log is not related

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 9, 2008, 10:55am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/7 "2008-10-09T10:55:06Z")

</div>

Sorry nothing in the console, and in .metadata I see only this

 ![Picture 5.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/6/63f5a534547d6735773b0e10dd2fd269ce8987fb.png)

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [October 14, 2008, 9:42am UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/8 "2008-10-14T09:42:52Z")

</div>

Hi Irene,

> OK. I ran the update… and guess what… the problem is here again.

This one triggered me.  
So, what you say is that there is no issue before the update (in other words when you perform an ‘out of the box’ install) and after an update you have the issue?

What OS X and Java are you running?  
Anything specific about your install (eclipse plugins like svn)?

The reason I ask, I have been working with beta versions of 4.0 and the one thing that NEVER created any issue was… The method editor…

---

<div class="post-metadata">

**Author:** ![irenem](https://avatars.discourse-cdn.com/v4/letter/i/977dab/32.png) [@irenem](https://forum.servoy.com/u/irenem)\
**Post date:** [October 14, 2008, 8:23pm UTC](https://forum.servoy.com/t/cant-open-script-editor/9724/9 "2008-10-14T20:23:50Z")

</div>

Hi Marcel,

is exactly what I say, no special plugins, no special things.  
I run Java 1.5.0\_16 on Mac OS X 10.5.5.

I have the same problem on 2 different machines, one MacBook and a brand new MacMini. I don’t have a clue of what I do wrong, I didn’t nothing more than click on an installer.
