Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
WebCreep
Posts: 236
Registered: ‎07-27-2012
My Device: BlaclBerry PlayBook 16gb, BlackBerry dev alpha
My Carrier: Airtel
Accepted Solution

Error: Cannot open file: 1

[INFO]              Parsing command line options
[INFO]              Parsing bbwp.properties
[INFO]              Validating WebWorks archive
[INFO]              Parsing config.xml
[INFO]              Populating application source
[INFO]              Compiling WebWorks application
[INFO]              Packaging the bar file
Error: Cannot open file: 1

Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: Error: Cannot open file: 1

i feel It is not able to upon you zip file folder. Check with that 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.
Developer
WebCreep
Posts: 236
Registered: ‎07-27-2012
My Device: BlaclBerry PlayBook 16gb, BlackBerry dev alpha
My Carrier: Airtel

Re: Error: Cannot open file: 1

No zip file is correct i dont know why this is happening
Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: Error: Cannot open file: 1

Please share log file.

 I was getting this type of issue and at that time my zip file was causing this issue 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Error: Cannot open file: 1

Do the ZIP or BAR files already exist?  If there is a permission error where the SDK cannot overwrite these files, it may generate a similar error.  Check the output location of your build step and confirm that there are no file conflicts there.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Developer
WebCreep
Posts: 236
Registered: ‎07-27-2012
My Device: BlaclBerry PlayBook 16gb, BlackBerry dev alpha
My Carrier: Airtel

Re: Error: Cannot open file: 1

Once i restarted my machine it worked.. But i dint knew why that error occured
Please use plain text.