Help with lists and any component

Hello, I found a post from @ABG which brings me to an idea for optimzing one of my projects. Unfortunately I can not get it run. Get an runtime error.

Runtime Error

Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
Note: You will not see another error reported for 5 seconds.

This is only a prototype... it looks like this...

image

The blocks look like this...

The aia file is...

Test_Button_Press.aia (4.5 KB)

Any idea?

PS
the following is another strange thing i encountered in UI. The app compiles without errors but this is shown... When I touch the up and down arrows nothing happens

image

You have two empty sockets in one of the procedures.

1 Like


Taifun

1 Like

@ABG @Taifun Thanks a lot. I did not see it yesterday. Some kind of tomatoes in front of my eyes?!

The curiouse thing is that today all looks fine regarding the information shown... yesterday there were 131 errors. today only 2 warnings / errors which i have corrected

image

Is this a problem with my pc or with browser cache? I have another topic with strange behaviour in AI2 without an explanation for that...see here

@ABG @Taifun I am back from my business trip and could test the blocks. It works like a charme :slight_smile: I will now implement it in the project for what it is intended for.

I gave Taifun the "solution" flag due to the picture. ABG I gave you the flag in my other post. Hope you are fine with that...

1 Like