Could not open editor: 256 error

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Could not open editor: 256 error

Postby Westy » Thu Dec 08, 2011 8:57 pm

Running Servoy Developer 6.0.3, when I attempt to open a form I get the following error message:
"Could not open the editor: 256" per the two screenshots below (shown in reverse order).

How can I resolve this?

Dean
Attachments
screenshot_2.jpg
Detail of error message
screenshot_2.jpg (285.73 KiB) Viewed 4186 times
screenshot_1.jpg
Error message 1
screenshot_1.jpg (88.41 KiB) Viewed 4186 times
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Re: Could not open editor: 256 error

Postby jcompagner » Fri Dec 09, 2011 7:01 pm

what kind of bean do you have on that form?
Can you open companies.frm file (through the navigator) in a normal text editor (so not the form editor)
there we should be able to see what you have on the form.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Could not open editor: 256 error

Postby Westy » Fri Dec 09, 2011 11:22 pm

No beans, we are all webclient. It seems like it either happens with all forms or does not happen at all. Nothing is listed under the "Problems" tab. Very strange. Sometimes I will close out of developer and later come back and the problem mysteriously goes away. Then just when I think it has healed itself, it comes back again, not allowing me to open any forms. Below is the contents of companies.frm:

dataSource:"db:/contacts/prefs",
extendsID:"-1",
items:[
{
dataProviderID:"prefsid",
editable:false,
format:"0",
horizontalAlignment:0,
location:"60,46",
name:"prefsid",
size:"54,20",
text:"prefsid",
typeid:4,
uuid:"02926706-2066-4792-8DFF-7ACF55263AFD"
},
{
dataProviderID:"company_name",
editable:true,
location:"60,92",
name:"company_name",
size:"245,20",
text:"company_name",
typeid:4,
uuid:"04C5E784-FF69-4B36-B692-A30C60F9E872"
},
{
height:333,
partType:8,
typeid:19,
uuid:"2DDB02A6-9204-4F90-B81D-56D28D4BCE67"
},
{
dataProviderID:"columnNames",
displayType:2,
groupID:null,
location:"224,12",
name:"columnNames",
onActionMethodID:"-1",
onDataChangeMethodID:"32E00AA9-0C4D-4B1D-A704-686894EBE282",
size:"120,20",
tabSeq:0,
typeid:4,
uuid:"332CE6A7-AC19-4187-A6F7-B9DF8023E2A4",
valuelistID:"A9FFFD53-C272-4512-8156-241FFB9150CD"
},
{
dataProviderID:"company_email",
editable:true,
location:"60,172",
name:"company_email",
size:"200,20",
text:"company_email",
typeid:4,
uuid:"3B3F7E6C-21F5-4EE2-8966-AB6582463D4E"
},
{
dataProviderID:"company_city",
editable:true,
location:"60,230",
name:"company_city",
size:"140,20",
text:"company_city",
typeid:4,
uuid:"4142E429-8DE2-4FC9-B60B-1053A8A74A89"
},
{
dataProviderID:"globals.vFormNames",
displayType:2,
groupID:null,
location:"15,12",
name:"formName",
onActionMethodID:"-1",
onDataChangeMethodID:"D97AE5F8-CA6C-43A9-81D1-93356F11A7CF",
size:"130,20",
tabSeq:0,
typeid:4,
uuid:"44720AA3-3090-47A1-A4F1-D5C403ECF6A5",
valuelistID:"8FE137A6-1EFE-47F6-A227-65E21D9F7D38"
},
{
groupID:null,
location:"474,11",
onActionMethodID:"C92A61DB-A3AC-40C4-B562-AE6BF30DD11C",
onDoubleClickMethodID:"-1",
onRightClickMethodID:"-1",
size:"46,20",
tabSeq:0,
text:"Go",
typeid:7,
uuid:"56FC9C51-1468-48F0-B142-CC5E1699FAFF"
},
{
dataProviderID:"lite_pro",
displayType:4,
editable:true,
format:"0",
groupID:null,
horizontalAlignment:0,
location:"60,69",
name:"pro",
size:"28,20",
tabSeq:0,
text:"pro",
typeid:4,
uuid:"5A285050-C27F-4A7E-B6B6-B2747D1ECAD5"
},
{
groupID:null,
location:"808,11",
onActionMethodID:"6B3BB389-F991-436E-8D5D-8663687C32CD",
onDoubleClickMethodID:"-1",
onRightClickMethodID:"-1",
size:"80,20",
tabSeq:0,
text:"Exit",
typeid:7,
uuid:"641B78F3-0304-40D4-B181-690E1EB0ED2A"
},
{
location:"624,11",
onActionMethodID:"BFC053C5-3B98-433F-9F73-3C1B43950DA0",
onDoubleClickMethodID:"-1",
onRightClickMethodID:"-1",
size:"80,20",
text:"Save",
typeid:7,
uuid:"78EB4F78-77FE-41BC-B5AF-ED7E64A87DB8"
},
{
height:290,
partType:5,
typeid:19,
uuid:"86A5CC64-A453-45AE-A4DA-A9A5F1D2111D"
},
{
dataProviderID:"date_s",
displayType:5,
editable:true,
format:"MM/dd/yyyy",
horizontalAlignment:0,
location:"60,142",
name:"date_s",
size:"94,20",
text:"date_s",
typeid:4,
uuid:"9F585B66-6991-4C28-969E-EA1166A0EEE5"
},
{
dataProviderID:"searchCriteria",
groupID:null,
location:"350,12",
name:"searchCriteria",
onActionMethodID:"C92A61DB-A3AC-40C4-B562-AE6BF30DD11C",
size:"117,20",
tabSeq:0,
text:"searchCriteria",
typeid:4,
uuid:"B072B5AE-9879-4DB6-B46E-9C1D3A631EEC",
valuelistID:"0"
},
{
dataProviderID:"company_state",
editable:true,
location:"60,260",
name:"company_state",
size:"140,20",
text:"company_state",
typeid:4,
uuid:"BEB2B01A-A472-4426-A782-05D9B576308D"
},
{
groupID:null,
location:"532,11",
onActionMethodID:"BE0FB983-AEE3-48B0-AEBF-206CC92339B8",
onDoubleClickMethodID:"-1",
onRightClickMethodID:"-1",
size:"80,20",
tabSeq:0,
text:"Show All",
typeid:7,
uuid:"CC4B106B-8486-4A90-B03D-0F98AA2B4B72"
},
{
dataProviderID:"date_e",
displayType:5,
editable:true,
format:"MM/dd/yyyy",
horizontalAlignment:0,
location:"60,117",
name:"date_e",
size:"94,20",
text:"date_e",
typeid:4,
uuid:"D025CC9C-A973-44C4-99FF-DA6A57E090EB"
},
{
height:42,
partType:1,
typeid:19,
uuid:"F0D2AB92-A0EE-48D7-9DAD-91817EDEFFB7"
},
{
dataProviderID:"globals.vMessage",
foreground:"#ff0000",
groupID:null,
horizontalAlignment:2,
location:"904,11",
name:"label_message",
printable:false,
size:"288,20",
tabSeq:0,
text:"%%globals.vMessage%%",
transparent:true,
typeid:7,
uuid:"F4FDEBCF-967D-48AE-AAD3-0B3A54656719"
},
{
dataProviderID:"company_phone",
editable:true,
location:"60,202",
name:"company_phone",
size:"100,20",
text:"company_phone",
typeid:4,
uuid:"F5E41FFC-F2A1-4C89-A0E4-7A0BAF6713DD"
},
{
groupID:null,
horizontalAlignment:4,
location:"152,13",
size:"65,20",
tabSeq:0,
text:"Search by",
transparent:true,
typeid:7,
uuid:"F99FE61E-FD97-415F-854B-27AD4E3C0FF9"
}
],
name:"companies",
onShowMethodID:"A4B65E14-B932-4F37-9BD8-822D1A7AD802",
showInMenu:true,
size:"1200,333",
typeid:3,
uuid:"4F28E284-E202-468A-81E0-48A134A56A42",
view:3
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Re: Could not open editor: 256 error

Postby rgansevles » Mon Dec 12, 2011 10:13 am

Dean,

The error occurs when creating the images for the palette.

Do you have custom beans in there?

You can try to disable stuff shown on the palette, maybe that way you can find out which item causes this exception.
Rightcklick on palette -> Customize and then for each drawer tick the hide checkbox.
You can do this also for separate items.

If you cannot acces the palette because of this exception, you can set the property designer.paletteCustomization in file /path/to/servoy_workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.servoy.eclipse.ui.prefs to hide them all:

Code: Select all
designer.paletteCustomization={"entryProperties"\:{"beans\:servoy.hidden"\:true,"containers.hidden"\:true,"elements.hidden"\:true,"shapes.hidden"\:true,"templates.hidden"\:true}}


Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Could not open editor: 256 error

Postby Westy » Thu Dec 22, 2011 5:06 pm

Your suggesion worked. Thank you very much.

Dean
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Re: Could not open editor: 256 error

Postby rgansevles » Mon Jan 02, 2012 4:43 pm

I have made the palette more robust against beans with bogus images.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 9 guests