PDA

View Full Version : [7.0.0: Commercial] Problem running newly generated application "Exception in thread"



ogimenezb
6 Oct 2019, 9:32 PM
Hi,

There is an error, with new generated and also existing projects. Did it with a new generated one so you can reproduce.

This is the problem:



[ext]: [ERR] Exception in thread "Thread-1"
i [ext]: [ERR] java.lang.UnsatisfiedLinkError: phdl.Phdl.IO()Ii [ext]: [ERR] at phdl.Phdl.IO(Native Method) at com.sencha.licenses.update.UpdatePing.initPing(UpdatePing.java:305) at com.sencha.licenses.update.UpdatePing.ping(UpdatePing.java:290) at com.sencha.licenses.update.UpdatePing.pingOnInterval(UpdatePing.java:247) at com.sencha.licenses.update.UpdatePing.run(UpdatePing.java:144) at com.sencha.licenses.update.UpdatePing.pingWithInterval(UpdatePing.java:105) at com.sencha.util.LicenseUtil.verify(LicenseUtil.java:297) at com.sencha.util.LicenseUtil.access$000(LicenseUtil.java:23) at com.sencha.util.LicenseUtil$1.run(LicenseUtil.java:250) at java.lang.Thread.run(Unknown Source)


Details:



H:\test>ext app -i


Sencha ExtGen v7.0.0 Professional Edition - The Ext JS code generator


{ seeDefaults: null,
useDefaults: null,
appName: 'MyExtGenApp',
classic: false,
modern: true,
universal: false,
classicTheme: 'theme-material',
modernTheme: 'theme-material',
templateType: 'make a selection from a list',
template: 'moderndesktop',
templateFolderName: null,
packageName: 'my-app',
version: '0.0.1',
description: 'my-ext-gen-app description for Ext JS app MyExtGenApp',
repositoryURL: 'https://github.com/',
keywords: '"Ext","JS","Sencha","HTML5"',
authorName: 'Sencha, Inc.',
license: 'ISC',
bugsURL: 'https://github.com/',
homepageURL: 'http://www.sencha.com',
createNow: null }
? would you like to see the defaults for package.json? No
? Would you like to create a package.json file with defaults? Yes
{ seeDefaults: false,
useDefaults: true,
appName: 'MyExtGenApp',
classic: false,
modern: true,
universal: false,
classicTheme: 'theme-material',
modernTheme: 'theme-material',
templateType: 'make a selection from a list',
template: 'moderndesktop',
templateFolderName: null,
packageName: 'my-app',
version: '0.0.1',
description: 'my-ext-gen-app description for Ext JS app MyExtGenApp',
repositoryURL: 'https://github.com/',
keywords: '"Ext","JS","Sencha","HTML5"',
authorName: 'Sencha, Inc.',
license: 'ISC',
bugsURL: 'https://github.com/',
homepageURL: 'http://www.sencha.com',
createNow: null }
? What would you like to name your Ext JS app? MyExtGenApp
? What type of Ext JS template do you want? make a selection from a list
? What Ext JS template would you like to use? moderndesktop
Defaults for Ext JS app:
appName: MyExtGenApp
template: moderndesktop
modernTheme: theme-material


Defaults for package.json:
packageName: my-ext-gen-app
version: 0.0.1
description: my-ext-gen-app description for Ext JS app MyExtGenApp
repositoryURL: https://github.com/
keywords: "Ext","JS","Sencha","HTML5"
authorName: Sencha, Inc.
license: ISC
bugsURL: https://github.com/
homepageURL: http://www.sencha.com


? Would you like to generate the Ext JS npm project with above config now? Yes
i [ext]: ext-gen: H:\test/my-ext-gen-app created
i [ext]: ext-gen: package.json created for my-ext-gen-app
i [ext]: ext-gen: webpack.config.js created for my-ext-gen-app
i [ext]: ext-gen: npm install -s started for my-ext-gen-app
i [ext]: activate: @sencha/ext-core v7.0.0.156 installed
package tier: pro
activator name: @sencha/ext-activator package: @sencha/[email protected]
10.07
+ @sencha/[email protected]
added 5 packages from 3 contributors and audited 6 packages in 7.129s
found 0 vulnerabilities


