Modern formeditor broken windows 11

Questions and answers for designing and implementing forms in Servoy

Modern formeditor broken windows 11

Postby j.kuizenga » Wed Oct 12, 2022 10:28 am

My modern formeditor is not showing anything anymore in windows 11.
I have had windows 11 some time now but the modern editor is not showing anymore on all of my servoy installations/ repositories.
If I go back to the classic editor(which I don't want to since its overly outdated) the form editor does work.
It seems windows has removed internet explorer altogether from this build

version info:

Editie Windows 11 Pro
Versie 21H2
Installatiedatum ‎5-‎10-‎2021
Build van besturingssysteem 22000.978
Ervaring Windows Feature Experience Pack 1000.22000.978.0
j.kuizenga
 
Posts: 14
Joined: Wed Jul 13, 2022 10:03 am

Re: Modern formeditor broken windows 11

Postby jcompagner » Wed Oct 12, 2022 11:15 am

We don't use for a long time IE as an embedded browser, we ship chromium.

So what are you exactly using? What servoy version? Are you really talking about the classic editor that what we where using for the Smart client
or the new html designer that we build for the TiNG and you compare it with the "old" NG1 html designer?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Modern formeditor broken windows 11

Postby j.kuizenga » Wed Oct 12, 2022 11:17 am

I am using the 2022.3.2 version
but also my 2021.12.1 version is broken basically all the developers are showing an empty designer. if i rightclick i can open the source and see some html.
When I run my app/debug it works all that's not working is the formeditor.

furthermore I'm talking about the Formeditor setting in servoy IDE at Preferences > Servoy > FormEditor > - Classic - Modern - Automatic.
The modern editor does not work at all and the classic editor is the old smartclient editor.
It seems that on newer forms the classic editor does not work either
Furthermore I'm not using the new Titaniumclient.
If i open the below http link in my chrome browser I see an editor but ofcourse not working properly

some ide logging

!ENTRY com.servoy.eclipse.model 1 0 2022-10-12 10:11:15.358
!MESSAGE Browser url for editor: http://localhost:8183/rfb/angular/index ... e&mso=true

!ENTRY org.eclipse.ui 4 4 2022-10-12 10:11:21.700

only erro i found in IDE .log file

!MESSAGE Error processing org.eclipse.dltk.javascript.ast.Script "function doEverything ()
{
var person={name: "Alex"}
var point={x: 50, y: 75}
}

function isNumeric (s)
{
return /^\d+$/.test(s)
}

var factorial=function (n)
{
if (n < 1)
{
return 0;
}
var retVal=1;
for (var i=1; i <= n; i++)
{
retVal *= i;
}
return retVal;
}

" in Dummy
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.dltk.core.ISourceModule.getResource()" because the return value of "org.eclipse.dltk.javascript.typeinfo.ReferenceSource.getSourceModule()" is null
at com.servoy.eclipse.debug.script.ElementResolver.getProjectName(ElementResolver.java:826)
at com.servoy.eclipse.debug.script.ElementResolver.getFlattenedSolution(ElementResolver.java:841)
at com.servoy.eclipse.debug.script.ElementResolver.resolveElements(ElementResolver.java:356)
at org.eclipse.dltk.internal.javascript.ti.TypeInferencer2.resolveAll(TypeInferencer2.java:622)
at org.eclipse.dltk.internal.javascript.ti.TopValueCollection$TopValue.getMember(TopValueCollection.java:100)
at org.eclipse.dltk.internal.javascript.ti.TopValueCollection$TopValue.findMember(TopValueCollection.java:56)
at org.eclipse.dltk.internal.javascript.ti.ImmutableValue.getChild(ImmutableValue.java:325)
at org.eclipse.dltk.internal.javascript.ti.ChildReference.findChild(ChildReference.java:51)
at org.eclipse.dltk.internal.javascript.ti.ChildReference.getValue(ChildReference.java:37)
at org.eclipse.dltk.internal.javascript.ti.AbstractReference.getLocation(AbstractReference.java:143)
at org.eclipse.dltk.internal.javascript.validation.TypeInfoValidator$ValidationVisitor.validateHidesByFunction(TypeInfoValidator.java:858)
at org.eclipse.dltk.internal.javascript.validation.TypeInfoValidator$ValidationVisitor.createMethod(TypeInfoValidator.java:788)
at org.eclipse.dltk.javascript.internal.ui.text.JavaScriptDeprecationHighlightVisitor.createMethod(JavaScriptDeprecationHighlightVisitor.java:60)
at org.eclipse.dltk.internal.javascript.ti.TypeInferencerVisitor.handleDeclarations(TypeInferencerVisitor.java:1612)
at org.eclipse.dltk.internal.javascript.ti.TypeInferencerVisitor.visitScript(TypeInferencerVisitor.java:1600)
at org.eclipse.dltk.internal.javascript.ti.TypeInferencerVisitor.visitScript(TypeInferencerVisitor.java:1)
at org.eclipse.dltk.javascript.ast.ASTVisitor.handle(ASTVisitor.java:149)
at org.eclipse.dltk.javascript.ast.ASTVisitor.visit(ASTVisitor.java:200)
at org.eclipse.dltk.internal.javascript.ti.TypeInferencerVisitorBase.visit(TypeInferencerVisitorBase.java:152)
at org.eclipse.dltk.internal.javascript.validation.TypeInfoValidator$ValidationVisitor.visit(TypeInfoValidator.java:564)
at org.eclipse.dltk.internal.javascript.ti.TypeInferencer2.doInferencing(TypeInferencer2.java:116)
at org.eclipse.dltk.javascript.internal.ui.text.JavaScriptDeprecationHighlighter.process(JavaScriptDeprecationHighlighter.java:46)
at org.eclipse.dltk.internal.ui.editor.semantic.highlighting.ContributedSemanticHighlighter.doHighlighting(ContributedSemanticHighlighter.java:46)
at org.eclipse.dltk.ui.editor.highlighting.AbstractSemanticHighlighter.reconcile(AbstractSemanticHighlighter.java:68)
at org.eclipse.dltk.internal.ui.editor.semantic.highlighting.SemanticHighlightingManager.enable(SemanticHighlightingManager.java:227)
at org.eclipse.dltk.internal.ui.editor.semantic.highlighting.SemanticHighlightingManager.install(SemanticHighlightingManager.java:171)
at org.eclipse.dltk.internal.ui.editor.semantic.highlighting.SemanticHighlightingManager.install(SemanticHighlightingManager.java:187)
at org.eclipse.dltk.ui.preferences.AbstractScriptEditorColoringConfigurationBlock.installSemanticHighlighting(AbstractScriptEditorColoringConfigurationBlock.java:945)
at org.eclipse.dltk.ui.preferences.AbstractScriptEditorColoringConfigurationBlock.createPreviewer(AbstractScriptEditorColoringConfigurationBlock.java:901)
at org.eclipse.dltk.ui.preferences.AbstractScriptEditorColoringConfigurationBlock.createSyntaxPage(AbstractScriptEditorColoringConfigurationBlock.java:747)
at org.eclipse.dltk.ui.preferences.AbstractScriptEditorColoringConfigurationBlock.createControl(AbstractScriptEditorColoringConfigurationBlock.java:525)
at org.eclipse.dltk.ui.preferences.AbstractConfigurationBlockPreferencePage.createContents(AbstractConfigurationBlockPreferencePage.java:79)
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:244)
at org.eclipse.dltk.ui.preferences.AbstractConfigurationBlockPreferencePage.createControl(AbstractConfigurationBlockPreferencePage.java:65)
at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1433)
at org.eclipse.jface.preference.PreferenceDialog$8.run(PreferenceDialog.java:1196)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1188)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:630)
at org.eclipse.jface.preference.PreferenceDialog$5.lambda$0(PreferenceDialog.java:660)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
at org.eclipse.jface.preference.PreferenceDialog$5.selectionChanged(PreferenceDialog.java:657)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:821)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:818)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1191)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:284)
at org.eclipse.jface.util.OpenStrategy$1.lambda$1(OpenStrategy.java:438)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4035)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3635)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:414)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1060)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1154)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1045)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)

