java.util.prefs.WindowsPreferences Warning while insertingHTML

Hello,

we are using the DocumentBuiler with insertHtml. While we are inserting the HTML we get this warning:

WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.

You can comprehend the behavior with the following code:

import com.aspose.words.Document;
import com.aspose.words.DocumentBuilder;

/**
 * Created by Alexander.Joerg on 17.06.2016.
 */
public class Application {

    public static void main(String[] args) {

        try {
            Document document = new Document();

            DocumentBuilder documentBuilder = new DocumentBuilder(document);
            documentBuilder.insertHtml(" 
                    Hello World!
                    ");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

We are using Windows 10 64 Bit.
Stacktrace:

C:\mpsDevelop\devtools\jdk\bin\java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:64329,suspend=y,server=n -Dfile.encoding=UTF-8 -classpath "C:\mpsDevelop\devtools\jdk\jre\lib\charsets.jar;C:\mpsDevelop\devtools\jdk\jre\lib\deploy.jar;C:\mpsDevelop\devtools\jdk\jre\lib\javaws.jar;C:\mpsDevelop\devtools\jdk\jre\lib\jce.jar;C:\mpsDevelop\devtools\jdk\jre\lib\jfr.jar;C:\mpsDevelop\devtools\jdk\jre\lib\jfxswt.jar;C:\mpsDevelop\devtools\jdk\jre\lib\jsse.jar;C:\mpsDevelop\devtools\jdk\jre\lib\management-agent.jar;C:\mpsDevelop\devtools\jdk\jre\lib\plugin.jar;C:\mpsDevelop\devtools\jdk\jre\lib\resources.jar;C:\mpsDevelop\devtools\jdk\jre\lib\rt.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\access-bridge-64.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\cldrdata.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\dnsns.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\jaccess.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\jfxrt.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\localedata.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\nashorn.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\sunec.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\sunjce_provider.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\sunmscapi.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\sunpkcs11.jar;C:\mpsDevelop\devtools\jdk\jre\lib\ext\zipfs.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-root\3.8-SNAPSHOT\target\classes;C:\mpsDevelop\workspace\dokumentengenerierung\Doge\database\target\classes;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-database\3.8.77\helix-database-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-wfl-database\3.8.77\helix-wfl-database-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\bas\bas-common-database\3.8-RC-11\bas-common-database-3.8-RC-11.jar;C:\mpsDevelop\data\mavenRepository\com\cg\bas\bas-core-database\3.8-RC-11\bas-core-database-3.8-RC-11.jar;C:\mpsDevelop\data\mavenRepository\com\cg\bas\bas-org-database\3.8-RC-11\bas-org-database-3.8-RC-11.jar;C:\mpsDevelop\data\mavenRepository\com\cg\bas\bas-security-database\3.8-RC-11\bas-security-database-3.8-RC-11.jar;C:\mpsDevelop\workspace\dokumentengenerierung\Doge\api\target\classes;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-wflclient\3.8.77\helix-wflclient-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\org\apache\lucene\lucene-core\4.10.4\lucene-core-4.10.4.jar;C:\mpsDevelop\data\mavenRepository\com\aspose\aspose-words\15.11.0\aspose-words-15.11.0-jdk16.jar;C:\mpsDevelop\data\mavenRepository\javax\media\jai\com.springsource.javax.media.jai.core\1.1.3\com.springsource.javax.media.jai.core-1.1.3.jar;C:\mpsDevelop\data\mavenRepository\javax\media\jai\com.springsource.javax.media.jai.codec\1.1.3\com.springsource.javax.media.jai.codec-1.1.3.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-core\3.8.77\helix-core-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\esotericsoftware\reflectasm\1.11.0\reflectasm-1.11.0.jar;C:\mpsDevelop\data\mavenRepository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-xsd\3.8.77\helix-xsd-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-interfaces\4.25\helix-interfaces-4.25.jar;C:\mpsDevelop\data\mavenRepository\org\perf4j\perf4j\0.9.16\perf4j-0.9.16.jar;C:\mpsDevelop\data\mavenRepository\joda-time\joda-time\2.3\joda-time-2.3.jar;C:\mpsDevelop\data\mavenRepository\org\jdom\jdom\1.1\jdom-1.1.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-core\4.0.9.RELEASE\spring-core-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-context\4.0.9.RELEASE\spring-context-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-expression\4.0.9.RELEASE\spring-expression-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\com\fasterxml\jackson\core\jackson-databind\2.0.5\jackson-databind-2.0.5.jar;C:\mpsDevelop\data\mavenRepository\com\fasterxml\jackson\core\jackson-annotations\2.0.5\jackson-annotations-2.0.5.jar;C:\mpsDevelop\data\mavenRepository\org\apache\commons\commons-math\2.0\commons-math-2.0.jar;C:\mpsDevelop\data\mavenRepository\org\slf4j\slf4j-api\1.7.7\slf4j-api-1.7.7.jar;C:\mpsDevelop\data\mavenRepository\net\sf\ehcache\ehcache\2.7.4\ehcache-2.7.4.jar;C:\mpsDevelop\data\mavenRepository\com\google\guava\guava\16.0.1\guava-16.0.1.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-persistence\3.8.77\helix-persistence-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\mchange\c3p0\0.9.5\c3p0-0.9.5.jar;C:\mpsDevelop\data\mavenRepository\com\mchange\mchange-commons-java\0.2.9\mchange-commons-java-0.2.9.jar;C:\mpsDevelop\data\mavenRepository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-tx\4.0.9.RELEASE\spring-tx-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-aop\4.0.9.RELEASE\spring-aop-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-orm\4.0.9.RELEASE\spring-orm-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-jdbc\4.0.9.RELEASE\spring-jdbc-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\org\hibernate\hibernate-core\4.2.16.Final\hibernate-core-4.2.16.Final.jar;C:\mpsDevelop\data\mavenRepository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\mpsDevelop\data\mavenRepository\org\jboss\logging\jboss-logging\3.1.0.GA\jboss-logging-3.1.0.GA.jar;C:\mpsDevelop\data\mavenRepository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.1_spec\1.0.1.Final\jboss-transaction-api_1.1_spec-1.0.1.Final.jar;C:\mpsDevelop\data\mavenRepository\org\hibernate\javax\persistence\hibernate-jpa-2.0-api\1.0.1.Final\hibernate-jpa-2.0-api-1.0.1.Final.jar;C:\mpsDevelop\data\mavenRepository\org\hibernate\common\hibernate-commons-annotations\4.0.2.Final\hibernate-commons-annotations-4.0.2.Final.jar;C:\mpsDevelop\data\mavenRepository\org\jadira\usertype\usertype.core\3.1.0.CR6\usertype.core-3.1.0.CR6.jar;C:\mpsDevelop\data\mavenRepository\org\jadira\usertype\usertype.spi\3.1.0.CR6\usertype.spi-3.1.0.CR6.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-persistence-orm\3.8.77\helix-persistence-orm-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-mib-server\3.8.77\helix-mib-server-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-mib\3.8.77\helix-mib-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\org\hornetq\hornetq-server\2.3.5.Final\hornetq-server-2.3.5.Final.jar;C:\mpsDevelop\data\mavenRepository\org\hornetq\hornetq-commons\2.3.5.Final\hornetq-commons-2.3.5.Final.jar;C:\mpsDevelop\data\mavenRepository\org\hornetq\hornetq-journal\2.3.5.Final\hornetq-journal-2.3.5.Final.jar;C:\mpsDevelop\data\mavenRepository\io\netty\netty\3.6.6.Final\netty-3.6.6.Final.jar;C:\mpsDevelop\data\mavenRepository\org\hornetq\hornetq-core-client\2.3.5.Final\hornetq-core-client-2.3.5.Final.jar;C:\mpsDevelop\data\mavenRepository\org\jgroups\jgroups\3.2.5.Final\jgroups-3.2.5.Final.jar;C:\mpsDevelop\data\mavenRepository\io\netty\netty-all\4.0.25.Final\netty-all-4.0.25.Final.jar;C:\mpsDevelop\data\mavenRepository\cglib\cglib\3.1\cglib-3.1.jar;C:\mpsDevelop\data\mavenRepository\org\hibernate\hibernate-entitymanager\4.2.16.Final\hibernate-entitymanager-4.2.16.Final.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-repository-view\3.8.77\helix-repository-view-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-service-contextresolution\3.8.77\helix-service-contextresolution-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-service-eventing\3.8.77\helix-service-eventing-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-service-filestorage\3.8.77\helix-service-filestorage-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\commons-fileupload\commons-fileupload\1.3.1\commons-fileupload-1.3.1.jar;C:\mpsDevelop\data\mavenRepository\commons-io\commons-io\2.2\commons-io-2.2.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-service-i18n\3.8.77\helix-service-i18n-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-service-catalog\3.8.77\helix-service-catalog-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-adapter-http\3.8.77\helix-adapter-http-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-web\4.0.9.RELEASE\spring-web-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\javax\servlet\javax.servlet-api\3.0.1\javax.servlet-api-3.0.1.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-service-param\3.8.77\helix-service-param-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-service-persistence\3.8.77\helix-service-persistence-3.8.77.jar;C:\mpsDevelop\data\mavenRepository\com\cg\bas\bas-api\12.1.0\bas-api-12.1.0.jar;C:\mpsDevelop\data\mavenRepository\org\projectlombok\lombok\1.16.4\lombok-1.16.4.jar;C:\mpsDevelop\data\mavenRepository\com\cg\bas\bas-security-client\3.8-RC-11\bas-security-client-3.8-RC-11.jar;C:\mpsDevelop\data\mavenRepository\com\cg\bas\bas-common-impl\3.8-RC-11\bas-common-impl-3.8-RC-11.jar;C:\mpsDevelop\data\mavenRepository\commons-codec\commons-codec\1.8\commons-codec-1.8.jar;C:\mpsDevelop\data\mavenRepository\com\cg\bas\bas-org-client\3.8-RC-11\bas-org-client-3.8-RC-11.jar;C:\mpsDevelop\data\mavenRepository\com\microsoft\sqlserver\sqljdbc\4.0.0\sqljdbc-4.0.0.jar;C:\mpsDevelop\data\mavenRepository\org\apache\commons\commons-jexl\2.1.1\commons-jexl-2.1.1.jar;C:\mpsDevelop\data\mavenRepository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\mpsDevelop\data\mavenRepository\org\slf4j\slf4j-log4j12\1.7.7\slf4j-log4j12-1.7.7.jar;C:\mpsDevelop\data\mavenRepository\org\reflections\reflections\0.9.9-RC1\reflections-0.9.9-RC1.jar;C:\mpsDevelop\data\mavenRepository\org\javassist\javassist\3.18.2-GA\javassist-3.18.2-GA.jar;C:\mpsDevelop\data\mavenRepository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\mpsDevelop\data\mavenRepository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-context-support\4.0.9.RELEASE\spring-context-support-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\org\springframework\spring-beans\4.0.9.RELEASE\spring-beans-4.0.9.RELEASE.jar;C:\mpsDevelop\data\mavenRepository\org\quartz-scheduler\quartz\2.2.1\quartz-2.2.1.jar;C:\mpsDevelop\data\mavenRepository\org\quartz-scheduler\quartz-jobs\2.2.1\quartz-jobs-2.2.1.jar;C:\mpsDevelop\data\mavenRepository\org\jruby\jruby\1.7.20\jruby-1.7.20.jar;C:\mpsDevelop\data\mavenRepository\org\jruby\jruby-core\1.7.20\jruby-core-1.7.20.jar;C:\mpsDevelop\data\mavenRepository\org\ow2\asm\asm-commons\5.0.3\asm-commons-5.0.3.jar;C:\mpsDevelop\data\mavenRepository\org\ow2\asm\asm-tree\5.0.3\asm-tree-5.0.3.jar;C:\mpsDevelop\data\mavenRepository\org\ow2\asm\asm-analysis\5.0.3\asm-analysis-5.0.3.jar;C:\mpsDevelop\data\mavenRepository\org\ow2\asm\asm-util\5.0.3\asm-util-5.0.3.jar;C:\mpsDevelop\data\mavenRepository\org\jruby\joni\joni\2.1.3\joni-2.1.3.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jnr-netdb\1.1.2\jnr-netdb-1.1.2.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jnr-enxio\0.9\jnr-enxio-0.9.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jnr-x86asm\1.0.2\jnr-x86asm-1.0.2.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jnr-unixsocket\0.8\jnr-unixsocket-0.8.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jnr-posix\3.0.12\jnr-posix-3.0.12.jar;C:\mpsDevelop\data\mavenRepository\org\jruby\extras\bytelist\1.0.11\bytelist-1.0.11.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jnr-constants\0.8.7\jnr-constants-0.8.7.jar;C:\mpsDevelop\data\mavenRepository\org\jruby\jcodings\jcodings\1.0.13\jcodings-1.0.13.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jnr-ffi\2.0.3\jnr-ffi-2.0.3.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jffi\1.2.9\jffi-1.2.9.jar;C:\mpsDevelop\data\mavenRepository\com\github\jnr\jffi\1.2.9\jffi-1.2.9-native.jar;C:\mpsDevelop\data\mavenRepository\org\yaml\snakeyaml\1.13\snakeyaml-1.13.jar;C:\mpsDevelop\data\mavenRepository\com\jcraft\jzlib\1.1.3\jzlib-1.1.3.jar;C:\mpsDevelop\data\mavenRepository\com\headius\invokebinder\1.2\invokebinder-1.2.jar;C:\mpsDevelop\data\mavenRepository\com\martiansoftware\nailgun-server\0.9.1\nailgun-server-0.9.1.jar;C:\mpsDevelop\data\mavenRepository\org\jruby\yecht\1.0\yecht-1.0.jar;C:\mpsDevelop\data\mavenRepository\com\headius\options\1.2\options-1.2.jar;C:\mpsDevelop\data\mavenRepository\org\jruby\jruby-stdlib\1.7.20\jruby-stdlib-1.7.20.jar;C:\mpsDevelop\data\mavenRepository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\mpsDevelop\data\mavenRepository\com\fasterxml\jackson\core\jackson-core\2.2.2\jackson-core-2.2.2.jar;C:\mpsDevelop\data\mavenRepository\com\cg\helix\helix-service-lock\3.8.77\helix-service-lock-3.8.77.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1\lib\idea_rt.jar" com.cgm.doge.Application
Connected to the target VM, address: ‘127.0.0.1:64329’, transport: ‘socket’
java.lang.Exception
at java.util.prefs.WindowsPreferences.(WindowsPreferences.java:424)
at java.util.prefs.WindowsPreferences.(WindowsPreferences.java:91)
at java.util.prefs.WindowsPreferencesFactory.userRoot(WindowsPreferencesFactory.java:42)
at java.util.prefs.Preferences.userRoot(Preferences.java:454)
at asposewobfuscated.zzBT.(Unknown Source)
at asposewobfuscated.zzKR.zzZ(Unknown Source)
at asposewobfuscated.zzDL.zzOO(Unknown Source)
at asposewobfuscated.zzTB.zzOV(Unknown Source)
at asposewobfuscated.zzTB.zzOW(Unknown Source)
at asposewobfuscated.zzTB.zzl(Unknown Source)
at asposewobfuscated.zzTB.zzm(Unknown Source)
at asposewobfuscated.zzTB.zzU(Unknown Source)
at asposewobfuscated.zzTB.zzV(Unknown Source)
at com.aspose.words.zzZYG.(Unknown Source)
at com.aspose.words.zzZWP.zzPt(Unknown Source)
at com.aspose.words.zzZX0.zzZ(Unknown Source)
at com.aspose.words.zzZX0.zzY(Unknown Source)
at com.aspose.words.zzZX0.zzZ(Unknown Source)
at com.aspose.words.zzZVG.writeText(Unknown Source)
at com.aspose.words.zzZVG.zzZ(Unknown Source)
at com.aspose.words.zzZVG.zzO(Unknown Source)
at com.aspose.words.zzZVG.zzP(Unknown Source)
at com.aspose.words.zzZVG.zzO(Unknown Source)
at com.aspose.words.zzZVG.zzP(Unknown Source)
at com.aspose.words.zzZVG.zzO(Unknown Source)
at com.aspose.words.zzZVG.zzP(Unknown Source)
at com.aspose.words.zzZVG.zzZ(Unknown Source)
at com.aspose.words.DocumentBuilder.zzZ(Unknown Source)
at com.aspose.words.DocumentBuilder.insertHtml(Unknown Source)
at com.cgm.doge.Application.main(Application.java:17)

The solutions in this post
java.util.prefs.WindowsPreferences warning
was to create a regKey manually, but we don’t want to create a regKey manually.
Thanks for help

Hi Alexander,

Thanks for your inquiry. We have tested the scenario using latest version of Aspose.Words for Java 16.4.0 with Jdk 1.8 (64 bit) and have not found the shared issue. Please use Aspose.Words for Java 16.4.0.

If you still face problem, please share your JDK version along with complete detail of your working environment here for further testing. We will investigate the issue and provide you more information on this.

Hi Tahir,

thanks for your reply. We are using Aspose.Words 16.4.0 with Jdk 1.8 (64 bit), too.

Machine: Windows 10 64 bit
IDE: IntelliJ 2016.1.3

Hi Alexander,

Thanks for sharing the detail. We created a simple Java application with shared code and executed it at Windows 10 (64 bit), Jdk 1.8. We have not faced any issue with Aspose.Words.

It seems that this issue is not related to Aspose.Words. Could you please create new Java application and add reference of only Aspose.Words in it? Execute this application and share if you still face the same issue.

If you are using some other Jar files along with Aspose.Words, please zip them and attach the jar files here for further testing.

Hi Tahir,

I have created a new Project with JDK 1.8 and only Aspose.Words. Maybe your machine got already the key in the registry? If you look at the stack in the first post, it says that there is something called with aspose.

If you want i can send you the whole project but I am thinking that your machine got already the key in the registry.

Greetings
Alexander

Hi Alexander,

Thanks for your inquiry. We have tested this scenario at different systems and have not found this issue. You are creating a new document and inserting simple html using Aspose.Words. There is no issue with this simple code example. Please try the same code example at some other system.

Please check following web links for your kind reference.

Windows registry error: Could not open/create prefs root node
Windows RegCreateKeyEx(...) returned error code 5
Groovy Shell warning “Could not open/create prefs root node …”

Hi Tahir,

we have run this issue on three machines (2x Windows 10 64 Bit, 1x Windows 7 64 Bit) and all machines got this warning.

Maybe your machines have the regKey, or your user got the permission to create the key?

Hi Alexander,

Thanks for your inquiry. We are setting up separate system for this scenario. We will remove all JavaSoft\Prefs keys from the system and test this issue. We will share our findings here for your reference.

Hi Alexander,

Thanks for your patience. We have tested the scenario at Windows 10 using IntelliJ with Jdk 1.8 and have managed to reproduce the warning issue. However, we have not found any other exception at our side. See the attached image for detail. For the sake of correction, we have logged this problem in our issue tracking system as WORDSJAVA-1389. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Alexander,

Thanks for your patience. It is to inform you that our product team has completed the work on issue (WORDSJAVA-1389) and has come to a conclusion that this issue and the undesired behavior you’re observing is actually not a bug in Aspose.Words. So, we are closing this issue as ‘Not a Bug’.

Aspose.Words reads Windows Registry to get all font file names registered in Windows. The Warning is old known Java/Windows bug - some JRE on some Windows by default hasn’t enough access right to read registry. You will get thousands complaints if google warning text.

Please let us know if you have any more queries.