8 Replies Latest reply: May 7, 2014 2:31 PM by 283d5d4d-5429-4405-8688-db6ae4fc5015 RSS

    error  during installing imlet

    283d5d4d-5429-4405-8688-db6ae4fc5015

      Hi,
      when i am installing application, i receive error: "error reading policy file". Can u advice, how to solve this?

        • 1. Re: error  during installing imlet
          terrencebarr

          Where are you installing the application (Windows device emulation, RasPi, Qualcomm IoE board)? Can you provide the device log?

           

          Best,

          -- Terrence

          • 2. Re: error  during installing imlet
            283d5d4d-5429-4405-8688-db6ae4fc5015

            1)Windows device emulator.
            2)Log:

            [23:39:46.897]   INFO - lkit.bootstrap.DeployerManager - Registering custom property editors

            [23:39:46.927]   INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module object-server

            [23:39:46.940]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...

            [23:39:46.941]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...

            [23:39:46.941]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...

            [23:39:46.942]   INFO - bootstrap.ObjectGraphProcessor - Calculated order

            [23:39:46.973]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...

            [23:39:46.973]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N

            [23:39:46.974]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects

            [23:39:46.974]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...

            [23:39:46.975]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...

            [23:39:46.987]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started

            [23:39:46.991]   INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module devices/EmbeddedDevice

            [23:39:47.022]   WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .file

            [23:39:47.023]   WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .bound-classes

            [23:39:47.035]   WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .file

            [23:39:47.037]   WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .bound-classes

            [23:39:47.241]   INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...

            [23:39:47.243]   INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...

            [23:39:47.243]   INFO - bootstrap.ObjectGraphProcessor - Calculating order...

            [23:39:47.251]   INFO - bootstrap.ObjectGraphProcessor - Calculated order

            [23:39:48.913]   INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...

            [23:39:49.587]   INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N

            [23:39:49.589]   INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects

            [23:39:49.589]   INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...

            [23:39:49.714]   INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...

            [23:39:52.270]   INFO - n.kvem.location.LocationBridge - Location dir contents: [Ljava.io.File;@3dc82c

            [23:39:52.270]   INFO - n.kvem.location.LocationBridge - LandmarkStore names java.util.Collections$EmptyEnumeration@7d605

            [23:39:52.270]   INFO - n.kvem.location.LocationBridge - Landmark stores:

            [23:39:52.270]   INFO - n.kvem.location.LocationBridge - Get categories from store: null

            [23:39:52.273]   INFO - n.kvem.location.LocationBridge - Read Default LandmarkStore from: C:\Users\Александр\.\javame-sdk\8.0\work\EmbeddedDevice1\appdb\location\default\_default.lms

            [23:39:52.274]   INFO - n.kvem.location.LocationBridge - Default LandmarkStore:com.sun.kvem.location.LandmarkDB@1dd8394

            [23:39:52.274]   INFO - n.kvem.location.LocationBridge - LandmarkStore: com.sun.kvem.location.LandmarkDB@1dd8394

            [23:39:52.274]   INFO - n.kvem.location.LocationBridge - Concatinated categories:

            [23:39:52.339]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1

            [23:39:52.343]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2

            [23:39:52.345]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 3

            [23:39:52.346]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 4

            [23:39:52.348]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 5

            [23:39:52.349]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 6

            [23:39:52.533]   INFO - .rmiimpl.RemotingConnectorImpl - Starting JMX connector on service:jmx:rmi:///jndi/rmi://127.0.0.1:60539/device-0

            [23:39:54.869]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1

            [23:39:54.879]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2

            [23:39:55.233]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1

            [23:39:55.237]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2

            [23:39:55.240]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 3

            [23:39:55.242]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 4

            [23:39:55.244]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 5

            [23:39:55.246]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 6

            [23:39:55.439]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1

            [23:39:55.444]   INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2

            [23:39:56.573]   INFO -                             VM - [CORE] iso=0:javanotify_set_vm_args() >>

            [23:39:56.574]   INFO -                             VM -

            [23:39:56.574]   INFO -                             VM - [CORE] iso=0:javanotify_start() >>

            [23:39:56.574]   INFO -                             VM -

            [23:39:56.652]   INFO - toolkit.ui.actions.AmsExecImpl - Proxy connected. isNetworkMonitorSupported = false

            [23:39:56.991]   INFO - un.jme.toolkit.bootstrap.Batch - Objects started

            [23:39:59.661]  FATAL -                             VM - [SECURITY] iso=1:Error reading policy file

            [23:39:59.661]  ERROR -                             VM - [AMS] iso=1:InstallCommand: an error while installing the suite: java.lang.RuntimeException: Error reading policy file

            [23:39:59.673]  FATAL - lkit.ui.actions.AmsExecInstall - Unknown error: java.lang.RuntimeException: Error reading policy file

            • 3. Re: error  during installing imlet
              Andrey.P-Oracle

              Hi Alexander,

               

              Apparently you've found a bug in the Java ME. It does not get along well with cyrillic letters in the file path of the SDK work dir. And as a work-around I can only suggest to change the windows user name so that it only contains latin letter

               

              Regards,

              Andrey

              • 4. Re: error  during installing imlet
                283d5d4d-5429-4405-8688-db6ae4fc5015

                I have changed name to English, also check path to my project and sdk contains no cyriliic letters. Doesn't help.  Any other suggestions?

                • 7. Re: error  during installing imlet
                  Andrey.P-Oracle

                  Ah, one more question. If you only changed the name of the user vs creating a different one it would not help as windows does not rename your home dir. Could you please verify? You can tell from the log what's the path for SDK workdir: e.g. "Read Default LandmarkStore from: C:\Users\Александр\.\javame-sdk\8.0\work\EmbeddedDevice1\appdb\location\default\_default.lms"

                  • 8. Re: error  during installing imlet
                    283d5d4d-5429-4405-8688-db6ae4fc5015

                    U are right, thank u. Create new user, reinstall netbeans, sdk - helps.