!MESSAGE Unable to associate action set with part: org.eclipse.dltk.javascript.ui.editor.JavascriptEditor. Action set org.eclipse.debug.ui.launchActionSet not found.
j.kuizenga
 
Posts: 14
Joined: Wed Jul 13, 2022 10:03 am

Re: Modern formeditor broken windows 11

Postby jcompagner » Wed Oct 12, 2022 11:48 am

new forms are using maybe a completely different anchoring mode (css positioning) that doesn't work in the classic editor.

that logging doesn't have much todo with the editor, that seems happens somewhere in the preferences when configuring syntax coloring..

so i don't know what happens here, if you open an editor then in the log you should see something like this:

http://localhost:8183/rfb/angular/index ... e&mso=true

if you open that in an external browser like chrome do you see it then?

What happens if you just use a plain new workspace and you make a new solution and 1 new form (so nothing that you have now) it also fails?
(so kind of just a new install of servoy, or just a first a new clean workspace)

as i said, we don't use IE anymore for quite some time (i think even the setting was gone to switch between that)
its an embedded chromium based browser.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Modern formeditor broken windows 11

Postby j.kuizenga » Wed Oct 12, 2022 11:54 am

@if you open that in an external browser like chrome do you see it then?

I said in my comment that I can see that in my chrome browser