i [ext]: activate: @sencha/ext-modern-theme-base v7.0.0.156 installed
package tier: pro
activator name: @sencha/ext-activator package: @sencha/[email protected]
10.07
+ @sencha/[email protected]
added 5 packages from 3 contributors and audited 6 packages in 6.445s
found 0 vulnerabilities


[INF] Installing Sencha Cmd...
> [platform-installer]: Exited with code 0
i [ext]: activate: @sencha/ext v7.0.0.156 installed
package tier: pro
activator name: @sencha/ext-activator package: @sencha/[email protected]
10.07
+ @sencha/[email protected]
added 5 packages from 3 contributors and audited 6 packages in 6.24s
found 0 vulnerabilities


i [ext]: activate: @sencha/ext-modern v7.0.0.156 installed
package tier: pro
activator name: @sencha/ext-activator package: @sencha/[email protected]
10.07
+ @sencha/[email protected]
added 5 packages from 3 contributors and audited 6 packages in 6.077s
found 0 vulnerabilities


added 806 packages from 437 contributors and audited 15097 packages in 194.473s
found 1 moderate severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
i [ext]: ext-gen: npm install -s completed for my-ext-gen-app
i [ext]: ext-gen: Your Ext JS project is ready


type "cd my-ext-gen-app" then "npm start" or "npm run desktop"
to run the development build and open your new application in a web browser




H:\test>cd my-ext-gen-app


H:\test\my-ext-gen-app>npm start


> [email protected] start H:\test\my-ext-gen-app
> npm run dev:desktop




> [email protected] dev:desktop H:\test\my-ext-gen-app
> webpack-dev-server --env.profile=desktop --env.browser=yes --env.verbose=no


i [ext]: ext-webpack-plugin v7.0.0, Ext JS v7.0.0.156 Commercial Edition, Sencha
Cmd v7.0.0.40, webpack v4.39.3n/a
i [ext]: Starting development build for extjs
i ?wds?: Project is running at http://0.0.0.0:1962/
i ?wds?: webpack output is served from /
i ?wds?: Content not from webpack is served from ./
i ?wds?: 404s will fallback to /index.html
i [ext]: Processing Build Descriptor : desktop (development environment)
i [ext]: [ERR] Exception in thread "Thread-1"
i [ext]: [ERR] java.lang.UnsatisfiedLinkError: phdl.Phdl.IO()I
i [ext]: [ERR] at phdl.Phdl.IO(Native Method) at com.sencha.licenses.update.Up
datePing.initPing(UpdatePing.java:305) at com.sencha.licenses.update.UpdatePing
.ping(UpdatePing.java:290) at com.sencha.licenses.update.UpdatePing.pingOnI
nterval(UpdatePing.java:247) at com.sencha.licenses.update.UpdatePing.run(Upd
atePing.java:144) at com.sencha.licenses.update.UpdatePing.pingWithInterva
l(UpdatePing.java:105) at com.sencha.util.LicenseUtil.verify(LicenseUtil.java:2
97) at com.sencha.util.LicenseUtil.access$000(LicenseUtil.java:23) at com.s
encha.util.LicenseUtil$1.run(LicenseUtil.java:250) at java.lang.Thread.run(
Unknown Source)
i [ext]: Loading compiler context
i [ext]: Loading app json manifest...
i [ext]: Appending content to \generatedFiles\bootstrap.js
i [ext]: Writing content to \generatedFiles\desktop.json
i [ext]: Writing content to \build\temp\development\MyExtGenApp\slicer-temp\boot
strap.json
i [ext]: Writing content to \build\temp\development\MyExtGenApp\slicer-temp\boot
strap.js
i [ext]: Writing content to \build\development\MyExtGenApp\generatedFiles\deskto
p.json
i [ext]: Fashion build complete for \build\temp\development\MyExtGenApp\sass\MyE
xtGenApp-all.scss
i [ext]: Fashion build completed in 6.32 sec.
i [ext]: Appending content to \generatedFiles\bootstrap.js
i [ext]: Writing content to \generatedFiles\desktop.json
i [ext]: Loading Build Environment
i [ext]: Waiting for changes...
i [ext]: Opening browser at http://localhost:1962
i [ext]: Ending development build for extjs
i ?wdm?: Compiled successfully.