Skip to main content
Topic: Error when trying to setup menu (Read 1559 times) previous topic - next topic

Error when trying to setup menu

Hi,
First off, congratulations for this great software ! I have been actively searching for such a tool for years (really !)

However I have  an error everytime I try to enter an item in the Project Menu :
When I press any key in the "Display Label" field, I have an alert saying "An exception occured in the application" (the message in in french, I don't have the exact error message in english).
This happens on every single key that I press, but if I close the alert, i can keep on  typing (and getting the error).

here is a capture :
https://pasteboard.co/JBQ69QJ.png

Then, if I click "Okay", nothing happens, and the item I entered is not saved, nor displayed on the generated site.
I have tried with different menu styles, but i still get the same error.
Any idea how to fix this ?

Here is the "details" section of the alert :
Quote
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
   à PhpRad.FormMenuConfiguration.Txtlabel_TextChanged(Object sender, EventArgs e)
   à System.Windows.Forms.Control.OnTextChanged(EventArgs e)
   à System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
   à System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
   à System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   à System.Windows.Forms.TextBox.WndProc(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblys chargés **************
mscorlib
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3928.0 built by: NET48REL1
    CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PhpRad
    Version de l'assembly : 1.0.0.0
    Version Win32 : 1.0.0.0
    CodeBase : file:///C:/Program%20Files%20(x86)/PHPRad%20Classic/PhpRad.exe
----------------------------------------
Microsoft.VisualBasic
    Version de l'assembly : 10.0.0.0
    Version Win32 : 14.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3928.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3928.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3928.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
FastColoredTextBox
    Version de l'assembly : 2.16.3.0
    Version Win32 : 2.16.3.0
    CodeBase : file:///C:/Program%20Files%20(x86)/PHPRad%20Classic/FastColoredTextBox.DLL
----------------------------------------
Newtonsoft.Json
    Version de l'assembly : 4.5.0.0
    Version Win32 : 4.5.11.15520
    CodeBase : file:///C:/Program%20Files%20(x86)/PHPRad%20Classic/Newtonsoft.Json.DLL
----------------------------------------
mscorlib.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Xml.Linq
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Windows.Forms.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
PhpRad.resources
    Version de l'assembly : 1.0.0.0
    Version Win32 : 1.0.0.0
    CodeBase : file:///C:/Program%20Files%20(x86)/PHPRad%20Classic/fr/PhpRad.resources.DLL
----------------------------------------
System.Deployment
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Accessibility
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Deployment.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment.resources/v4.0_4.0.0.0_fr_b03f5f7f11d50a3a/System.Deployment.resources.dll
----------------------------------------
System.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.resources.dll
----------------------------------------
Microsoft.VisualBasic.PowerPacks
    Version de l'assembly : 9.0.0.0
    Version Win32 : 3.0.30214.0
    CodeBase : file:///C:/Program%20Files%20(x86)/PHPRad%20Classic/Microsoft.VisualBasic.PowerPacks.DLL
----------------------------------------
System.ComponentModel.DataAnnotations
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------
System.Runtime.Serialization
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3928.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core.resources
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Core.resources.dll
----------------------------------------
System.Drawing.Design
    Version de l'assembly : 4.0.0.0
    Version Win32 : 4.8.3761.0 built by: NET48REL1
    CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------

************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.



 

Re: Error when trying to setup menu

Reply #2
Hi,
No, I also have this error on other projects too.
Currently I am using the demo version, all my projects have been created yesterday or today.

Re: Error when trying to setup menu

Reply #3
@cspirit‍ please use an uninstaller like Revo uninstall to uninstall and clean your pc of phprad setup file, restart your pc, then download and reinstall phprad again.

Re: Error when trying to setup menu

Reply #4
Hi,
thank you for your response.
I have uninstalled with Revo Uninstaller redonwloader the app, and I still have the same error.

Also, I have tried on a different computer (my own PC), installed a fresh PHPRad and the error also exists BUT the difference is that even if I get an alert after each letter I type in the "Display Field", the left pane of the window shows the navigation and the menu is well generated.

Both OS are in french., maybe this has something to do ?

This is strange.


Re: Error when trying to setup menu

Reply #6
Just sent.
However, after reinstalled, and created a fresh new project, the items now appear on the menu !
Well I still have the alerts when I type in the Display Field, but it doesn't block the menu creation.

Re: Error when trying to setup menu

Reply #7
Just sent.
However, after reinstalled, and created a fresh new project, the items now appear on the menu !
Well I still have the alerts when I type in the Display Field, but it doesn't block the menu creation.
might happen if you did dublicates when creating db but im not really sure why it happens.however restarting phprad solves it
jaymoore stah @facebook.com