New install over servoy developer and creating a new workspace with a new solution with a new form leads to the same issue
Last edited by j.kuizenga on Wed Oct 12, 2022 12:01 pm, edited 1 time in total.
j.kuizenga
 
Posts: 14
Joined: Wed Jul 13, 2022 10:03 am

Re: Modern formeditor broken windows 11

Postby jcompagner » Wed Oct 12, 2022 12:00 pm

ah but you say not working property? what does that mean? because that should be working completely.

Do you use some kind of virus scanner that blocks certain urls ?(not sure how that can really affect my internal browser)

Does the Servoy Package Manager work? or the Start/Welcome page that we show when you start up your developer?
because those 2 are using the same browser..
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Modern formeditor broken windows 11

Postby j.kuizenga » Wed Oct 12, 2022 12:04 pm

The package manager is showing itself but the editor is not working, even in the browser I see the editor but not the components and ofcourse rightclick does not work as expected.

I tested some more screen and apparently I can see the components. sorry
j.kuizenga
 
Posts: 14
Joined: Wed Jul 13, 2022 10:03 am

Re: Modern formeditor broken windows 11

Postby jcompagner » Wed Oct 12, 2022 12:18 pm

so the browser is working fine (because of the servoy package manager or your welcome/startup page that is using the same browser displaying a page),
then it has to be something that you show in the browser..

Do you use a anti-virus scanner? what if you fully disable that one?

IF you use a clean workspace, you don't use any special components right? only the pure basic ones?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Modern formeditor broken windows 11

Postby j.kuizenga » Wed Oct 12, 2022 12:29 pm

I used a new installation of 2022.3 with a new workspace, new solution and a new form and even then I don't see the formeditor.
No components have been added yet.
It ends up as just a blank screen
We have a company virus scanner, but my colleagues on win10 don't have this issue.
here some images to draw some context.
https://imgur.com/a/rEdr0h6
j.kuizenga
 
Posts: 14
Joined: Wed Jul 13, 2022 10:03 am

Re: Modern formeditor broken windows 11

Postby mboegem » Wed Oct 12, 2022 1:43 pm

Could it be another application running on the same port?
What happens if you open the Servoy-admin page (Help > Servoy Admin Page)

[EDIT] never mind... you've tested this already seeing the URL in an external browser...
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1758
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Modern formeditor broken windows 11

Postby jcompagner » Wed Oct 12, 2022 2:33 pm

i only can say turn of the virus scanner or something like that
because the browser component is working fine, (you see the SPM)
So i have no idea what suddenly did change, as i said we don't use IE for quite some time now, we use an embedded chromium, and that seems to be working because i think that is the correct context menu of the base

what happens if you turn on the TiNG editor that you can also switch to in the preferences?

I am on windows 11 for ages now already on 22H2 without any problem

So without more information or output i don't know where to look or how to help
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Modern formeditor broken windows 11

Postby j.kuizenga » Wed Oct 12, 2022 3:02 pm

the TiNG designer does open but the form itself does not render properly
I really doubt it is my virus scanner but I'll try tomorrow.
j.kuizenga
 
Posts: 14
Joined: Wed Jul 13, 2022 10:03 am

Re: Modern formeditor broken windows 11

Postby j.kuizenga » Thu Oct 13, 2022 10:06 am

Disabling my antivirus has not helped at all. The TiNG Edtior seems to only work on old pages. My responsive pages dont work with it.
I don't know what to do but in this state the IDE is unuseable
j.kuizenga
 
Posts: 14
Joined: Wed Jul 13, 2022 10:03 am

Re: Modern formeditor broken windows 11

Postby jcompagner » Thu Oct 13, 2022 10:37 am

its then very weird that that is i can' explain that
So TiNG editor works, but the form itself is working for css positioned forms but not responsive?
And the NG1 form editor doesn't work at all?

And the SPM and i guess also the welcome page do work, so the browser component is fine (that i guess is already the case because the TiNG editor does show)

what happens if you just download this:

https://download.servoy.com/beta/latest ... s.3803.zip

unzip it to a new dir

start servoy, point the workspace to a completely new location
Let the database install itself

Then create a Test solution and a Test (css positioned) form?
We do show the TiNG editor by default, and that first needs to be build, you see that progress in the TiNG Build Console.
But you could change this in the preferences first.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Modern formeditor broken windows 11

Postby j.kuizenga » Thu Oct 13, 2022 10:50 am

this version of the IDE seems to work on both TiNG and NG1 modern. I don't know what this servoy installation did but suddenly my 2022.3 is working again...

Did the installation reinstall some components or something?
j.kuizenga
 
Posts: 14
Joined: Wed Jul 13, 2022 10:03 am

Next

Return to Forms

Who is online

Users browsing this forum: No registered users and 6 guests