macOs Big Sure Beta: Cannot open TS 3.7 (NullPointerException)

Hi, today I just received this letter:

In April 2020, we updated our Watch Face Seller Policy and Pledge. The policy states that if there is no activity in the previous 3 months, your Watch face seller account will be revoked and the suspension of watch face app sales may be enforced.

[FAQ]
Q: What ‘activity’ means?
A: Whether a new app has been deployed or the existing app has been updated.

Since the Tizen development tool has been broken for past few months, we can’t add or update our watch faces. This mean our account will be suspended soon.

Why is Samsung doing this thing to the developers?

I tried the example on Stack Overflow, does not work.

Here’s my Java path: /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home

So in Tizen Studio Contents/Info.plist, I added in Eclipse key, restart Tizen Studio, result is the same.

<string>-vm</string>
<string>/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java</string>

Hi Thy,

A: This is only for Watch Faces if you have apps they won’t be affected. If you signed the pledge in March you should have been aware of this.

B: This is a warning I believe you have to 10/9 to update it

C: I’m trying to find out if updating the number of devices counts as activity. Go and update some of your watch face apps to add all devices just in case it does.

Un the Tizen Studio infor.plist use the JRE built into Tizen studio not the java path one. If that doesn’t work, You need to open a support request for the Big Sur issue.

Ron
Samsung Developer Program

Hi thanks for reply!

The issue is ALL of our watch faces are apps, so we are aware but we can’t do anything about it since Tizen Studio remains broken for us. Unless what they mean is watch faces created using Galaxy Watch Designer , which we don’t do.

I have already open a request last time as suggested, they give us a potential fix but does not work. I gave a comment here on Oct 10.

HI it is all watch faces. If you have uploaded or updated 2 watch faces in the past 4 months You don’t need to worry but if you haven’t create a support request or mention this in your current request.

I think you should be waivered.

Ron
Samsung Developer Program

Thanks. We do have 2 watch faces updated around June (before we installed Big Sur and lost development capability). One of them (Photo Watch SE) even won an editor choice from Samsung!

We will try our best to get our development up ASAP, but new are not sure we can meet that Oct deadline since Big Sur issue is getting worse in beta 8.

Can you guide me what path to use? Thanks!

I found out they sent this to all Watch Face sellers as a fair warning.

Can you guide me what path to use? Thanks!

This is for Galaxy Watch Studio and Java 8 but you can adapt it to Tizen Studio and the path for theJava JDK . On Windows it is c:\tizen-studio\jdk\bin

On macOS , edit the information property list file:

a. Open a new Finder window and navigate to the Applications folder.

b. Right-click on GalaxyWatchStudio and select Show Package Contents .

c. In the Contents folder, open Info.plist .

d. Locate the Eclipse/array tags that mention the specific version of Java being used.

e. Outside of the comment tags ( ), add the location of your Java executable file (including the absolute path name), using the same format as the text shown inside the comment tags. For example, if you installed Java version 1.8.0_202, add:

-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/bin/java

f. Save the changes to the file.

That should override any setting you have for incorrect Java paths. I looked on the Eclipse discussion and it seemed to be the solution.

Ron
Samsung Developer Program

Isn’t this exactly the same StackOverflow info we discussed on top? I tried it and it does not work.

Did you adjust the string to Tizen Studio jdk?
tizen-studio/jdk/bin/java

I haven’t worked on Macs in 15 years, I’m pretty rusty.

Ron
Samsung Developer Program

Hi, even though I can’t get it to work, I still thank you for your great support.

For the solution above (update info.plist in Contents folder), I tried both tizen-studio/jdk/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java (the Java path in my system, copy from Terminal), both does not work (start up Tizen Studio with no windows shown).

Here’s the screenshot:

Good news, or so I hope

Eclipse Bug report https://bugs.eclipse.org/bugs/show_bug.cgi?id=565913

Scroll down and a solution is…

So I just installed Eclipse Jave EE IDE for Web Developers and changed the plist to -vm/Library/Java/JavaVirtualMachines/adoptopenjdk-11-openj9.jdk/Contents/Home/bin

Read the full bug report I stopped at that solution.

Ron
Samsung Developer Program

Hi, thanks for the feedback.

I don’t have adoptopenjdk-11-openj9.jdk in JavaVirtualMachines folder, only jdk1.8.0_92.jdk - so this probably is the same solution but using another Java VM…

Anyway, since I have filed a report, I did receive a reply from the team before, but the solution does not seem to work. Here’s the reply:

Hi Thye Chean Lim,
Thank you for reaching to us. We really appreciate your concern.

We are already aware regarding this issue. We are communicating with the relevant team regarding it. We will get back to you once we get any update on it.

In the meanwhile, please check if you are using Oracle JDK 8 and set the path of JDK in sdk.info file present in Tizen Studio folder. JDK_PATH= line has to be added in sdk.info file.

After setting the path of JDK, please try to start Tizen Studio again and share your status with us. Looking forward to your cooperation.

Best Regards,
Ummey Habiba Bristy
Samsung Developer Program Team

You can get it here

Ron
Samsung Developer Program

Tried, not working. I am on the edge of giving up on Tizen development.

I got myself another machine running Catalina, install Tizen Studio…fine. But I got problems importing my workspace to that machine (half of my projects shown up). Is this a better route? I might need a lot of help on this too (like certificates, etc) if decided to start from scratch.

It works on Catalina and we can help with the moving to that system.

Ron
Samsung Developer Program

Thanks! If it is OK for you to help me on email, how do I contact you?

I sent you a message you can reply to it.

Ron
Samsung Developer Program