Can I create a lot of instance with the same name?
I have, for a project in my studies, to create a map for an adventure game. I must create monsters on this map. For this I use a class that I called Creature. In my class Map i have to initialise the monsters but I
choose their quantity with Math.random() so I don't know how much the map will contain. If in a loop I do: Creature monster = new Creature(); will I have different instances with the same name(I doubt)? Will I have one monster re-created in each iteration of the loop? How can I do to have different monsters in different places (my map is a matrix 2x2)?
You would have many Creature references made, but only one variable to hold them, and it would go out of scope outside your loop. You could create a Creature array or use a List (both defined outside your loop) - as
// array
int numCreatures = randomGeneratedCreatureQuantity();
Creature[] monsters = new Creature[numCreatures];
for (int j = 0; j < numCreatures; j++) {
monsters[j] = new Creature();
// Or a list
int numCreatures = randomGeneratedCreatureQuantity();
ArrayList monsters = new ArrayList();
for (int j = 0; j < numCreatures; j++) {
monsters.add(new Creature());
}Good luck
Lee
Similar Messages
-
How do you force instances with the same name on the same layer to update?
Maybe someone can tell me why flash doesn’t redraw
components’ x,y positions if they have the same instance name
and are on adjacent frames? (movieclips work fine, just not
components) If I have a button on frame 1 and a button on frame 2
both with the same instance name but different locations on the
stage, frame 2’s button doesn’t show up in the position
I placed it, it stays at the position of frame 1 but still has the
properties of frame 2’s button. The label changes and
everything. If I stick a button on a frame in between and give it a
different instance name there is no problem. I thought it might be
the style manager bug
http://www.gskinner.com/blog/archives/2007/12/cs3_component_b.html
but it didn’t seem to affect. This happens for textareas too
and probably all components although I haven’t tried them.
I’ve tried using drawNow() and validateNow() with no luck
either
http://www.adobe.com/devnet/flash/articles/creating_as3_components_pt3_05.html
Thank you!
// put this on frame 1 along with a button on the stage with
instance name: b
function doit(event) {
if (currentFrame == 1)
gotoAndStop(2);
else
gotoAndStop(1);
b.addEventListener(MouseEvent.CLICK, doit);
stop();
// put another button on frame 2 along with this code and
also make it’s instance name: b but move it so it’s not
in the same x,y coordinates as the button on frame 1
stop();
Something possibly related. I have a movieclip on a layer,
one instance with name “a” on frame 1 and one instance
with name “a” on frame 2 and it has event listeners
inside it that update something on the movieclip. Unless I put the
movieclips on separate layers the event listeners won’t reset
each frame. (example: a button with a tooltip onmouseover that you
want to change the text of from frame 1 to frame 2) You’d
think if they were on separate keyframes at least but no, they need
to be on separate layers too.
I want the movieclip to update each frame. Any ideas?instances (whether components or not) with the same name may
or may not be the same instance. it depends upon how they were
created.
for example, if you create an instance on frame 1 of your
main timeline, give it an instance name and then create a keyframe
on frame 2, the two instances will be the same.
but if you create an instance on frame 1 of your main
timeline, give it an instance name and then create a blank keyframe
on frame2 and create another, what you think is a duplicate,
instance and give it the same name, it will be a different
instance. -
Hi everybody!
I have in a little trouble ....
*** Scenario.
Oracle Enterprise Edition 11gr2 over Oracle Solaris 11
3 instances: PROD, QA, DEV
1 ASM instance
Listener ports: 1520, 1530 & 1540
Those are production system
*** The problem:
Customer can't pay Oracle EE, they want to change to Oracle Std One
Limitations:
I cant have a similar system to test.
*** My idea:
Install Oracle Std One, in the same path:
/u01/app/oracle/product/11.2.0/db <-- EE
/u01/app/oracle/product/11.2.0/db_one <-- Std Ed One
ASM:
/u01/app/11.2.0/grid <-- EE +ASM
/u01/app/11.2.0/grid_one <-- Std Ed One +ASM1
Create databases:
Asign similar disks to +ASM1
Create DGs on +ASM1
Create databases: PROD, QA, DEV for Std Ed one
- is it posible that they have same instance name?
- if not, i suppose create as: PROD1, QA1, DEV1
Configure Listener port : 1521, 1531 & 1541
Migration technique:
Create Tablespaces, schemas
Lock users in EE
down listener: 1520, 1530 & 1540
Import data of final users in a window maintanance
configure and up listener: 1521, 1531 & 1541
Customer should test access and apps in new
Please tell me if my Idea is reallistic, all comments are going to be very apreciated.sol.beach
I suppose end customer use a port per database in order to separate in a logical way the access to the databases,
i mean PROD, QA & DEV has the same users.
Hemant K Chitale
1. I've seen physical servers with 3 ASM instances: +ASM1, +ASM2, +ASM3
on Solaris & Oracle 10g, I suppose is posible on 11g
2. The sever has occupied 2 sockets (2 physical CPU), so I can use Oracle Standard Ed One.
JohnWatson2
Thanks for your comments.
WadhahDaouehi
1. - You cannot run two ASM instance simultaneously on one Server, but you can run many Oracle database simultaneously
on the same server which they use the ASM as storage type.
As a mentioned to Hemant K Chitale, I've seen a system with several instances running
About
"you can run many Oracle database simultaneously on the same server which they use the ASM as storage type."
I'm not sure if i can use the same ASM which is part of a current Enterprise Ed over the new installation with Oracle Std Ed One.
2. - Why you want the same instance name?
If it is about the service name, which has by default the same instance name, just you can create a different instance name
and create the service name with the name that you wish.
SQL> alter system set service_names='instance_name';
Is a similar name, not the same
PROD, QA & DEV
PROD1, QA1 & DEV1
I consider add "1" at the end to refer "Oracle Standar Ed One"
But I agree with you, i can customize throught service_name.
Regards,
Abraham Mtz. -
Creating multiple entries in ztable with the same name
Dear sir / madam,
iam new in sap-abap , i have created ztable in se11, table name zrajesh
and fields i have created zemp_name and zempid which has data element and domain also. and zprice.
when iam creating entries in table mataince generator
eg: zemp_name zempid zprice
rajesh 001 100
raj 002 110
rajesh 001 200
rajesh 001 300
rajesh 001 250
i am looking forward to create multiple entries of the same employ name .. as shown in example . iam able to create numbers of entries with the help of different names. is it possible to create numbers of entries with same name..
and it will show all the entries in the list when display.
please help me..
regards,
rajesh swamihi,
have a look at these tables
VBAK - Header table
VBAP - Item table
here in table VBAK we have a key field VBELN(document no.)
Whereas for the same document no. we can have many entries in the the table VBAP where the key is VBELN(document no.)
and POSNR (line item no.).
You have to do something of this type i suppose ............
Hope it helps you,
Regards,
Abhijit G. Borkar -
Why can't iTunes down load two songs with the same name but different artists to my iPhone?
I noticed this a couple of years ago but had forgotten about it. Today I purchased two songs, both called Bop Gun (One Nation) but by different artists. When I looked at the purchased list on one appears. If I go back to iTunes and download the other one, the former disappears. Are they honestly saying that these phones are intelligent enough to distinguish a song by artist rather than track listing?
Epic Fail!!!Usually a song is uniquely identified by song name, artist, album and track number. That said internally I suspect the iTunes Store may allow one song to appear on more than one album while they only need to store one copy of the audio data. (They must also be able to cope with the situation, for example, where the UK & US version of an album have a different track order). It is also possible there is an error in the database that means you're not getting the song you're expecting. If you can't successfully download the two (presumably) different versions of the song then use the report a problem links in your account history and explain the issue. Hopefully the iTunes Store support staff can get it resolved.
tt2 -
How to differentiate between Radio Buttons with the same name?
My form has two fields, to which I gave the same name ("Radio Button 1.0") in order to achieve mutual exclusivity.
Now, I would like to use JavaScript to retrieve the value of one the two fields:
var checkMark = this.getField("Radio Button1.0");
if (checkMark.value == "Yes") {
Questions:
What is the proper way to inspect the value of a Radio Button? I have tried this:
if (checkMark.value == "No") [...]
but it doesn't seem to work.
How can I tell apart 2 radio buttons with the same name?
TIA,
-RFHWhen Radio Buttons and Check Boxes are unchecked their value is "Off", so if you have "Yes", "No" buttons you will also encounter an 'Off" value. Now if you want to look at a given button, you will have to use the "isBoxChecked(nWidget)" method.
nWidget:
The 0-based index of an individual radiobutton or checkbox widget for this field. The index is determined by the order in which the individual widgets of this field were created (and is unaffected by tab-order).
Every entry in the Fields panel has a suffix giving this index, for example MyField #0.
Returns
true if the specified widget is currently checked, false otherwise.
Example
var f = this.getField("ChkBox");
if(f.isBoxChecked(0))
app.alert("The Box is Checked");
else
app.alert("The Box is not Checked"); -
Reflection Classes with the same name
Hi!
I have a big problem with reflection. I want to reflect lots of stuff (methods, variables...) in a lot of classes with the same name immediately one after the other. It's like
copy the file for the analysis to the right place
do reflection and get results
copy next file for analysis
Important to note is, that all of the files that should be reflected have the same name.
When I run the programm, he always only reflects the first file I gave for analysis, although I know the copying-stuff works and the new file would be there for analysis (but he does not seem to load/use it).
Any ideas what i could do?
Thanks!
ETI'm not sure if i'm authorised to tell too much
details, but i have to do some automated software
analysis and therefore I need to know whats inside of
a class and string search would not be appropriate.Why not ? What aspects of the class are you trying to examine ?
They have the same name, because they are delivered in
that form from a third party and it would be too much
effort (and to much risk of errors) to rename them.Sure, if they're delivered as class files, you're unable to rename them. Without knowing more I can't advise you further.
Why are you interested that much in that topic? Do you
have to perform a similar task?No, I'm trying to determine if reflection is the right tool for the job. Frankly it doesn't sound like it is. But since you're not authorised to tell me more, I can't help you more.
Dave. -
Newbie : How can i create 2 users with the same name on diff domain name ?
I have two domains on my server
exemple1.com
exemple2.com
and i want to create one user for each domain with the same name
[email protected] and [email protected]
curently i can create one user, and it's the same user for both domains :-/
how ?
thanks
HèteI must say. I am equally curious about this. i've played a lot in Communigate and it is easy to do there but how does one do this in apple mail?
-
Wrong error message when two instances with the same PK are created commited
I accedently created two instances with the same pk and I got wrong error.
Took me a while to figure out what's going - I use multiple fields mapped on
the same column a lot but not in this case
kodo.util.FatalUserException: User errors were detected when flushing to the
data store. The getNestedExceptions() method of this exception will return
an array of the specific errors.
NestedThrowables:
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 3", "Small Business Review" This
usually occurs when you map different fields to the same column, but you do
not keep the values of these fields in synch.
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 5", "JOFOC Approved" This
usually occurs when you map different fields to the same column, but you do
not keep the values of these fields in synch.
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 1", "RFC/AP Received" This
usually occurs when you map different fields to the same column, but you do
not keep the values of these fields in synch.
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 4", "JOFOC Submitted for Review"
This usually occurs when you map different fields to the same column, but
you do not keep the values of these fields in synch.
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 6", "FedBizOpps Announcement"
This usually occurs when you map different fields to the same column, but
you do not keep the values of these fields in synch.
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 2", "RFC/AP Approved" This
usually occurs when you map different fields to the same column, but you do
not keep the values of these fields in synch.
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.jav
a:721)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.
java:573)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:63)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:410)
at peacetech.nci.cs.LoadData.loadLookups(LoadData.java:154)
at peacetech.nci.cs.LoadData.main(LoadData.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:75)
NestedThrowablesStackTrace:
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 3", "Small Business Review" This
usually occurs when you map different fields to the same column, but you do
not keep the values of these fields in synch.
at kodo.jdbc.runtime.VRow.setObject(VRow.java:94)
at kodo.jdbc.sql.AbstractRow.setString(AbstractRow.java:316)
at kodo.jdbc.meta.ValueFieldMapping.update(ValueFieldMapping.java:195)
at kodo.jdbc.meta.ColumnFieldMapping.insert(ColumnFieldMapping.java:226)
at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:202)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:89)
at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:480)
at
kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:154)
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.jav
a:705)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.
java:573)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:63)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:410)
at peacetech.nci.cs.LoadData.loadLookups(LoadData.java:154)
at peacetech.nci.cs.LoadData.main(LoadData.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:75)
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 5", "JOFOC Approved" This
usually occurs when you map different fields to the same column, but you do
not keep the values of these fields in synch.
at kodo.jdbc.runtime.VRow.setObject(VRow.java:94)
at kodo.jdbc.sql.AbstractRow.setString(AbstractRow.java:316)
at kodo.jdbc.meta.ValueFieldMapping.update(ValueFieldMapping.java:195)
at kodo.jdbc.meta.ColumnFieldMapping.insert(ColumnFieldMapping.java:226)
at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:202)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:89)
at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:480)
at
kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:154)
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.jav
a:705)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.
java:573)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:63)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:410)
at peacetech.nci.cs.LoadData.loadLookups(LoadData.java:154)
at peacetech.nci.cs.LoadData.main(LoadData.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:75)
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 1", "RFC/AP Received" This
usually occurs when you map different fields to the same column, but you do
not keep the values of these fields in synch.
at kodo.jdbc.runtime.VRow.setObject(VRow.java:94)
at kodo.jdbc.sql.AbstractRow.setString(AbstractRow.java:316)
at kodo.jdbc.meta.ValueFieldMapping.update(ValueFieldMapping.java:195)
at kodo.jdbc.meta.ColumnFieldMapping.insert(ColumnFieldMapping.java:226)
at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:202)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:89)
at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:480)
at
kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:154)
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.jav
a:705)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.
java:573)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:63)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:410)
at peacetech.nci.cs.LoadData.loadLookups(LoadData.java:154)
at peacetech.nci.cs.LoadData.main(LoadData.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:75)
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 4", "JOFOC Submitted for Review"
This usually occurs when you map different fields to the same column, but
you do not keep the values of these fields in synch.
at kodo.jdbc.runtime.VRow.setObject(VRow.java:94)
at kodo.jdbc.sql.AbstractRow.setString(AbstractRow.java:316)
at kodo.jdbc.meta.ValueFieldMapping.update(ValueFieldMapping.java:195)
at kodo.jdbc.meta.ColumnFieldMapping.insert(ColumnFieldMapping.java:226)
at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:202)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:89)
at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:480)
at
kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:154)
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.jav
a:705)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.
java:573)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:63)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:410)
at peacetech.nci.cs.LoadData.loadLookups(LoadData.java:154)
at peacetech.nci.cs.LoadData.main(LoadData.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:75)
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 6", "FedBizOpps Announcement"
This usually occurs when you map different fields to the same column, but
you do not keep the values of these fields in synch.
at kodo.jdbc.runtime.VRow.setObject(VRow.java:94)
at kodo.jdbc.sql.AbstractRow.setString(AbstractRow.java:316)
at kodo.jdbc.meta.ValueFieldMapping.update(ValueFieldMapping.java:195)
at kodo.jdbc.meta.ColumnFieldMapping.insert(ColumnFieldMapping.java:226)
at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:202)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:89)
at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:480)
at
kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:154)
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.jav
a:705)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.
java:573)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:63)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:410)
at peacetech.nci.cs.LoadData.loadLookups(LoadData.java:154)
at peacetech.nci.cs.LoadData.main(LoadData.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:75)
kodo.util.UserException: Attempt to set column "MILESTONE_TYPE.DESCRIPTION"
to two different values: "ContractMilestone 2", "RFC/AP Approved" This
usually occurs when you map different fields to the same column, but you do
not keep the values of these fields in synch.
at kodo.jdbc.runtime.VRow.setObject(VRow.java:94)
at kodo.jdbc.sql.AbstractRow.setString(AbstractRow.java:316)
at kodo.jdbc.meta.ValueFieldMapping.update(ValueFieldMapping.java:195)
at kodo.jdbc.meta.ColumnFieldMapping.insert(ColumnFieldMapping.java:226)
at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:202)
at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:89)
at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:480)
at
kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:154)
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.jav
a:705)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.
java:573)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:63)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:410)
at peacetech.nci.cs.LoadData.loadLookups(LoadData.java:154)
at peacetech.nci.cs.LoadData.main(LoadData.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:75)
Process terminated with exit code 0Thanks for the report. I've recorded the bug here:
http://bugzilla.solarmetric.com/show_bug.cgi?id=705 -
I created my Apple ID in Ireland, but would now like to switch to a German Apple ID, keeping the same email address. How do I delete my old Irish Apple ID, so I can create a new German one with the same email?
Welcome to the Apple Community.
Click on your account name in the top right corner of the iTunes store in the iTunes application on your computer, enter your password and click the "view account" button. Navigate to the Apple ID summary where you have the option to "change country or region".
In order to change your location, you will need a credit card registered to an address in the location you are trying to change to.
You cannot change your location if you have credit on your account, if you are unable to spend your credit and leave a balance of zero, contact Apple, which you can do through iTunes Store Support. -
can i create additional apple id's using the same email address for using multiple products with iCloud?
Hi Anne,
I'm pretty sure different eMail addies are needed for different Apple IDs. -
Bug with workflow that creates a folder and sub folder with the same name.
Hi,
I've found a possible bug in SharePoint 2010 workflows. I only have access to SharePoint 2010 and SharePoint Designer 2010 over my companies intranet, afaik I don't have access to to logs or anything server side so sorry for the any missing information.
I had some problems with a workflow in one list that needed to create some folders and subfolders in a second list. The production version did a lot more so I setup a test area with 1 list and a workflow that only does the folder creation part and have managed
to consistently replicate this problem.
The test list has two columns, [title] and [sub folder title]
The workflow starts by getting the values for [title] and [sub folder title] into variables.
It then creates a folder in the same list with the same name as [title], and then creates a sub folder under this with the name from [sub folder title]
So the resulting structure would be:
Test List:-
List item with fields [title] and [sub folder title]
[folder: title]:-
[folder: sub folder title]
If both folder names are different (e.g Folder1 and Folder2) then it works perfectly fine, if both folder names are the same (regardless of character case, e.g. samefolderName and sameFolderName) then the workflow fails.
As part of the test i made the first action of the workflow to log the message "Workflow Started" to the history list. When the workflow fail there's nothing logged in the history list other than the error: "The workflow could not update the
item, possibly because one or more columns for the item require a different type of information."
Creating a sub folder with the same name as it's parent works fine manually but for some reason a workflow can't seem to do it in one action.
As there's no history list entries before the error it looks like the workflow is just failing to start but if i do something like add an if statement to check if [title] and [sub folder title] are the same, and only create the subfolder when they are not
then it runs fine doing what it's set to.
The function of the workflow in our office was for convenience so were just working without it. Just wanted to post to see if anyone else has come across this/could try to replicate or explain this and see if it's a SharePoint bug or something specific
to our setup.
thanks,
Martinnot sure about the specifics of your workflow, but if you're querying the list for the folders... keep in mind that a list lookup will only ever bring back ONE item... even if there are several items that meet the filter criteria... example: if i search
a list for an item assigned to "john doe", there may be 15 tasks that meet the criteria, and it'll only grab one... this is why SP Designer WARNS you when your list lookup may exhibit this behavior.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
WebLogic Error : Registered more than one instance with the same objectName
HI there, I'm facing a big problem. I have two environments installed on the same physical machine.
I have ALSB and WLI servers running out there.
Environment 1 - WLI port running at 7011 domain name : stp_wli_domain and ALSB port running at 8011 domain name: stp_alsb_homo1 - folders- stp_wli_domain / stp_bea_alsb_homo
Environmnet 2 - WLI port running at 7211 domain name : stp_wli_domain2 and ALSB port tunning at 8211 domain name : stp-alsb_homo2 - folders - stp_wli_domain2 / stp_bea-alsb_homo2
Everything was working fine, but these days I had install new deployments on both environment and I got this error :
java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : stp_wli_domain:ServerRuntime=wli_wls01,Name=stp_wli_domain,Location=wli_wls01,Type=AIRuntime new:com.bea.wlai.management.AIRuntimeMBeanImpl@bcf22dc existing com.bea.wlai.management.AIRuntimeMBeanImpl@de02e6c
The weird is : There is no same object name, as you can see, domains are different, folders are different and ports are diferrent, including multicast addresses.
Have you guys seen this before ?
I'm under pressure here, 'cause some projects had stopped to work.
Please I would appreciate any help.
Tks.
EdsonHI there, thanks for attention..
See ...
There's a lot of confusion with these env's .
I did not built this, so... I'm cleaning my hands.... anyway... :)
I must fix....
Well basically if we have two env's, so we have different project each one right ?
Ok, but I was told that if you have on the same network and same physical machine the name of AdminServer as "AdminServer" in all domains, so it goes with problems... I never heard about it... but is a good practice you put the names for example :
WLI - WLIAdminServer
ALSB - AlsbAdminServer
WLI2 - WLiadminServer2
ALSB2 - ALsbAdminServer2
I would do it.. this way..
But how it wasn't me...
We got..
WLI - WliAdminServer
ALsb - AdminServer
WLI2 - AdminServer
ALsb2 - AdminServer
Have you got it ?
So... I was told that this could be a problem, almost all AdminServers with the same name... guess what ?Some Projects are back to work. but not at all.. only some.. so I 'm breathing better now... but I would like to know if you seen this before ?
I would appreciate your help again.
Unfortunately there's no detailed stack trace to track this
Tks. -
Can i create more than one library on the same computer?
Can I create more than one library on the same computer? Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her. When I deleted my albums from her library the disappeared from mine. (I think?)
pajagsfan wrote:
Can I create more than one library on the same computer? Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her. When I deleted my albums from her library the disappeared from mine. (I think?)
I know it's Valentine's Day, but before you get your wife fixed up the first thing you need to do is recover the deleted albums for your own library. See if the files are elsewhere on your hard drive, or in the Recycle Bin. When you find them, get them back into your own library. Now you are ready to help your wife.
As noted above, you can have two libraries in one Windows user account via the Shift-Start approach, but if you both use your libraries regularly, that becomes annoying quickly. It is better to set her up with her own Windows user account. She can have her own iTunes library there.
Get a copy of your entire iTunes folder to start her off. She can delete stuff she doesn't want without messing you up. -
How can I overwrite a file with the same name in Content DB?
Hi All,
In Content DB if I upload a file with the same name as a previous one, the application shows the warning message:
" ...You cannot upload "XXXXXX.doc" to "Test 1" because an item with the same name already exists ..."
And the alternatives are "Create Version" or "Cancel" the operation. Is there any way to overwrite a previous file as we can do it in Oracle Files ?
Regards
HarveyHi All,
Can anybody from the Content DB product development answer this question?
Regards
Harvey
Maybe you are looking for
-
Is there a way to query another database from the one I am in?
I have 4 company databases setup in SBO, and would like to generate several queries that list inventory on the other company databases, without having to log out or company A, then into company B list to check inventory. I have seen this done before,
-
Lightscribe Drive NO LONGER Being Recognized
I have a Lightscribe drive in my HP P6540F. I used it six months ago successfully, but not since. Now, when I try to use it, my software reports that there is no Lightscribe compatible hard drive to be found. I also happened to have an external Li
-
How do i edit a V21O file in premiere cs3?
hello. i really need some help! been searching on the net but to no avail. I have been sent a couple of dvds from a company with V210 files on them. they are pretty big vido files, around 6gb i need to edit the files in premiere cs3. i have tried ope
-
How do you force a file to be opened by a particular application?
I have come across a brick wall - I have either missed something important, or maybe it is just something in Applescript not working as it should. In our school, we have both Preview and Adobe Reader installed on the student computers, which are bein
-
Problem w/ geting a unique set of records. Too many rows returned
This is a query that is looking at itself for two diff reasons. The d pass is to search the records that are not voided and pass lmc is the records that are the voids. I have to identify the valid recs to be voided and then mark them accordingly but