Android Question Exeption occured - Problem with Setup B4A v7.3 and v7.8

manuel-r

Member
Licensed User
Longtime User
Hi together

I've reinstalled my notebook. So I had to reinstall B4A and all needed components too. While installing no errors occured. But when I run B4A I get an error message that says the following.

With B4A 7.3:
"An error occured. Der Typeninitialisierer für 'dx' hat eine Ausnahme verursacht."

With B4A 7.8:
"An error occured. Der Typeninitialisierer für 'd6' hat eine Ausnahme verursacht."

Yes, there ist english and german (?!). I think in english it means "The type-initiator for 'dx' caused an exception."

The second thing is, that I can't save the configuration under "Tools > Configure Paths". I get the error "Error occured. Error saving ini file"

The environment is: Windows 7 Pro x64, JDK8 Build 162 x86, Android SDK 25.2.5

Can anyone help me?

Greetings from very windy Germany ;-)
Manuel
 

manuel-r

Member
Licensed User
Longtime User
Ääähm. No, I didn't. First I installed JDK, then SDK an finaly B4A.
Should I reinstall SDK over B4A?
 
Upvote 0

manuel-r

Member
Licensed User
Longtime User
In B4A v7.3 (actually this is installed) there is no SDK Manager.
But I think the error does not depend on SDK. I think it comes from the development platform B4A is written with. Maybe I need some ressources?!
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

manuel-r

Member
Licensed User
Longtime User
That's crazy. The log sais

B4X:
Build modules tree: 0
B4A version: 7.80
.Net version: 4.0.30319.42000
System.TypeInitializationException: Der Typeninitialisierer für "d6" hat eine Ausnahme verursacht. --->

but I have installed NET Framework 4.7



I tried to install NET 4.5.2 but that's not possible 'cause I have installed a higher version yet. So why sais B4A that there is only NET 4.0 installed?!

 

Attachments

  • log.txt
    5.2 KB · Views: 216
Upvote 0

tigrot

Well-Known Member
Licensed User
Longtime User
Sometimes you have to do strange actions to fix Windows' issues. I'm getting many calls from customers that after an update are no more able to operate with USB/RS232 converters. Old Prolific hardware won't work any more. But they point finger to my CNC part program manager, working from 18 years!
 
Upvote 0

manuel-r

Member
Licensed User
Longtime User
I tried it.
First I uninstalled NET Framework 4.7.1 and installed NET Framework 5.2. After that B4A runs correctly.
Then I installed NET Framework 4.7.1 again. Since that B4A doesn't run and gives the same error as described above

@Erel:
Some hints about this?
 
Upvote 0

manuel-r

Member
Licensed User
Longtime User
Is ist possible, that the B4A-Executable detects the NET-Version by an incorrect way?
In https://docs.microsoft.com/de-de/do...-determine-which-versions-are-installed#net_b I found how to get the installed version via the registry. So in my case it says Release 461310 under HKLM\SOFTWARE\NET Framework Setup\NDP\v4\Full. This release 461310 means that NET 4.7.1 is installed. But if I look into the InstallPath then this Path contains v4.0.3019 and this ist exactly the version that is logged in the logfile when the error occurs.

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…